SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Okasy..this is stupid..But I'll have to rely on this board to get my help.

    I've tried contacting CJ's support, but to no avail.

    I have smartzones on my site. But I just need to make the links open in a new window. Is there a way I can let the links open in a new window?

    Thanks for your help

  2. #2
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,939
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look in the base code for the link, and insert "target = "_new"

    Chris

  3. #3
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    erm..
    the code they gave me was in javascript.
    l;ike
    <script language="JavaScript" src="XX"><?script>

    any ideas

  4. #4
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most banner ad companies don't allow opening the links in a new window. Probably CJ.com don't wants you too either.

    Christophe

    ------------------
    Freesources.net - the ultimate webmaster resources site
    WebmasterCJ design - opening new worlds for small prices
    Visit the SitePoint Chat!!!

  5. #5
    Destiny Manager Plebius's Avatar
    Join Date
    Nov 1999
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    At the top of your page, put <base target="_new"> and in all your internal links put target="_top"

    then any link that doesn't say target ="_top" should open in a new window.



    ------------------
    Martin Kretzmann
    Plebius Press - A progressive perspective ... "Insert favorite quote here"
    We have hosted and perl scripts too!

  6. #6
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by LuZeR:
    At the top of your page, put &lt;base target="_new"&gt; and in all your internal links put target="_top"

    then any link that doesn't say target ="_top" should open in a new window.
    <HR></BLOCKQUOTE>

    A javascript won't respond to that so it won't work.

    Christophe

  7. #7
    Destiny Manager Plebius's Avatar
    Join Date
    Nov 1999
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by freesources:
    A javascript won't respond to that so it won't work.

    Christophe
    <HR></BLOCKQUOTE>

    Actually it does on my browser (NS4.7)

    Try this code. The links will open in a new window.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
    &lt;base target="_blank"&gt;
    &lt;html&gt;
    &lt;head&gt;
    &lt;title&gt;Blah&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;script src="http://www.plebius.org/data/remote.js"&gt;
    &lt;/script&gt;

    &lt;/body&gt;&lt;/html&gt;
    [/code]

    ------------------
    Martin Kretzmann
    Plebius Press - A progressive perspective ... "Insert favorite quote here"
    We have hosted and perl scripts too!

  8. #8
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll try as you said.

    Thanks guys


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
  •