<?php $display_categories = array(10,394,15,955,13,4,14,16,6,5); $i = 1;
foreach ($display_categories as $category) { ?>
<div id=”cat-<?php echo $i; ?>” class=”category”>
<?php query_posts(“showposts=1&cat=$category”)?>
<span class=”cat_title”>”><?php single_cat_title(); ?></span>
“><?php echo category_description($category); ?>
]]>I am having trouble getting the drop down menu working in IE its works in safari and FF, but in IE it is appearing under the menu not hidden
here is the link to the site below any suggestions what i should be looking for???
https://www.regulationworks.com/
Thanks Ben..
]]>Thanks,
Richie
]]>https://www.biblestory.net
]]>(fyi – I did try to register in the quirm support forum, but I am not receiving my confirmation emails. I sent an email to the board administrator about this issue, but would really like to find a solution to this problem and post it publicly just in case someone else has the same issues.)
I am trying to install eShop on a blog with light css drop down menus. These are not powered by a plugin, I coded them using bits and pieces of the suckerfish drop downs. It mainly uses css, but does use a snippet of javascript in order to function in beloved IE 6. I have tried seeing if it is a javascript conflict as well as a css conflict, and I just can’t seem to figure it out. What happens is it only displays the parent pages, but will not drop down the child pages. So, its not totally disabling the wp_list_pages structure, but just the sfHover function.
I really do appreciate this plugin and I recommend it very highly. If I can get it to work well with the css drop downs, I will be estatic!!
Here is the blog I am wanting to use it with www.jimmievanzantmusic.net and below is my code to power the menus. Due to the interference, I do not have eShop activated at this time. Thanks for your time and the wonderful coding work you do!
Javascript snippet located in head tag to please IE6:
<script language="javascript" type="text/javascript" >
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
Call to list pages in header php
<ul id="nav">
<div id="toolbar"><?php wp_list_pages('title_li='); ?>
</ul>
I don’t want to annoy anyone by pasting all of the css for the menu — but obviously you can see it uses the #nav and #toolbar IDs.
]]>