Oz Web Hub : the spot for the web design beginner

Home > Java scripts > Web resources

Search box

Place between HEAD tags

Now place next script in BODY where you want the search box to appear

 <form name="search" onSubmit="return findInPage(this.string.value);">
<font size=3><input name="string" type="text" size=15 onChange="n = 0;"></font><input type="submit" value="Find"></form>

Back to Javascripts index

Pop up slideshow javascript

 

Next is the HTML to insert so that people will click to open the slide show. Place where you want to on your page.

<a href="slideshow.html" onclick="NewWindow(this.href,'Fred','500','300','no','center'); return false" onfocus="this.blur()">Slide Show</a>


You can rename 'Fred'. That is the name of the window it will open to. You can change the sizes too. Now make the pop up window. The following is the code for that page. You can make changes to it. Obviously you name your images with your file names.

  

Back to Javascripts index

Status bar text

Change the text to suit.

Place between HEAD TAGS



  Tell a friend



Place where you want to in the Body.
<form name="eMailer"&gt;
Tell a friend:
><input type="text" name="email" size="26" value=" Enter Address Here" onFocus="this.value=''" onMouseOver="window.status='Enter email address here and tell a friend about this site...'; return true" onMouseOut="window.status='';return true"&gt;
><br>
<input type="button" value="Send this URL" onMouseOver="window.status='Click to send an email (with this page address) to a friend! Enter email address above...'; return true" onMouseOut="window.status='';return true" onClick="mailThisUrl();"&gt;
></form>

Back to Javascripts index

straight to the top

© Jenny Campbell