Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
JavaScript codes for Web DEV
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-02-2009, 01:11 AM
Newcomer
BANNED
 
Join Date: Sep 2009
Posts: 17
Default 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
Quote:
Originally Posted by Copyright
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.
Reply With Quote
  #2  
Old 11-03-2009, 03:05 PM
Newcomer
BANNED
 
Join Date: Nov 2009
Posts: 7
Default Re: JavaScript codes for Web DEV

Too much work for a result that's natively supported.

Put this in your <head>:
Code:
<base target="_blank" />
http://www.w3schools.com/TAGS/att_base_target.asp

Last edited by Cruel__Mаchine : 11-03-2009 at 03:08 PM.
Reply With Quote
  #3  
Old 03-06-2010, 04:30 AM
Newcomer
 
Join Date: Mar 2010
Posts: 6
Question I need help with this code and makeing a new one

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>

Last edited by ar155brazil : 03-06-2010 at 04:37 AM.
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 08:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1