Results 1 to 3 of 3

Thread: un-hyperlink

  1. #1
    Join Date
    Mar 2009
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default un-hyperlink

    1) Script Title: remove hyperlink from main

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem:
    hi...is there anyway to prevent the main/top menu items from being clickable/linkable?

    these top links do not have pages assigned and i'd prefer to not have them clickable if there's nothing there. it just refreshes the current page, as is, but was hoping for a better solution.

    thanks for any help.

  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

    Instead of something like:

    Code:
    <li><a href="http://www.dynamicdrive.com/new.htm" rel="ddsubmenu1">DHTML</a></li>
    Do it more like (drop the href attribute entirely):

    Code:
    <li><a rel="ddsubmenu1">DHTML</a></li>
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2009
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Perfect. Thank you so much, once again, John. Big help for me.

    -jz

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
  •