Jump to content

jquery ul li indicator


jarvis

Recommended Posts

Hi,

 

I have the following code:

  noCon(document).ready(function(){
	 noCon("#dropmenu ul").css({display: "none"}); 
			 // For 1 Level
     noCon("#dropmenu li:has(ul) > a").append("<span> »</span>"); 
     noCon("#dropmenu li > ul > a > span").text("");

This adds >> to the top level and the next level.

 

What I wish to do is alter the top level to >

The second level to >>

The third level to >>>

 

Please can someone assist as I'm a complete noob to this stuff.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/252989-jquery-ul-li-indicator/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.