www.webdeveloper.com
Results 1 to 10 of 10

Thread: _blank

  1. #1
    Join Date
    Feb 2004
    Posts
    70

    _blank

    Code:
    <script src="http://www.advancestats.com/cgi-bin/stats/getjs.cgi?id=CHA&display=graphic&image=status.gif&show=total" target="_blank"></script>
    target="_blank" is not working why?

    I want to make it opens a new new windown when surfer click it.

  2. #2
    Join Date
    Jun 2003
    Location
    The United States Site: http://kellyj.t35.com
    Posts
    2,561
    what is the code that you are implementing this to?

  3. #3
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    target isn't a valid attribute for the <script> tag. What exactly are you trying to do..?

  4. #4
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132

    Re: _blank

    I think you want this..
    Code:
    <a href="http://www.advancestats.com/cgi-bin/stats/getjs.cgi?id=CHA&display=graphic&image=status.gif&show=total" target="_blank">Click here</a>

  5. #5
    Join Date
    Feb 2004
    Posts
    70
    well look at my site http://www.ninjalounge.ssxh.net/ and click white/gray stats button, it won't pop a new window.

    >> Nedals If I do that and it will disappear.

  6. #6
    Join Date
    Jun 2003
    Location
    The United States Site: http://kellyj.t35.com
    Posts
    2,561
    it appears that the script source itself is actually drawing the picture. Therefore, it wouldn't be at your control. You would need control of that source file.

    Option #1, Find a way to control the source file.
    Option #2, Find the code from source file and add to code, adding target="blank" to it.
    Option #3, Get Rid of NoRightClick Script, its pointless (and makes it hard to find a solution to your problem ).

  7. #7
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    It appears there's really nothing you can do about it.

    Originally posted by steelersfan88

    Option #3, Get Rid of NoRightClick Script, its pointless (and makes it hard to find a solution to your problem ).
    Amen to that!

  8. #8
    Join Date
    Feb 2004
    Posts
    70
    LMAO! ok if i get off noclick then there are other to disable view source(for non javascript bowser) :twisted: [ I really hate stupid webmaster steal my hard work]

    ask me to show its view source and I will

    Code:
    .
    .
    .
    .
    
    <div id="counter1" style="position:absolute; left:13%; top:485px; width:5%; height:98%; z-index:1">
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
    
            <td valign="top">
    
    <font size=1 color=white>
    <a target="_blank" href="http://t.extreme-dm.com/?login=ninjal">
    <img src="http://v1.extreme-dm.com/i.gif" height=20 width=20
    border=0 alt=""></a><script language="javascript1.2"><!--
    EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?
    EXb=EXs.colorDepth:EXb=EXs.pixelDepth;//-->
    </script><script language="javascript"><!--
    EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
    EXd.write("<img src=\"http://t0.extreme-dm.com",
    "/c.g?tag=ninjal&j=y&srw="+EXw+"&srb="+EXb+"&",
    "l="+escape(EXd.referrer)+"\" height=1 width=1>");//-->
    </script><noscript><img height=1 width=1 alt=""
    src="http://t0.extreme-dm.com/c.g?tag=ninjal&j=n"></noscript>
    </font>
    
    
    </td>
    <td valign="top">
    &nbsp;
    &nbsp;
    </td>
    	<td valign="top">
    	<!-- Begin Nedstat Basic code -->
    <!-- Title: Ninja Lounge -->
    <!-- URL: http://ninjalounge.ssxh.net/ -->
    <script language="JavaScript" type="text/javascript"
    src="http://m1.nedstatbasic.net/basic.js">
    </script>
    <script language="JavaScript" type="text/javascript" >
    <!--
      nedstatbasic("ACtrmw+vJIknS/L8Jlw99axsiCMQ", 0);
    // -->
    </script>
    <noscript>
    <a target="_blank"
    href="http://www.nedstatbasic.net/stats?ACtrmw+vJIknS/L8Jlw99axsiCMQ"><img
    src="http://m1.nedstatbasic.net/n?id=ACtrmw+vJIknS/L8Jlw99axsiCMQ"
    border="0" width="38" height="38"
    alt="Nedstat Basic - Free web site statistics
    Personal homepage website counter"></a><br>
    <a target="_blank" href="http://www.nedstatbasic.net/">Free counter</a>
    </noscript>
    <!-- End Nedstat Basic code -->
    	</td>
    
    <td valign="top">
    &nbsp;
    &nbsp;
    </td>
            <td valign="top">
    <script src="http://www.advancestats.com/cgi-bin/stats/getjs.cgi?id=CHA&display=graphic&image=status.gif&show=total" target="blank" ></script>
    	</td>
    
    <td valign="top">
    &nbsp;
    &nbsp;
    </td>
            <td valign="top">
    
    	</td>
        </tr>
    </table>
    </div>
    .
    .
    .
    if you want view whole source then ask me.


    really? i have no power to control that javascript, eh?

    blank as you said that is not working... :?

  9. #9
    Join Date
    Jun 2003
    Location
    The United States Site: http://kellyj.t35.com
    Posts
    2,561
    Originally posted by cma
    Code:
            <td valign="top">
    <script src="http://www.advancestats.com/cgi-bin/stats/getjs.cgi?id=CHA&display=graphic&image=status.gif&show=total" target="blank" ></script>
    	</td>
    That is the picture yo uwant, it is written to the document thru the script source; it looks as if you need access to that to make it open in a new window.

    the no right click script just annoys users, as webmasters wil lfind ways to view your source (temp files, view menu, view-source:address, disab;e js, ...). It drives away traffic.

  10. #10
    Join Date
    Feb 2004
    Posts
    70
    *sigh*

    well i guess it is not big deal to ask admin and blah.

    well there are not many smart webmaster but i still don't care about bandwidth and their waste to hard work to steal.

    anyway thank you for you help, guys.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles