Viewpoint Forums
Viewpoint Forums
Viewpoint Media Player Support
div in netscape|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Could anybody tell me how I can fix the following problem?
With the new mediapublish, vmp is the global variable for the VET content. But when I put the script "vmp=new MTSPlugin..." in the div, the content can be shown in IE5 and cannot in netscape 4.x. After I change the script "vmp=new MTS..." into "<object>...<embed>...", both IE5 and Netscape4.x can display the content in the div. |
||
|
|
Member |
sorry, I typed "GT" (greater than) and LT (less than) in the object and embed, so it dispeared in the above message.
what i means is when i change "vmp=new MTSPlugin..." into regular OBJECT or EMBED tag, then the content can be displayed when it included in the div tag in both IE and Netscape. |
|||
|
|
Member |
Hi HXH,
That's because DIV tags are an Internet Explorer invention and are not officially supported by Netscape. You may get some kind of support but it's not to be relied upon. The Netscape equivalent of the DIV tag is the LAYER tag. This means that you need to differentiate between IE and Netscape in your HTML and decide whether to use the DIV tag or the LAYER tag for the current user. The way you do that is to test isIE and document.write either DIV or LAYER tags. Here's an example of doing that: http://cole.viewpoint.com/~ddavies/snowing/index.html Replace index.html with index.zip to download the whole scene. -Derek |
|||
|
|
Member |
Thanks, it works.
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

