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!

Problem with <SPAN> for Explorer6.0

Status
Not open for further replies.

vovan1415

Programmer
Dec 6, 2001
50
US
Hello,
I have a problem using
<SPAN> tag for Explorer6.0
to open pop-up window(it opens at the top of page)
but it works for Explorer5.5

Here is a code:
--------------------------------------

<script language=&quot;Javascript&quot;>
...
function reveal(menu) {
if (menu == 'imprintinfo'){
daMenu.top = popup_top - 100
}else {
daMenu.top = popup_top - 200
}
daMenu.left = 200
daMenu.visibility = visible;
}
</script>
...........
<SPAN ID=&quot;moreinfo&quot; class=&quot;infocolor&quot;>....</SPAN>
......
<DIV class=&quot;redcolor&quot;>TEXT...<A HREF=&quot;javascript:void(0);&quot; onClick=&quot;reveal('moreinfo')&quot; >Click Here for more information.</A></DIV>
-------------------------------
In CSS i have a class:

#moreinfo {
background-color: #FFFFFF; border-style:solid; border-color: #FF0000;
position:absolute; visibility:hidden; z-index:20; layer-background-color:#FFFFFF }

again it works for Explorer5.5 (window is in right position)
but does not for Explorer6.0

Please, help.

 
How different is it - like only a couple of pixels?
 
It opens window at the top of page instead of appearing
just above a hyperlink.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top