• Log in or sign up for an account here: https://www.sythe.org/login

JavaScript codes for Web DEV

JavaScriptBank

Newcomer
Joined
Sep 25, 2009
Sythe Gold
0
Messages
17
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
Copyright said:
The Site may provide, or third parties may provide, links to non-JavaScriptBank.com Internet World Wide Web sites or resources. Because JavaScriptBank.com has no control over such sites and resources, you acknowledge and agree that JavaScriptBank.com is not responsible for the availability of such external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. You further acknowledge and agree that JavaScriptBank.com shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such site or resource.​
 
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>
 
Runescape Gamblingrunescape gambling
Back
Top