Results 1 to 3 of 3

Thread: AnyLink DropDown Menu

  1. #1
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink DropDown Menu

    AnyLink Drop Down Menu
    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    I have the script working fine, but I need the links in the menu to open in a new controled window. I currently have a script called popUp() that I need to call from the menu links, like so:

    Code:
    menu1[1]='<a href="#" onClick="javascript: popUp('/admin/add_page.cfm?id=#request.pageId#');">Add Page</a>'
    This is giving me a javascript error. How can I get the links to fire my popUp() function correctly?
    Last edited by harborhoffer; 08-10-2005 at 02:25 PM.

  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

    Code:
    menu1[1]='<a href="#" onClick="javascript: popUp(\'/admin/add_page.cfm?id=#request.pageId#\');">Add Page</a>'
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks alot.

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
  •