JavaScript codes for Web DEV

Discussion in 'Web Programming' started by JavaScriptBank, Nov 1, 2009.

JavaScript codes for Web DEV
  1. Unread #1 - Nov 1, 2009 at 8:11 PM
  2. JavaScriptBank
    Joined:
    Sep 25, 2009
    Posts:
    17
    Referrals:
    0
    Sythe Gold:
    0

    JavaScriptBank Newcomer
    Banned

    JavaScript codes for Web DEV

    Good and Nice JavaScripts

    Make link open in new tab/window

    Use this simple JavaScript to make all links on your web pages open in new tab/window. Script is easy to setup, you should save them into a f... detail


    How to setup

    Step 1: Use JavaScript code below to setup the script
    JavaScript
    Code:
    <script language=javascript>
    /*
    	Kevin Yank
    	http://www.sitepoint.com/authorcontact/48
    */
    function externalLinks()
    {
      if (!document.getElementsByTagName) return;
      var anchors = document.getElementsByTagName("a");
      for (var i=0; i<anchors.length; i++)
      {
          var anchor = anchors[i];
          if(anchor.getAttribute("href"))
    		anchor.target = "_blank";
      }
    }
    window.onload = externalLinks;
    
    </script>
    	<!--
        	This script downloaded from www.JavaScriptBank.com
        	Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
    	-->
    
    Step 2: Place HTML below in your BODY section
    HTML
    Code:
    <a href="http://javascriptbank.com/">Home</a> | 
    	<a href="http://javascriptbank.com/4rum/">Forum</a> | 
    	<a href="http://javascriptbank.com/javascript/">JavaScript</a> | 
    	<a href="http://javascriptbank.com/service/">Services</a> | 
    	<a href="http://javascriptbank.com/javascript/submit-javascript-bank.html">Submit script</a> | 
    	<a href="http://javascriptbank.com/thietkeweb/javascriptmall/">Documentary</a> | 
    	<a href="http://javascriptbank.com/javascript/contact-javascript-bank.html">Contact us</a> | 
    	<a href="http://javascriptbank.com/javascript/aboutus-javascript-bank.html">About us</a>
    	<!--
        	This script downloaded from www.JavaScriptBank.com
        	Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
    	-->
    





    JavaScript Vertical Marquee - JavaScript DHTML analog clock - JavaScript Backwards Text
     
  3. Unread #2 - Nov 3, 2009 at 10:05 AM
  4. Cruel__M&#1072;chine
    Joined:
    Nov 3, 2009
    Posts:
    7
    Referrals:
    1
    Sythe Gold:
    0

    Cruel__M&#1072;chine Newcomer
    Banned

    JavaScript codes for Web DEV

  5. Unread #3 - Mar 5, 2010 at 11:30 PM
  6. ar155brazil
    Joined:
    Mar 5, 2010
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0

    ar155brazil Newcomer

    JavaScript codes for Web DEV

    Hey i need help with this code how is it made and what do i need.
    It is suppose to be a table with prices and stuff someone help me. thank you!

    Code:
    <CENTER><IMG style="DISPLAY: none" id=imgLoading src="images/plLoading.gif"></CENTER>
    <DIV style="WIDTH: 730px; DISPLAY: block; FLOAT: left; MARGIN-LEFT: 3px" id=hiddle><IFRAME style="WIDTH: 100%; HEIGHT: 170px" id=oFream src="PLLevel.aspx" frameBorder=0 scrolling=no></IFRAME></DIV>
    <DIV></DIV>
    <DIV style="FLOAT: left" id=divServerControlPageage></DIV><BR>
    <SCRIPT type=text/javascript>
                                     function srcChange(gamecode, type)
                                     {
                                        document.getElementById("frame_package").src = "PLPackage.aspx?type="+type+"&gamecode="+gamecode; 
                                     }
                                    </SCRIPT>
     
< I Need help with a code | [PAYPAL] Selling cz.cc domain cheap! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site