Results 1 to 3 of 3

Thread: Chrome Menu Need Links to open new window

  1. #1
    Join Date
    Apr 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Chrome Menu Need Links to open new window

    Hi I am using the http://www.dynamicdrive.com/dynamici...rome/index.htm
    Chrome menu and I need each link to open in a new window is there a simple code to alter or add to do this

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Just grabbed a bit of code from it:
    It's standard <a href...></a> tags...

    <a href="http://www.javascriptkit.com">JavaScript Kit</a>


    Just add target="_blank" to the <a> tag.


    <a href="http://www.javascriptkit.com" target="_blank">JavaScript Kit</a>



    *I haven't tried this, and javascript MIGHT make it more complex, but if that's the code it uses to generate the link (sure looks like it), then this will work fine. In some scripts, JS takes over the link format, so, if it doesn't work, that may be why.


    Check that out, though

  3. #3
    Join Date
    Apr 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ah Yes Awesome Thanks for your fast solution

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
  •