Melissa wrote:
> Okay. I have refrained from posting and tried everything I know of and have
> read about on previous posts to make this work, but nothing is working. I am
> using the latest csshover.htc which is Version 1.42.060206 to make the drop
> down menus work in IE. As I began to populate pages of the site (some of
> which live in sub folders for organization purposes) I noticed that the drop
> down menus do not work in IE on pages that are located in sub folders and
> not on the root level of the site. I have tried absolute paths, relative
> paths . . Basically whatever I have gotten my hands on, I have tried it. The
> real kicker is that this is not a problem in IE/7, but it is a problem in
> IE/6 which I still have to accommodate for.
>
> Here is my css where the csshover.htc file is located.
>
> body {
>
> background-image: url(../images/background3.gif);
>
> margin-top: 11px;
>
> background-repeat: repeat-x;
>
> background-color: #0067B1;/*ku blue*/
>
> margin-left: 0px;
>
> behavior: url(csshover.htc);
>
> }
>
> Here is the url of an shtml page that is stored several folders deep on the
> site and the drop downs do not work in IE/6.
>
> http://www2test.ku.edu/~kueafin/campuses_hospital/med_center_kc/index.shtml
First of all, does the file exist somewhere? I don't see it under any of
those directories.
Secondly, your problem lies in the fact that you're not giving the
absolute path to the csshover.htc file. I gather that it was working
only for those files which reside in the same directory as csshover.htc.
I usually create am includes directory at the document root, with
another dir inside that for JS, CSS, etc. So, my CS rule would look like:
behavior: url("/includes/js/csshover.htc");
That way, no matter where a page sits in my site structure, the htc file
may be found.
HOWEVER, i see that your test setup is under a homedir (~kueafin). In
this case, you may need to do some more work (say, with mod_rewrite) in
order to get that working properly for you.
brian
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/