That would probably do the trick though I was hoping to have something like below.
<div id="div1" style="height:200px;width:
<div id="div2" style="height:200px;width:
#Div1 stays visible until user rollover it and then #Div2 fades in over the top. At this particular point your version will work as I don't need to change the contents of the DIV however the idea above means in the future I can have the rollover actually change what appears in the DIV as it is a new DIV over the top.
Did that make any sense, I think I've confused myself. :-)
Main Topics
Browse All Topics





by: quincydudePosted on 2008-11-13 at 19:40:45ID: 22957111
For the rollover thing, do you mean you have some links and when people hover on each and a DIV in the page will has it's style changed?
;">toSomeSt yle</a>
say the div is like <div id="sample">
and on the link you can have something like
<a href="#" onmouseover="toSomeStyle()
and the script setting style of the div sample like
Select allOpen in new window