Word Press Blog Programming Help

billyh7

Junior Member
Joined
Dec 18, 2008
Messages
162
Reaction score
3
On my blog I have my main tool bar and it has 5 categories across the top


This is how its programmed

<li class="page_item page-item-4"><a href="http://www.mysite.com/cat3" title="cat3">cat3s</a></li>

I want to make sub categories off this so when you scroll over cat3 a sub menu pops up with 4 choices that go to 4 other pages in my blog.

I've tried everything. What is the proper coding to do this???

PLEASE HELP....
 
On my blog I have my main tool bar and it has 5 categories across the top


This is how its programmed

<li class="page_item page-item-4"><a href="http://www.mysite.com/cat3" title="cat3">cat3s</a></li>

I want to make sub categories off this so when you scroll over cat3 a sub menu pops up with 4 choices that go to 4 other pages in my blog.

I've tried everything. What is the proper coding to do this???

PLEASE HELP....

I think you need JavaScript to do that.

To get one, just look for a web page with the particular feature you're looking for. Then, look at the source. If the JavaScript code is embedded on the page, you can just copy it. If it's hosted on the server, just get the link (it is .js file) and put the address on your browser.
 
Defintely js is needed for this.

Check out the mimbo wordpress theme. They have the exact thing you are looking for. Maybe download this theme, and get the code from it.
 
So i just need a java script plug in and then I can add sub menus??
 
So i just need a java script plug in and then I can add sub menus??

No plug-in needed for users. JavaScript is a client-side script. You just need to enable it in your browser.

But you need to put the JavaScript files in your server together with your web page or PHP scripts. You can also embed them with the HTML file, but better to keep them in separate .js files.

As mbceo mentioned, you can just download a theme with some feature you want and just get the JavaScript from there.
 
Last edited:
If you want to add it to your current theme you can check out this jquery plugin

Code:
http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_horizontal_blue/
 
Back
Top