Surf City Domains

Home  |  Studio  |  Templates  |  Meta-Tags  |  Buttons  |  ROR Maps

 

Javascript Snippets

Automatic Print Script

Print the current page. Insert where you want the link to display.


No Right Click

Place this script between the head tags.


Bookmark Page

Paste in the body of your document where you want the link to appear.
Only works for IE5+ browsers.


Close Window Button


Add to the body of your popup windows so that they can be closed easily.


Close Window Link

Close Window


Copyright Update

Updates the current year on copyright notices.
Example:


Back to Top of Page

Back to top of page
Use this script if you have a long page.


Current Date

Adds the date in the form dd month yyyy.
Copy and paste into the document where you want it to appear.
Example:


Document Last Modified

Insert where you want the page last modified date to appear.
Example:


Date Last Modified

Example:


Highlight the Background of Text



Window Maximiser

Place in the head of document.


Keep Window In Focus

Make sure a window remains in focus, on top.


Save Page

IE4+ browsers have allows you to call the SaveAs dialog.
Includes an alternate alert message for non-IE browsers.
Paste in the head of document.


Onload Event

This stops the page being saved until it is fully loaded.


SaveAs Dialog


Current Location

Shows where users are currently located on your site.

Insert in the body where you want the information to appear.


Default Statusbar Message



Cross Browser Background Sound

Copy and paste into the body of your document. Change the name of the mid file.


Time Of Day Image Change

Show an image of choice depending on the viewer's time.
Change the URL for your images. Images should be the same size.
Change the hours. Paste the code where you want the image to appear.


Display the time and date




Countdown clock

Only days until Christmas!


Jump Box

Access any Web Address from your page.


Translate Your Site

Translate your site from English
To German, French, Spanish, Portuguese or Italian.


Back to Previous Page


Enable your visitors to navigate your web site.



Share/Save/Bookmark Bookmark Surf City Domains

 

bottom
t_left t_right
About Us   |   Refer Us   |   Link to Us   |   Site Map   |   Terms of Use   |   Privacy Policy   |   Children's Policy

© 2006 -   Surf City Domains   All Rights Reserved
b_left b_right