by Hiroshi on November 1st, 2008
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
- Javascript Essentials Part 6
- Javascript Essentials Part 5
- Javascript Essentials Part 4
- Javascript Essentials Part 3
- Javascript Essentials Part 1
- Use Any Font in Webpages As Text
- Advanced JS Calendar
- Create Simple Javascript Based Calendar
- Change Image Opacity Easily Using CSS or JS
- Create jQuery Smooth News Rotator
Author
Hiroshi (published 95 Posts on Web Style Press, Best Practices from all the Web, Build Better Websites)
