Javascript Essentials Part 2

by Hiroshi on November 1, 2008

in Essentials, Javascript

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">
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
</script>

Related Posts

Pages: 1 2 3 4 5 6 7 8

Previous post:

Next post: