JAVA SCRIPTS
FOR YOUR PAGES
=============================
More Scripts here:
http://www.dynamicdrive.com
=============================
Drop In box Java:
with so many people using pop up blockers
these days this works good to solve your problems.
Check it out here:
http://www.acutaboveproducts.com/recent_newsletters.htm
It will only load once per visitor also.
Goes in between
<head>
Top Code goes Here
</Head>
=========== Start Coping Below this line =========================
<script language="JavaScript1.2">
// Drop-in content box- By Dynamic Drive
// For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
// This credit MUST stay intact for use
var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var bouncelimit=32 //(must be divisible by 8)
var direction="up"
function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? document.body.scrollTop : window.pageYOffset
crossobj.top=scroll_top-250
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}
function dropin(){
scroll_top=(ie)? document.body.scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<100+scroll_top)
crossobj.top=parseInt(crossobj.top)+40
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}
function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}
function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function dropornot(){
if (get_cookie("droppedin")==""){
window.onload=initbox
document.cookie="droppedin=yes"
}
}
dropornot()
</script>
===================== End Copying Above This Line ====================
This Below Code Goes at the Bottom of the Body Tags
I've used my example below:
<BODY>
Code goes here at the bottom
</BODY>
you can delete all the middle including
from Here - <p align="center"> to
Click Here:</a><BR></FONT> - To Here
and replace with you own content
=========== Start Coping Below this line =========================
<div id="dropin" style="position: absolute; visibility: hidden; left: 250; top: 93; width: 500; height: 222; background-color: #F5F5F5">
<div align="right"><a href="#" onClick="dismissbox();return false">[Close Box] </a></div>
<p align="center">
<font face="Verdana" size="4">If You are going to get a Website soon,<BR>
or already have one to Transfer to a</font>
<font FACE="Verdana" SIZE="2"><BR>
</FONT>
<B><font face="Verdana" size="5" color="#800000"><a href="http://www.roibot.com/w.cgi?R56797_Host4Profit" target="_blank">"Host That Pays You"</a></font></B>
<font FACE="Verdana" SIZE="2"><BR><BR>
<B>This is the Place To *Check Out Now*</B>
<br>
"You Can Make <B>(Money or Excuses)</B> but You Know The TRUTH"<BR>
You Can't Make Both.<BR>
<B>P.S. You'll Never See A Service Like This If You Don't Go NOW!!!</B><BR>
<a href="http://www.roibot.com/w.cgi?R56797_Host4Profit" target="_blank">DON'T DELAY Click Here:</a><BR></FONT>
</div>
===================== End Copying Above This Line ====================
Hide Your source codes from Predators
This code goes above You </HEAD> Tag at the top of your sites
Find Your "Message Goes Here" and put your message between the " "
and don't change a thing. : )
=========== Start Coping Below this line =========================
<script LANGUAGE="JavaScript1.1">
<!-- Begin
function right(e) {
var msg = "Your Message Goes Here";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg); // Delete this line to disable but not alert user
return false;
}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg); // Delete this line to disable but not alert user
return false;
}
return true;
}
document.onmousedown = right;
document.onmouseup = right;
// End -->
</script>
===================== End Copying Above This Line ====================
Drop Down Menu
Example:
This code goes any where you want your drop down box to appear
========================= Start Copying Below This Line =========================
<form name="jump">
<select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
<option value="http://www.roibot.com/w.cgi?R56797_Free_Ezine_Ads ">Free Ezine
Ads</option>
<option value="http://www.roibot.com/w.cgi?R56797_Marketing_Warrior_Pro ">All
The Tools You Need</option>
<option value="http://www.roibot.com/w.cgi?R56797_SPECIAL">Special Deal - Act
Now</option>
<option value="http://www.roibot.com/w.cgi?R56797_Subs_Only ">Free E-Books Here</option>
<option value="http://www.roibot.com/w.cgi?R56797_Web_Encoder_Free">Protect Your
Websites</option>
<option value="http://www.roibot.com/w.cgi?R56797_Wholesale_Products ">Wholesale
Products</option>
<option value="http://www.roibot.com/w.cgi?R56797_47K_Hits_Free ">47,000 Free
Hits</option>
<option value="http://www.roibot.com/w.cgi?R56797_AFFILIATES">Make 50%
Commissions</option>
<option value="http://www.roibot.com/w.cgi?R56797_CLKBNK ">Accept Credit Cards</option>
<option value="http://www.roibot.com/w.cgi?R56797_Free_Safelists ">Free Opt In
SafeLists</option>
</select>
</form>
========================= End Copying Above This Line =========================
Snow Flakes Falling
Example:
http://www.ebooks-to-resell.com
Grab Your Own
Instant Book Mark Software
With Full Resell Rights
Click
Here:
Copy and paste this code right below the </Head> Tag on
the html of your site
Don't change anything>
Copy & paste into word or note pad before just pasting
into an HTML editor
Some of them mess the code up when you do.
========================= Start Copying Below This Line =========================
<script language="JavaScript1.2">
/*
Snow Effect Script
Submitted by Altan d.o.o. (snow@altan.hr, http://www.altan.hr/snow/index.html)
Permission granted to Dynamicdrive.com to feature script in archive
For full source code to this script, visit http://dynamicdrive.com
*/
//Configure below to change URL path to the snow image
var snowsrc="http://www.mybizpages.com/img/holiday/snow.gif"
// Configure below to change number of snow to render
var no = 10;
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up||ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://dynamicdrive.com/\"><img src='"+snowsrc+"' border=\"0\"></a></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"></layer>");
}
} else if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"></a></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", 10);
}
function snowIE_NS6() { // IE and NS6 main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = ns6up?window.innerWidth : document.body.clientWidth;
doc_height = ns6up?window.innerHeight : document.body.clientHeight;
}
dx[i] += stx[i];
if (ie4up){
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
else if (ns6up){
document.getElementById("dot"+i).style.top=yp[i];
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i]);
}
}
setTimeout("snowIE_NS6()", 10);
}
if (ns4up) {
snowNS();
} else if (ie4up||ns6up) {
snowIE_NS6();
}
</script>
========================= End Copying Above This Line =========================
Banner Rotator For Your programs
Example:
http://www.acutaboveproducts.com
this code you do not paste above the
head tag
but instead any where below it
-the first ad is an example-
========================= Start Copying Below This Line =========================
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var how_many_ads = 7;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="text for under your banner goes here";
url="http://www.yourlinktoyourprogramhere.html";
alt="text pertaining to your business here";
banner="http://www.yourbannergoeshere.gif";
width="468";
height="60";
}
if (ad==2) {
txt="AFFILIATES Click Above";
url="http://www.roibot.com/w.cgi?R56797_AFFILIATES";
alt="Earn 50% Commissions";
banner="http://ebooks-to-resell.com/addesignaffiliates2.gif";
width="468";
height="60";
}
if (ad==3) {
txt="The Secrets Of Getting Millions Of Hits to Your Sites";
url="http://www.gorillawebsitemarketing.com/cgi-bin/at.cgi?a=216773";
alt="Traffic to my Site NOW";
banner="http://www.gorillawebsitemarketing.com/banners/gwsm_secrets_to.jpg";
width="468";
height="60";
}
if (ad==4) {
txt="Business World List";
url="http://businessworldlist.com/members/index.cgi?InfoBooks";
alt="Free Safelists with Residual Program Too";
banner="http://ebooks-to-resell.com/businessworldlist.gif";
width="468";
height="60";
}
if (ad==5) {
txt="1001 TACTICS - Best SELLER";
url="http://www.roibot.com/kt.cgi?R56797_campaign";
alt="Free Safelists";
banner="http://www.roibot.com/affiliates/blackbani.gif";
width="468";
height="60";
}
if (ad==6) {
txt="A SEARCH ENGINE THAT PAYS US";
url="http://www.igaroo.com/go.cgi?theboss1";
alt="Free Safelists";
banner="http://www.igaroo.com/igarooimages/banner2.gif";
width="468";
height="60";
}
if (ad==7) {
txt="How To Create And Sell PRODUCTS Online";
url="http://www.howtocorp.com/sales.php?offer=Fielding&pid=30<BR>";
alt="How to Sell Your Products";
banner="http://www.createandsellproductsonline.com/images/banner-noorder.gif";
width="600";
height="80";
}
if (ad==8) {
txt="HERCULIST The Ultimate Safe List That Pays You";
url="http://herculist.com/members/index.cgi?FREE_EBOOKS";
alt="There are roughly 16722 prospects to reach today";
banner="http://herculist.com/images/banner02.gif";
width="468";
height="60";
}
document.write('<center>');
document.write('<a href=\"' + url + '\"
target=\"_top\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
// End --></script>
========================= End Copying Above This Line =========================
[
Back Home]
Your the
Visitor to Stop By....ThanX
- More Coming Soon-
Here's a banner rotator Example also reload the page and see it change:
If You are going to get a Website soon,
or already have one to Transfer to a
"Host That Pays You"
This is the Place To *Check Out Now*
"You Can Make (Money or Excuses) but You Know The TRUTH"
You Can't Make Both.
P.S. You'll Never See A Service Like This If You Don't Go NOW!!!
DON'T DELAY Click Here: