Results 1 to 4 of 4

Thread: How to Open a Link in a New Window?

  1. #1
    Join Date
    Jul 2007
    Location
    England
    Posts
    41
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question How to Open a Link in a New Window?

    I've been trying to work out how to open the following image link in a new window, whith such characterists as the menubar, etc.

    I have tried and succeeded in doing the exact same thing using a text link, but I can't for the life of me work out how to do it with an image (as a link). Help me!

    This is what I'm trying to open in a new window...

    <p align="left"><a href="../rsclient/maintemp.htm">
    <!--webbot bot="ImageMap" text=" (0,16) (291, 42) {LAUCH CLIENT} {Sofachrome} 12 B #000000 CT 0 " border="0" src="launch.gif" align="left" u-originalsrc="launch.gif" u-overlaysrc="file:///C:/Documents and Settings/L********/Desktop/RS Evolution/index.htm_txt_launch.gif" hspace="16" width="291" height="58" --></a></p>
    As you can see, this is an image with text over it, opening the link in the current window.

    Thank you, MrRSMan.

  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

    This part:

    Code:
    <!--webbot bot="ImageMap" text=" (0,16) (291, 42) {LAUCH CLIENT} {Sofachrome} 12 B #000000 CT 0 " border="0" src="launch.gif" align="left" u-originalsrc="launch.gif" u-overlaysrc="file:///C:/Documents and Settings/L********/Desktop/RS Evolution/index.htm_txt_launch.gif" hspace="16" width="291" height="58" -->
    Is seen by the browser (both its HTML and javascript parsers) as a comment. It isn't javascript or HTML. If it does anything at all, it is because it is some type of extension, probably a Front Page extension, and is executed or converted to something that the browser can interpret on the server side by a server that is configured to do so.
    - John
    ________________________

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

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

    Default

    I just edited the title of this thread. Your questions are no more important than those of other users, so please don't add random characters for emphasis. It's just annoying... the thread is bold in the first place if it's unread.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    May 2006
    Location
    Alaska
    Posts
    163
    Thanks
    5
    Thanked 2 Times in 2 Posts

    Default

    I wouldn't really think of this as JS, it seems more like HTML, but I think if you added
    Code:
    target="_blank"
    to the <a> it will open in a new window. But I'm not exactly sure of what your doing.

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
  •