Wish I Was Rich

The Place For Lots Of Fun And Entertainment

Google Ads

Download Our Toolbar


toolbar powered by Conduit

HTML

HTML STANDS FOR HYPER TEXT MARKUP LANGUAGE.

WE DO TRY TO MAKE SURE THAT ALL HTML CODES DO WORK HOWEVER IF YOU HAVE A PROBLEM WITH ONE PLEASE LET US KNOW BY EMAILING US AT: info@wishiwasrich.com

PLEASE NOTE THAT MOST OF THESE HTML CODES ONLY WORK WITH IE 7.

DOWNLOAD MICROSOFT WINDOWS INTERNET EXPLORER 7 BY CLICKING ON THE LINK BELOW:

Windows Internet Explorer 7

Different Direction Marquee

place your text here

 

JUST ENTER THIS CODE:

<marquee direction="right, up, or down">place your text here</marquee>

Different Speed Marquee

place your text here

 

THAT IS SPEED 10 ABOVE

JUST ENTER THIS CODE:

<marquee scrollamount="1 - 25 speed here">place your text here</marquee>

Normal Marquee

place your text here

 

JUST ENTER THIS CODE:

<MARQUEE bgcolor="#CCCCCC" loop="-1" scrollamount="2" width="100%">place your text here</MARQUEE>

Page Redirect

JUST ENTER THIS CODE:

<meta

http-equiv="refresh" content="0; url=your new address.html">

To Get A Background Image

JUST ENTER THIS CODE:

<body background="http://URL of Image" text="#color" link="#color" vlink="#color">

To Get A Background Song

JUST ENTER THIS CODE:

<bgsound src="URL of song">

Place An Image On Your Page

JUST ENTER THIS CODE:

<img src="URL of image">

Make An Image Link

JUST ENTER THIS CODE:

<a href="URL"><img src="URL of image"></a>

Stop Your Website From Being Framed

JUST ENTER THIS CODE:

<body onLoad="if (self != top) top.location = self.location">

Get A Coloured Scrollbar

JUST ENTER THIS CODE:

<style
type="text/css"> body { scrollbar-arrow-color: ffffff; scrollbar-base-color:ffffff;
scrollbar-dark-shadow-color: ffffff; scrollbar-track-color: ffffff; scrollbar-face-color:
ffffff; scrollbar-shadow-color: ffffff; scrollbar-highlight-color: ffffff; scrollbar-3d-light-color:
ffffff; } </style>

Email Me

JUST ENTER THIS CODE:

<form>
<input type="button" value="Email Me"
onClick="location.href='mailto:you@yourdomain.com
'">
</form>

Linked Text

Linked Text

JUST COPY THIS CODE:

<a href="" onMouseOver="alert('Your Message');return true;">Linked Text</a>

Make This Site Your Home Page

JUST ENTER THIS CODE:

 

<FORM>
<INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Page URL beginning with http:// here');">
</FORM>

Close Window

JUST ENTER THIS CODE:

<form method="post">
<input type="button" value="Close Window"
onclick="window.close()">
</form>

View Source

JUST ENTER THIS CODE:

<form>
<input type="button" value="View Source"
onClick= 'window.location = "view-source:" + window.location.href' >
</form>

Submit Query

Name:
Email:
 
JUST ENTER THIS CODE:
 

<FORM action=mailto:you@yourdomain.com>
Name: <INPUT name="Name" value="" size="10"><BR>
Email: <INPUT name="Email" value="" size="10"><BR>
<CENTER><INPUT type="submit"></CENTER>
</FORM>

Small Text Field

JUST ENTER THIS CODE:

<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
<INPUT type="text" size="10" maxlength="30">
<INPUT type="Submit" VALUE="Submit">
</FORM>

Small Coloured Text Field

JUST ENTER THIS CODE:

<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
<INPUT type="text" STYLE="color: #FFFFFF; font-family: Verdana; font-weight: bold; font-size: 12px; background-color: #72A4D2;" size="10" maxlength="30">
<INPUT type="Submit" VALUE="Submit">
</FORM>

Select An Option

FORM METHOD=post ACTION="/cgi-bin/example.cgi"> Select an option:
Option 1 Option 2 Option 3

Select an option:
Selection 1 Selection 2 Selection 3

JUST ENTER THIS CODE:

FORM METHOD=post ACTION="/cgi-bin/example.cgi">
Select an option:<BR>
<INPUT type="radio" name="option"> Option 1
<INPUT type="radio" name="option" CHECKED> Option 2
<INPUT type="radio" name="option"> Option 3
<BR>
<BR>
Select an option:<BR>
<INPUT type="checkbox" name="selection"> Selection 1
<INPUT type="checkbox" name="selection" CHECKED> Selection 2
<INPUT type="checkbox" name="selection"> Selection 3
<INPUT type="Submit" VALUE="Submit">
</FORM>

Enter Your Comments

Enter Your Comments:

JUST ENTER THIS CODE:

<FORM METHOD=post ACTION="/cgi-bin/example.cgi">
Enter Your Comments:<BR>
<TEXTAREA wrap="virtual" name="Comments" rows=3 cols=20 MAXLENGTH=100></TEXTAREA><BR>
<INPUT type="Submit" VALUE="Submit">
<INPUT type="Reset" VALUE="Clear">
</FORM>

Pause Over Marquee

 

JUST ENTER THIS CODE:

<script language="JavaScript1.2">


//Specify the marquee's width (in pixels)
var marqueewidth="300px"
//Specify the marquee's height
var marqueeheight="25px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=2
//configure background color:
var marqueebgcolor="#DEFDD9"
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<nobr><font face="Arial">Thank you for visiting <a href="http://www.wishiwasrich.com">Wish I Was Rich.></a> Enjoy!</font></nobr>'


////NO NEED TO EDIT BELOW THIS LINE////////////
marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
else
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"

}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
}
}

if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</script>

Open Window

JUST ENTER THIS CODE:

<form>
<input type="button" value="Open Window"
onclick="window.open('http://www.domain.com')">

</form>

Reload Window

JUST ENTER THIS CODE:

<form method="post">
<input type="button" value="Reload Window"
onclick="window.location.reload()">
</form>

Add To Favourites

JUST ENTER THIS CODE:

<FORM>
<INPUT TYPE="button" VALUE="Add to Favorites" onClick='window.external.AddFavorite(location.href, document.title);'>
</FORM>

Back To Previous Page

JUST ENTER THIS CODE:

<form>
<input type="button" value="Back to Previous Page"
onClick="javascript: history.go(-1)">
</form>

Random Numbers

 

JUST ENTER THIS CODE:

 

<HTML>
<HEAD>
<SCRIPT type="text/javascript"> 
function rand()
      {
          var now=new Date()
          var num=(now.getSeconds())%10
          var num=num+1
          alert(num)
      }
</SCRIPT>
</HEAD>
<BODY>
 <h1>Random Numbers</h1>
 <form>  
   <INPUT TYPE="button" 
   VALUE="Random Number from 1 to 10"  
   onClick="rand()">
 </FORM>
</BODY>
</HTML>

Mortgage Calculator

Repayment Mortgage Calculator
Enter Your Details & Click the Calculate Button
Loan Amount $
Annual Interest Rate %
Term of Loan Years
Number of Payments
Monthly Payment $
 

 

JUST ENTER THIS CODE:

<form
action="POST" name="myform"> <table border="1"
bgcolor="#63639C"> <tr> <td align="center" colspan="2"><script
language="JavaScript"><!-- function Morgcal() { form = document.myform
LoanAmount= form.LoanAmount.value DownPayment= "0" AnnualInterestRate
= form.InterestRate.value/100 Years= form.NumberOfYears.value MonthRate=AnnualInterestRate/12
NumPayments=Years*12 Prin=LoanAmount-DownPayment MonthPayment=Math.floor((Prin*MonthRate)/(1-Math.pow((1+MonthRate),(-1*NumPayments)))*100)/100
form.NumberOfPayments.value=NumPayments form.MonthlyPayment.value=MonthPayment
} // --></script> <font color="#FFFFFF" size="2"
face="arial narrow"><b>Repayment Mortgage Calculator</b>
<br> Enter Your Details &amp; Click the Calculate Button</font></td>
</tr> <tr> <td><table border="0" cellpadding="2">
<tr> <td align="right"><font color="#FFFFFF"
size="2" face="arial narrow">Loan Amount $ </font></td>
<td><font color="#FFFFFF" size="2" face="arial
narrow"><input type="text" size="10" name="LoanAmount"
value="80000" onblur="Morgcal()" onchange="Morgcal()"><br>
</font></td> </tr> <tr> <td align="right"><font
color="#FFFFFF" size="2" face="arial narrow">Annual
Interest Rate </font></td> <td><font color="#FFFFFF"
size="2" face="arial narrow"><input type="text"
size="3" name="InterestRate" value="6.0" onblur="Morgcal()"
onchange="Morgcal()"> % <br> </font></td> </tr>
<tr> <td align="right"><font color="#FFFFFF"
size="2" face="arial narrow">Term of Loan </font></td>
<td><font color="#FFFFFF" size="2" face="arial
narrow"><input type="text" size="3" name="NumberOfYears"
value="20" onblur="Morgcal()" onchange="Morgcal()">
Years<br> </font></td> <td><font color="#FFFFFF"
size="2" face="arial narrow"><input type="button"
name="morgcal" value="Calculate" language="JavaScript"
onclick="Morgcal()"> </font></td> </tr> <tr>
<td colspan="3"><font color="#FFFFFF"></font></td>
</tr> </table> </td> </tr> <tr> <td><table
border="0" cellpadding="2"> <tr> <td align="right"><font
color="#FFFFFF" size="2" face="arial narrow">
Number of Payments </font></td> <td><font color="#FFFFFF"
size="2" face="arial narrow"><input type="text"
size="7" name="NumberOfPayments"><br> </font></td>
</tr> <tr> <td align="right"><font color="#FFFFFF"
size="2" face="arial narrow">Monthly Payment $ </font></td>
<td><font color="#FFFFFF" size="2" face="arial
narrow"><input type="text" size="7" name="MonthlyPayment"><br>
</font></td> </tr> <tr> <td align="center"
colspan="2">&nbsp;</td> </tr> </table> </td>
</tr> </table> </form>

Calculator

 

JUST ENTER THIS CODE:

<!-- experiments with table & button-input  vegaseat  2/13/02 -->
<!-- table, border, cellpadding, cellspacing, input, onClick -->
<!-- uses eval() to do the final calculation -->
<!-- note: eval() traps divide by zero error -->
 
<html>
<head>
 
	<title>A Simple Four-Banger</title>
	
</head>
<body>
 
<form name="calculator">
 
<!-- form the display to match the keypad -->
<table border="4" cellpadding="1" bordercolor="#FFFFFF" bgcolor="#73B27B" cellspacing="2" width="222">
<tr>
<td>
<input type="text" size="25" length="25" value="" name="ans" style="background:beige;color:black;">
</td>
</tr>
</table>
 
<!-- form the keypad with buttons in a table -->
<table border="4" cellpadding="2" bordercolor="#FFFFFF" cellspacing="2" width="150" bgcolor="#73B27B">
<tr>
<td align="center">
<input type="button" value="  7  " name="seven" onClick="document.calculator.ans.value+='7'">
</td>
<td align="center">
<input type="button" value="  8  " name="eight" onClick="document.calculator.ans.value+='8'">
</td>
<td align="center">
<input type="button" value="  9  " name="nine" onClick="document.calculator.ans.value+='9'">
</td>
<td align="center">
<input type="button" value="  /  " name="divide" onClick="document.calculator.ans.value+='/'">
</td>
</tr>
<tr>
<td align="center">
<input type="button" value="  4  " name="four" onClick="document.calculator.ans.value+='4'">
</td>
<td align="center">
<input type="button" value="  5  " name="five" onClick="document.calculator.ans.value+='5'">
</td>
<td align="center">
<input type="button" value="  6  " name="six" onClick="document.calculator.ans.value+='6'">
</td>
<td align="center">
<input type="button" value="  *  " name="multiply" onClick="document.calculator.ans.value+='*'">
</td>
</tr>
<tr>
<td align="center">
<input type="button" value="  1  " name="one" onClick="document.calculator.ans.value+='1'">
</td>
<td align="center">
<input type="button" value="  2  " name="two" onClick="document.calculator.ans.value+='2'">
</td>
<td align="center">
<input type="button" value="  3  " name="three" onClick="document.calculator.ans.value+='3'">
</td>
<td align="center">
<input type="button" value="  -  " name="subtract" onClick="document.calculator.ans.value+='-'">
</td>
</tr>
<tr>
<td align="center">
<input type="button" value="  C  " name="clear" onClick="document.calculator.ans.value=''">
</td>
<td align="center">
<input type="button" value="  0  " name="zero" onClick="document.calculator.ans.value+='0'">
</td>
<td align="center">
<input type="button" value="  =  " name="equal" 
  onClick="document.calculator.ans.value=eval(document.calculator.ans.value)">
</td>
<td align="center">
<input type="button" value="  +  " name="add" onClick="document.calculator.ans.value+='+'">
</td>
</tr>
</table>
 
</form>
 
</body>
</html>

Buy Now

JUST ENTER THIS CODE:

<input TYPE="submit" VALUE="Buy Now" STYLE="background-color:00BFFF"><style
type="text/css"> <!-- INPUT { background-color: blue; border-color:
efefef; color: black; font-family: arial, verdana, ms sans serif; font-weight:
bold; font-size: 12pt; text-align: right; } --> </style>

Mouse Over Link

Link Text Here

JUST ENTER THIS CODE:

<a href=" "onmouseover="parent.location='URL Here'"> Link Text Here</a>

Auto Pop-Up Window

JUST ENTER THIS CODE:

<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=NUMBER BETWEEN 1 - 800 HERE,
height=NUMBER BETWEEN 1 - 800 HERE,scrollbars=yes');
return false;
}
//-->
</SCRIPT>

<BODY onLoad="popup('URL OF POP-UP HERE', 'ad')">

Date & Time Javascript

JUST ENTER THIS CODE:

<SCRIPT TYPE="text/javascript">
<!--
document.write("Currently: " + new Date());
//-->
</SCRIPT>

Sound Player

JUST ENTER THIS CODE:

<EMBED 
    SRC="URL OF SONG/RADIO/BACKING MUSIC/ HERE"
    HEIGHT=60 WIDTH=144
    VOLUME=Your Volume Between 1 - 100 Here
    >