timmyb wrote:
Hi Stephen,
>An addition to the image problem, there are two issues with your navigation
bar that you might want to correct. In Firefox the 'Gallery' link only
displays the rollover colour when the mouse if over its top half.
I don't follow what you mean. I don't see a difference between FF and
IE7 in how the menu/submenu behaves. I am using FF v. 2.0.0.7 to test.
In IE6
>the gallery submenu doesn't show up at all.
Not good. Any idea why that might be? :
Yep. As you know MSIE does not support :hover on element other than A
with HREF attributes, i.e., links. So you are using a csshover.htc
You csshover.htc does seem to work for MSIE6 and a bit complicated. I
have a much simpler htc solution your can see at:
http://www.littleworksstudio.com/Amberlithe/profiles
Amberlithe Ibizan Hounds Dog Profiles
Where I use in on the left-hand Profile Index menu. The hover is on a DIV
all you have to do is as a special class named 'hover' for what ever
your have a hover on.
From the modern browser version:
li.special:hover {...}
to add MSIE support:
li.special:hover,
li.special.hover {...}
then attach the HTC:
li.special { behavior: url(IEFixes.htc); }
Here is IEFixes.htc:
//--------------------------start cut --------------------
<public:component>
// For MSIE use JScript to attach JS functions to compensate
// for missing pseudo-class support
// from Vladdy
http://www.vladdy.net/Demos/IEPseudoClassesFix.html
// updated for html4.01 jnl 3/06
<public:attach event="onmouseover" onevent="DoHover()">
<public:attach event="onmouseout" onevent="RestoreHover()">
<public:attach event="onmousedown" onevent="DoActive()">
<public:attach event="onmouseup" onevent="RestoreActive()">
<script type="text/jscript">
function DoHover(){
element.className += ' hover';
}
function DoActive(){
element.className += ' active';
}
function RestoreHover(){
element.className = element.className.replace(/\shover\b/,'');
}
function RestoreActive(){
element.className = element.className.replace(/\sactive\b/,'');
}
</script>
</public:component>
//-------------------------- end cut ---------------------
I don't have IE6 handy, but
will later on today.
Well why don't you install it? I have version 4-7 installed. Unless you
have Vista.
http://browsers.evolt.org/
evolt.org - Browser Archive
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com