test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • johnmarquess Friend
    #124955

    Hi

    I’m attempting to create a non-clickable top level menu placeholder in this template. I’m using Transmenu option.

    Unfortunately, the placeholder is clickable with a “#” which is returning to the top domain page (homepage)

    Have searched and found this old thread..

    http://www.joomlart.com/forums/topic/root-menu-link-problem/

    …but the “ja-transmenu.php” file for this template has that suggested patch already applied

    Greatful for any ideas on how to have a non-clickable menu item (placeholder)

    thanks, J

    kashxo Friend
    #236306

    Dear johnmarquess,
    You can try to put javascript: in your URL insteed of #.
    Otherwise, please post what you want the placeholders look like and I will help you on this.

    johnmarquess Friend
    #236311

    Thanks for the quick offer of help but I think I have just solved it!

    By searching for other sites that use transmenu with placeholders I came up with this soution

    In the file /www/templates/ja_quillaja/ja_transmenu/ja-transmenu.php
    at line 235


    case 3:
    // don't link it
    $txt = '<a href="#" class="'. $menuclass .'" '. $id .$title.'><span>'. $txt .'</span></a>';
    break;

    I changed the line to


    $txt = '<a class="'. $menuclass .'" '. $id .$title.'><span>'. $txt .'</span></a>';

    Droping the HREF and that works for me.

    I am guessing that that the A Href=”#” use to work on older browsers – but in IE7 and FF2.0 it returns you to root.

    Hopefully that will help someone else searching for this. Have marked as solved

    thanks
    J

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  johnmarquess 16 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum