Ever made that PERFECT site that was for a certain resolution?If so, maybe you made a second one for a larger/smaler resolution?But-- how to let your visitors know what is best for them...We could send them an alert message to tell them what their's is.Or we could simply use JavaScript to redirectbased on what resolution it detects....This tutorial will show you how!
This tutorial shows you how to make frames and open subframes within the frame.You will learn how to preserve the function of back button and prevent opening your frameset page within another (foreign) frame. The searchengine indexing problem will be overpassed by giving some content within the Nonframes-Tag.This tutorial intend to give you a quick fix, how to make a professional website with frames.
This bit of script sets 3 variables to 1 or 0 depending on what flavour browser is being used to display the page. These variables can then be used to decide upon which script elements/variation should be used.
With this method you don't have to store or calculate the position to which you need to scroll you window. Very useful technique for chat applications or for dynamic content windows.
These handy functions are most useful when you are trying to keep a dynamic element in view, even if the user scrolls the page. These functions return the number of pixels the page has been scrolled by.
Two tiny functions that return the available width and height inside the browser window. These functions can be used as variables and as the dimensions are calculated every time they are used, your script will always be using the current window size no matter what the user does to the window.