Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
Layerdata position in firefox|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
I need a layer to show up on the bottom right or bottom left of the screen in viewpoint. What happens though is I'm able to make that happen in IE6 but not in firefox
|
||
|
|
EnIgMaTiCScOrPioN Member |
Hi !!
Did you try changing the DPIN property of the LayerData? What exactly happens in Firefox? Also, please use the latest MTS3interface.js which works for Firefox. Cheers, Anup |
|||
|
|
Member |
yes i'm using the new MTSInterface
the layer won't show up in firefox, but in IE6 it shows up right on the bottom left here's my code <MTSInstance Name="layer1" Collapsed="1" RenderLayer="-5000" Opacity="0" > <LayerData Texture="MTSTexture.texture1" TextColor="0.000000 0.000000 0.000000" Radius="1" ShadowRadius="0" Name="data1" DstPin="0 1" AnchorWidget="1" WidgetLine="0" SrcPin="0 1" SrcPinRel="1" DstPinRel="1" AlwaysVisible="1" HitTestAlpha="0" /> </MTSInstance> |
|||
|
|
EnIgMaTiCScOrPioN Member |
Hi !!
Works good for me. What is the firefox version? I checked in 1.5 Try the following: 1) Uncollapse the parent instance and change its opacity to 1. 2) TextColor code is not required for a texture unless you are writing a text. 3) Check whether the texture has been declared in the MTX file. Hope this helps. Cheers, Anup |
|||
|
|
Member |
Yes, texture has been declared, even after uncollapsing and setting opacity to 1 i still can't see it.. I have firefox 1.5 as well.
Just as a note, if i have it on the top left it'll work fine, just the bottom corners can't be done |
|||
|
|
Member |
Ah nevermind...it ended up being a stylesheet error that firefox didn't like very much..
Fixed though, thanks again for the help |
|||
|
|
Member |
If anyone knows the answer to this i'd appreciate it very much...
Anyone know why if you put the mtx as 100% of the webpage but have some sort of HTML table on the bottom of the page, FIREFOX has it so the mtx scene never goes past that table, where in IE6 the mtx scene layer goes right over the html table... here's what i have so far: vmp = new MTSPlugin("xxx.mtx", "100%", "100%", "broadcastkey.mtx", "classic", "ContentType=1"); <table id="TableControls" style="position:absolute;left:0;bottom:0;z-index:2" width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"> <tr> <td background="left.gif"><img width="1" height="115"></td> </tr> </table> Thanks |
|||
|
|
Member |
Hello,
we are not sure why this is happening, but if you tell me what you are trying to achieve, we may be able to come up with a workaround. |
|||
|
|
Member |
I've been reading up on IE6 vs firefox and it seems as though IE6 has layering issues that i'm trying to work around.
All i want is for the viewpoint animation to be at 100% of the window. But i also want to have like a toolbar on either the side or the bottom kind of how the windows toolbar is, with various images or text. Just as a test I tried to put a table at the bottom of the viewpoint animation. This works fine in both browsers however when I use the CSS style sheet to make the overflow hidden, then in firefox the table will stay at the bottom of the webpage and just be layered over the animation whereas in IE6 the table will either not appear or be almost erased away when i move the animation over it. I need the tables position to be absolute, and i figured if i gave it a higher z-index than the relative position of the animation then things would work out. however i'm still trying to figure out how to make it work in IE6 |
|||
|
|
Member |
If I'm understanding what you want to do, you want to have a VET animation go over a table on a page or not? If yes, did you try putting the VMP in a div over the table? Or does this table have buttons/links in it that need to be clickable? In that case putting the VET scene in a div layer over it would probably block any clickable links/buttons you have in the table.
If you don't necessarily need the VET animation going over the table, did you try putting the table in a div layer over the VET scene? |
|||
|
|
Member |
I have a sample here that should help demonstrate more what i'm talking about. If seen in firefox it'll work fine, in IE6 the animation will go over the table layer.
sample.zip (410 KB, 6 downloads) |
|||
|
|
EnIgMaTiCScOrPioN Member |
Hi !!
I made the following changes: 1) The body of the HTML should have all margins as 0. This will get the table to 0,0. 2) The MAIN table should not have absolute position. It should have width and height as 100%. 3) The MAIN table will have two rows. 4) The FIRST ROW will have the Viewpoint content. The height and width of the row should be 100%. 5) The SECOND ROW will be have valign="BOTTOM" and this table will again contain a TABLE which will have your Flash Controls. Take a look at the attached updated HTML for more details. Hope this helps. Cheers, Anup updated_sample_anup.zip (410 KB, 6 downloads) |
|||
|
|
Member |
Ah thanks for working out a fix, but unfortunately i need to be able to hide the controls, kind of like the task bar in windows.
|
|||
|
|
EnIgMaTiCScOrPioN Member |
Hi !!
Here you go. See attached file. Look at the buttons at the bottom of the HTML page. Hope this is what you are looking for. Cheers, Anup updated_sample_anup_2.zip (410 KB, 6 downloads) |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint Tips, Tricks & Hacks
Layerdata position in firefox
