Results 1 to 4 of 4

Thread: expandable links

  1. #1
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default expandable links

    ill try and explain this as clearly as i can, currently i have a website with 5 buttons, and on one of the button when i click it, i want it too expand like this

    http://i41.tinypic.com/n18haw.jpg

    so i can have sub links
    i didnt know where to post this, so would appreciate your help

  2. #2
    Join Date
    Apr 2009
    Location
    Cognac, France
    Posts
    400
    Thanks
    2
    Thanked 57 Times in 57 Posts

    Default

    It sounds like you want to have a multi-level type menu.

    Have a look at this link, there are a number of them there, you might find one that suits your need.

    http://www.dynamicdrive.com/dynamicindex1/indexc.html

  3. #3
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    how would i configure them to be used with my buttons?

  4. #4
    Join Date
    Apr 2009
    Location
    Cognac, France
    Posts
    400
    Thanks
    2
    Thanked 57 Times in 57 Posts

    Default

    This is an extract from this menu script - http://www.dynamicdrive.com/dynamici...menu/index.htm

    It explains how to set images into the menu, if you do not want it as 'rollover' you just use the same image twice.

    You set the menu, with images, in the 'exmplmenu_var.js' file as explained in the script details.

    Code:
    // Menu tree
    //	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
    //	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"
    
    Menu1=new Array("Home","http://www.dynamicdrive.com","",0,20,138);
    
    Menu2=new Array("News","blank.htm","",2);
    	Menu2_1=new Array("General","blank.htm","",5,20,150);	
    		Menu2_1_1=new Array("CNN","http://www.cnn.com","",0,20,150);
    		Menu2_1_2=new Array("ABCNews","http://www.abcnews.com","",0);
    		Menu2_1_3=new Array("MSNBC","http://www.msnbc.com","",0);
    This may not be what you're looking for but hopefully it is a step along the way.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •