Javascript Hints and Tips
We now have Package Deals to create and maintain your website for you.
(includes special prices for community groups and hobby clubs)
- Don't like Frames?
A simple javascript command is all it takes to unframe your page.- Selective Frame Breakout
Decide when your page should and shouldn't display in frames.
- Selective Frame Breakout
- Password Protecting a Page?
Password protecting your page using Javascript
- Selecting a Different Page if Javascript
is Disabled
Invisibly selecting between different pages depending on whether javascript is supported or not.
- Welcoming Visitors to your Site
Test for the first page your visitors have reached and display a welcome message.
- Creating a Pop-up or Pop-under Ad Window
How to create a new window using javascript.- Popup Window Tutorials
A tutorial series introducing you to how to create and manipulate popup windows with Javascript.
- Popup Window Tutorials
- Time Dependent Page Contents
Changing the content of a web page based on the local time.
- Assigning an Absolute Screen Position
Independent of Screen Resolution
You can position items on the web page independently of the window size with this javascript.
- Displaying "Random" Text or Images
How to write a javascript that randomly selects one of several alternatives.
- Using Alert to Debug your Script
You can easily debug problems with your javascript using alert.
- Dynamic Image Sizing
Here's how to select between different sized images to display based on the screen resolution.
- Cross Browser Image Rollovers
How to create a mouseover image change.
- Hot Spot Image Rollovers
How to change an image when your visitor moves their mouse over different spots.
- Dynamic Pages
Dynamically changing the content of a web page using Javascript.
- Changing Background Colours
Dynamically changing the background colour of a web page.
- Stacking Order
Controling what appears in front when objects are in the same position on the page.
- Alternate Page to Print
Getting a different page to print than the one displayed.
- Passing Parameters using Cookies
How to pass values between pages using cookies.
- Obtaining a Visitor's IP Address
Javascript does not have access to the internet.
- Disable Select and Print
Discouraging people from selecting and copying your page text.
- Disabling the Netscape Menu Bar
Getting rid of the Netscape Menu bar to stop people using Netscape 7.0 to decrypt your page.
- Server Side Cookies?
Can you use cookies server side?
- Colour Selection
Choosing an appropriate colour combination.
- Hiding Javascript Source
How to use PHP to hide your javascript source.
- Dynamic Page Content using Links
A javascript that will allow visitors to click links to select what will display.- Dynamic Page Content using Selection List
This variation on the above script uses a drop down list in place of the links.
- Dynamic Page Content using Selection List
- Blocking the Back Button
Can you use Javascript to disable the browser back button?
- Google Search
Using Javascript to prefill Google search fields.
- First Time Only
Using a Cookie to stop processing being performed if the page has been visited before.
- Priority Selections
Selecting from a list where the order of selection matters.
- Changing Stylesheets
Using Javascript to substitute one stylesheet for another.
- Changing Font Size
How to update font sizes using Javascript.
- Between Two Numbers
How to test if a number entered is between two values.
- Last Modified not Working
You can't always find out when a page was last modified.
- Multiple Dimensional Arrays in Cookies
Adam Docherty shows you how to build on my cookie toolbox.
- Passwords and Javascript
Why Javascript and password processing don't mix.
If you have a different javascript question please ask Felgall.


