Results 1 to 4 of 4

Thread: How to make URLs work in Chain menu

  1. #1
    Join Date
    Sep 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to make URLs work in Chain menu

    Hi there,

    I have downloaded the zip file and set it up, links are not working. Same thing with this page:

    http://www.dynamicdrive.com/dynamici...menu/index.htm

    How can I configure this to actually "go" the URL in question when clicking on GO

    I'm attaching screen capture:



    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In chainedmenu.js near the beginning, edit the highlighted value as shown:

    Code:
    // Chained Menu
    
    // Copyright Xin Yang 2004
    // Web Site: www.yxScripts.com
    // EMail: m_yangxin@hotmail.com
    // Last Updated: 2004-08-23
    
    // This script is free as long as the copyright notice remains intact.
    
    var _disable_empty_list=false;
    var _hide_empty_list=false;
    
    // ------
    
    ///// DynamicDrive.com added function/////////////
    
    var onclickaction="noalert"
    
    function goListGroup(){
    for (i=arguments.length-1;i>=0; i--){
    if (arguments[i].selectedIndex!=-1){
    var selectedOptionvalue=arguments[i].options[arg . . .
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    thanks for the lightning fast response!

    However I did that and still not working,

    here is the live URL where I am testing so you can look at the code:

    http://www.vincentmoving.com/chain/chainedmenu.html

  4. #4
    Join Date
    Sep 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    Actually I figured it out, another line of code needs changing from:

    Code:
    var onclickaction="alert"
    to

    Code:
    var onclickaction="goto"
    in the config.js

    Cheers!

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
  •