![]() |
Does anyone know where I can find a java script for a website that compacts or incompacts the script when the window is either compact or not. It's the one that if you resize your window, the script within the window resizes as well. Please tell me where to find the script, thanx
|
you mean Onresize?
[code:1]OnResize.window Alert ('DON'T RESIZE ME AGIAN! PIG!');[/code:1] Just to answer your question, the script minimizes when you minmize the window, but it still runs, that way once you repull it back up, it still works. Besides having to rego to the server and grab the javascript. |
So what is the code to onresize
|
O_o! you didn't see it in my post!?
It's a DOM. Quote:
then agian, you can just take off the .window and use .document, this is the W3C's ID DOM, so thus, if your trying to make a non-cross browser site, I would use Netscapes Layer (Which sucks) DOM for Netscape and IE's ALL (4.0 and up has it, 5.0 put in the ID DOM, and the ID DOM is now standard in IE, though you can use the ALL) DOM for IE. |
Hey thank you so much "Squal87" :)
|
| All times are GMT -7. The time now is 05:21 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Resources saved on this page: MySQL 0%