Killziker

html codes

All the codes here are from http://www.freewebs.com/codesupply and http://www.freewebs.com/html-supply.

How you use these codes

First you copy them then past them onto your site. If you are a freewebs user then go to the tool bar (to the left on the screen) and click on the <H> then past the code into the box that appears and click insert. If you are using the old feeewebs editer Then just switch to the new editer to be able to post the HTML code.

 

Set Window Position

<script>
self.moveTo(100,200);
</script>

(Set the position in the parentheses.  The first number is the x (that is, left) position; the second number is the y (that is, top) position.)

 

Different direction Marquee code:

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

 

Different Speed Marquee HTML Code:

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

 

Wavey Marquee:

<MARQUEE style="FILTER: wave(add=0,phase=1, freq=1,strength=15,color=.FFFFFF)" scrollAmount=2 scrollDelay=65 direction=up behavior=alternate height=80>
<CENTER>1ST LINE YOUR TEXT HERE<BR>2ND LINE TEXT HERE</CENTER></MARQUEE>

 

Multi-Marquee

<div
align="center"> <marquee bgcolor="#000080" scrollamount="2"
direction="up" loop="true" width="35%"> <center>
<font color="#ffffff" size="+1"><strong> TEXT HERE<br> TEXT HERE<br> TEXT HERE<br> <br>
TEXT HERE </strong></font> </center> </marquee></div>
 
Image Marquee:
 
<MARQUEE behavior="scroll" direction="left" width="200"><a target="_blank" href="Your Website Here"><img src="Your Image URL" width="100" height="125"></MARQUEE></a>
 

Image Marquee HTML Code:

<marquee><img src="Image URL"></marquee>

 

Normal Marquee HTML Code:

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

 

To get a background image:

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

...Note replace colour with the colour number you want and URL with address of your image.

 

Place an image on your page:

<img src="URL of image">

 

Make an image a link:

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

 

Coloured Scrollbar:

<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>

 

Mouseover Pop-up:

Linked Text

Put your mouse over "linked text"

HTML Code:

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

 

Make this site your home page Button:

<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>

 

2 Field Form:

<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>

 

Link Text button:

<INPUT TYPE="button"
VALUE="TEXT HERE"
onClick='alert("TEXT")'></FORM>

 

Pop-Up On Entrance OF Website:

<SCRIPT language="JavaScript">alert("YOUR TEXT HERE") </SCRIPT

 

Pop-up On Exit Of Site:

<BODY onUnload="alert('YOUR TEXT HERE');">

 

Pop-Up With Cancel Option:

<SCRIPT language="JavaScript">confirm("TEXT HERE")</SCRIPT>

 

Mouse-over Text Link:

<!--StartFragment--><a href="
"onmouseover="parent.location='Your Website  Here'">
Link Text Here</a>

 

Background Music:

<bgsound src="URL of song">

 

Make This Site Your Homepage button:

<FORM>
<INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Your Website Here');">
</FORM>

 

Back to Previous Page button:

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

Add Website To Favourites button:

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

 

Refresh Window button:

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

 

Open New Window button:

<form>
<input type="button" value="Open Window"
onclick="window.open('Your Website Here')">

</form>

 

That is all the codes I have go to http://www.freewebs.com/codesupply and http://www.freewebs.com/html-supply for more html codes.