Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHTML & Flash DIV problem in NS6

Status
Not open for further replies.

Zenwunien

Programmer
Apr 18, 2002
5
RO
I have inserted a Flash swf in <div></div> and treat it as a DHTML object within a JavaScript 1.2 rollover, together with some other ordinary gifs (build with a makeObject function).

That script appeals the visibility CSS propertiy (hidden/visible) after a browser check.

Without that swf, the rollover works fine whichever browser is.

When insert the swf, it works ok in IE4, 5 and 6, but there is a strange bug in NS6:
1. it looks like the swf does not want to respect the CSS positioning(there is a larger layer beyond the swf, larger than the swf or CSS style defined) and

2 does not respect the visibility when rollover (does not swich visible/hidden when rollover other objects)

the tags are something like:

<div id=&quot;divIn&quot;><OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot; ID=flash WIDTH=236 HEIGHT=46>
<PARAM NAME=movie VALUE=&quot;swi/intro.swf&quot;>
<PARAM NAME=quality VALUE=high>
<EMBED src=&quot;swi/intro.swf&quot; quality=high bgcolor=#FFFFFF
WIDTH=336 HEIGHT=46 TYPE=&quot;application/x-shockwave-flash&quot;
PLUGINSPAGE=&quot; </EMBED>
</OBJECT></div>

Next there are some other ordinari DIV's with gifs and text
When roll over one of the other gifs it suppose to &quot;hidden&quot; the sfw and &quot;visible&quot; some other text positioned in the same position as the swf is.

The style of the ID is settled by a CSS.

Does anyone knows why NS6 do that? For a while you may see the whole problem at
 

<td background=&quot;images/bg_main.jpg&quot;><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</td>



????????? someone knowledge ends where
someone else knowledge starts
 
>> NEVERSLEEP Obviously those <br><br>... keep the heigh of the table as it is empty (i chosed not to insert DIV's in the table from some reasons), 'cause that main.html is the main frame in index.html, and it shoud have a certain heigh, what is so phoney?

But this is not the point I have asked help for. I was wondering about a rollover problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top