Your host:
Stephen Chapman
Stephen Chapman

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)

  1. Don't like Frames?
    A simple javascript command is all it takes to unframe your page.  
  2. Password Protecting a Page?
    Password protecting your page using Javascript
     
  3. Selecting a Different Page if Javascript is Disabled
    Invisibly selecting between different pages depending on whether javascript is supported or not.
     
  4. Welcoming Visitors to your Site
    Test for the first page your visitors have reached and display a welcome message.
     
  5. 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.
     
  6. Time Dependent Page Contents
    Changing the content of a web page based on the local time.
     
  7. 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.
     
  8. Displaying "Random" Text or Images
    How to write a javascript that randomly selects one of several alternatives.
     
  9. Using Alert to Debug your Script
    You can easily debug problems with your javascript using alert.
     
  10. Dynamic Image Sizing
    Here's how to select between different sized images to display based on the screen resolution.
     
  11. Cross Browser Image Rollovers
    How to create a mouseover image change.
     
  12. Hot Spot Image Rollovers
    How to change an image when your visitor moves their mouse over different spots.
     
  13. Dynamic Pages
    Dynamically changing the content of a web page using Javascript.
     
  14. Changing Background Colours
    Dynamically changing the background colour of a web page.
     
  15. Stacking Order
    Controling what appears in front when objects are in the same position on the page.
     
  16. Alternate Page to Print
    Getting a different page to print than the one displayed.
     
  17. Passing Parameters using Cookies
    How to pass values between pages using cookies.
     
  18. Obtaining a Visitor's IP Address
    Javascript does not have access to the internet.
     
  19. Disable Select and Print
    Discouraging people from selecting and copying your page text.
     
  20. Disabling the Netscape Menu Bar
    Getting rid of the Netscape Menu bar to stop people using Netscape 7.0 to decrypt your page.
     
  21. Server Side Cookies?
    Can you use cookies server side?
     
  22. Colour Selection
    Choosing an appropriate colour combination.
     
  23. Hiding Javascript Source
    How to use PHP to hide your javascript source.
     
  24. Dynamic Page Content using Links
    A javascript that will allow visitors to click links to select what will display.

If you have a different javascript question please ask Felgall.

Javascript Compressor Javascript Formatter

go to top

Add to del.icio.us

Credit Counseling - Car Insurance - Flights - Loans