688206002
10-22-2004, 03:59 AM
Okay, there's 3 components to this, and this only works with IE-compatible browsers (remember this!!!) It requires no images though. This can be made to look like some flash rollover menu (transition effect) if you tweak the style sheet a bit.
Component 1:
In the head section of the page, insert:
<script type="text/javascript">
<!--
function lite(obj) {
if(document.all&&!window.opera) {
obj.filters.blendTrans.apply();
obj.filters.blendTrans.play();
}
}
-->
</script>
Component 2:
Create a div section with an unordered list menu:
<div id="menu1">
<ul>
<li><a href="index.php" onmouseover="lite(this)" onmouseout="lite(this)">Home</a></li>
<li><a href="crew.php" onmouseover="lite(this)" onmouseout="lite(this)">Crew Info</a></li>
</ul>
</div>
Make sure that you have:
onmouseover="lite(this)" onmouseout="lite(this)"
in the link tags that you wish for this effect to apply to.
Component 3:
In the style sheet, make a link section for the list:
#menu1 li a:link, #menu1 li a:visited{
display: block; width:134px; padding: 2px 2px 2px 10px; border: 1px solid #E0E0E0; background:#E0E0E0 text-decoration: none; filter:blendTrans(duration=0.5)
}
The filter part is really the important part... it states the duration of the transtion in seconds... for this case, it is 0.5 second
Enjoy!
Component 1:
In the head section of the page, insert:
<script type="text/javascript">
<!--
function lite(obj) {
if(document.all&&!window.opera) {
obj.filters.blendTrans.apply();
obj.filters.blendTrans.play();
}
}
-->
</script>
Component 2:
Create a div section with an unordered list menu:
<div id="menu1">
<ul>
<li><a href="index.php" onmouseover="lite(this)" onmouseout="lite(this)">Home</a></li>
<li><a href="crew.php" onmouseover="lite(this)" onmouseout="lite(this)">Crew Info</a></li>
</ul>
</div>
Make sure that you have:
onmouseover="lite(this)" onmouseout="lite(this)"
in the link tags that you wish for this effect to apply to.
Component 3:
In the style sheet, make a link section for the list:
#menu1 li a:link, #menu1 li a:visited{
display: block; width:134px; padding: 2px 2px 2px 10px; border: 1px solid #E0E0E0; background:#E0E0E0 text-decoration: none; filter:blendTrans(duration=0.5)
}
The filter part is really the important part... it states the duration of the transtion in seconds... for this case, it is 0.5 second
Enjoy!