Log in

View Full Version : Right Dropdown menu Issue



bbilal
08-15-2010, 05:05 AM
Okay guys. Let me tell you my problem. I'm working on a wordpress and I've customized a list menu this is this coding.
sidebar.php

<div class="mlmenu apple blindv delay inaccesible">
<ul>
<?php wp_list_categories('include=3&title_li='); ?>
</ul>
</div>
style.css

.apple ul { width: 160px; border-top: 1px solid #e6e6e6; }
.apple li a { display: block; background: #f9fafa url(images/appleinc.png) no-repeat 2px 6px; width: 131px; padding: 9px 13px 9px 20px; text-decoration: none; font-size: 1em; font-weight: bold; color: #222; border-left: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; }
.apple li a:hover { color: #16387c; text-decoration: none; }
.apple li { display: inline; }
.apple li ul { position: absolute; margin: -31px 0px 0px 159px; }

So what I want is the right drop down menu on ho-over, something like this: http://www.alistapart.com/d/horizdropdowns/horizontal.htm keeping my own style class.
I don't know if the css is okay and if I have to add something in PHP or file or if CSS need to be modified with PHP. I'm pretty new in this field. Can someone help me here? It will be much much much appreciated!

Beverleyh
08-16-2010, 08:23 AM
You'd need to use javascript to recreate a menu like that but other than that, you're not given us much to work with. What's the link to your website?
You say you're using a Wordpress site - what does the Wordpress documentation say about customising menu? Can that be done or does it require new templating systems/add-ons? Are modules provided (like Joomla does) that allows you to plug-in new types of menu with custom javascript?

I think you're primary route for help/development advice should be the actual Wordpress forums since the people there will be better equipped to deal with Wordpress specific questions and somebody may already have made/written a similar menu that your can use and is compatiable with a Wordpress site.
You could also try contacting the developer of whatever theme you've chosen to use.

bbilal
08-18-2010, 05:14 AM
http://www.intech-bb.com this is the link of my website. This probably needs to be recreated because I've tried everything I only left with javascript.
The link I've mentioned above is created with a code: http://www.alistapart.com/articles/horizdropdowns/ but whenever I try to use my css doesnt work! I need help please

Beverleyh
08-18-2010, 06:01 AM
What response have you had from the Wordpress forums/the theme developer and what have you found out during your own research on Wordpress template customisation or limitations?

This should be your first steps rather than asking for help first hand here. Although there may be a broader range of talent on DD, dedicated Wordpress expertise will be found over in the Wordpress dedicated places. Somebody there will have customised menus before so they'll be better equipped to help you.

bbilal
08-20-2010, 10:19 AM
I did every possible effort =) my theme supported let me down.
http://www.theme-junkie.com/support/index.php?topic=1278.0 and the owner said this can be done via JS! So that's why I was asking here as I know alot of talented programmers does exsist here.