Professional Web Applications Themes

Anyone help me with target="blank" problem? - Macromedia Dreamweaver

I'm new to web design so pardon me if this has been answered before. I've designed a site that eventually will have about 600 pages and 5 - 6,000 hyperlinks to toher sites. For each of these hyperlinks I have added the code target="blank" to make the link open in a new window. My problem is that it's tedious to continually paste this snippet of code after each link. One person suggested that I add some similar code to the >head of each page but that didn't work well because when the user clicked on a new page in my ...

  1. #1

    Default Anyone help me with target="blank" problem?

    I'm new to web design so pardon me if this has been answered before.

    I've designed a site that eventually will have about 600 pages and 5 - 6,000
    hyperlinks to toher sites. For each of these hyperlinks I have added the
    code target="blank" to make the link open in a new window. My problem is
    that it's tedious to continually paste this snippet of code after each link.

    One person suggested that I add some similar code to the >head of each page
    but that didn't work well because when the user clicked on a new page in my
    navigation menu, that page also opened in a new window. I hope I've
    explained this correctly.

    Anyway, is there some way to add the snippet of code quickly, maybe using a
    search and replace, or am I stuck cutting and pasting forever.

    Thanks in advance ofr any assistance.

    Here's the site if anyone is interested www.mollyjones.com

    Bill Jones


    Jones Guest

  2. #2

    Default Re: Anyone help me with target="blank" problem?

    On Tue, 05 Aug 2003 04:23:54 GMT, "Jones" <rr.com> wrote:
     

    u mean something like a <base target="blank"> that goes inside the
    <head></head> tag ?

    sqlcow.


    sqlcow Guest

  3. #3

    Default Re: Anyone help me with target="blank" problem?

    Yes. I added that code inside the <head> </head> tags and it worked just
    fine. It opened all the hyperlinks on the page in separate windows.
    Unfortunately when you clicked on my menu to go to a different page, it
    opened that page in a new window also.

    Maybe I've explained this poorly, but if you go to my site
    www.mollyjones.com and click on "BREEDS A - F", then choose any breed such
    as "Afghan" you'll see the hyperlinks below the picture of the dog that I
    want to open as a new window. Since there are 533 breeds of dogs you can
    imagine how many times I've been typing target="blank" after each link.

    Thanks to anyone who can offer me a better way.

    Bill (newbie) Jones



    "sqlcow" <auratia.mine.nu> wrote in message
    news:com... [/ref]
    6,000 [/ref]
    link. [/ref]
    page [/ref]
    my [/ref]

    >
    > u mean something like a <base target="blank"> that goes inside the
    > <head></head> tag ?
    >
    > sqlcow.
    >
    >[/ref]


    Oversea Guest

  4. #4

    Default Re: Anyone help me with target="blank" problem?

    You should be able to accomplish this with one click in the properties
    inspector when you are creating your hyperlinks. In Dreamweaver MX,
    using the native MX layout, you should have a properties inspector
    that shows up at the bottom (at least that's where it shows up for
    me). Right next to the link box (to the right), there is a Target drop
    down menu with the various selections. See this example image to see
    what I mean:

    http://www.designerofchoice.com/help/targetblank.gif

    Are you working only in code view? And, what version of Dreamweaver
    are you using? The method for doing this is slightly different in
    older versions. If you are using design mode in Dreamweaver, this will
    save you a lot of time.


    "Oversea" <com> wrote in message news:<ZuAYa.1499$Qe.1077fed1read04>... [/ref]
    > 6,000 [/ref]
    > link. [/ref]
    > page [/ref]
    > my [/ref]
    > a 
    > >
    > > u mean something like a <base target="blank"> that goes inside the
    > > <head></head> tag ?
    > >
    > > sqlcow.
    > >
    > >[/ref][/ref]
    Steve Guest

Similar Threads

  1. How to give "open a web page" a target such as _blank?
    By shane_rymer@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 0
    Last Post: September 12th, 05:00 PM
  2. Stop the Target = "_top" from happining.
    By Hadware in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: October 4th, 06:43 PM
  3. Datagrid Binding Error: "Object does not match target type."
    By Karahan Celikel in forum ASP.NET Building Controls
    Replies: 1
    Last Post: August 20th, 12:57 PM
  4. Datagrid Binding Error "Object does not match target type"
    By Karahan Celikel in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: August 20th, 10:35 AM
  5. A quick way to add target="blank"
    By Jones in forum Macromedia Dreamweaver
    Replies: 2
    Last Post: August 1st, 05:23 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139