Javascript Essentials Part 2

In Javascript Essential Part-2 we will cover following tasks.

  • Page Fit to Screen
  • No Right Click (no alert)
  • No Right Click with alert
  • No Right Click on Images
  • Disable Image Toolbar script
  • Count Down (Live)
  • Count Up (Live) FF1+ IE5+ Opr7+
  • Scroll bar color – 16-A- Left Scroll bar
  • No Scroll bar
  • Auto Page Reloaded-Auto Refresh – Meta tag based – Button based -Live Refresh with countdown
  • Dynamically Re sized Iframe – Auto Re sizable Iframe (IE5+/NS6)
  • Switch content -Tabbed content – FF1+ IE5+ Opr7+
  • Special content switching with div
  • Switch content 2 – FF1+ IE5+

Page Fit to Screen

Add this script in the head section of page to switch the page position to fit the screen.

<script language="JavaScript">