Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script for a window

Status
Not open for further replies.

killbuzz

Technical User
Mar 21, 2001
103
US
Hi all, I'm trying to figure out how heck to make a window that is the right size for every resolution heres a site that has what i want. after the intro the window size is perfect. How would i do that?

I think it would be java script, but is there a script that fits the size of everyones resolution?

Thanks
 
There's a detection script (detect.swf) on that first page, which must detect the user's resolution. The user has probably been redirected to a page (html) corresponding to the resolution he's using, when the second popup opens up.

Detection is usually done with javascript, but in this case it may have been done with a Flash movie, this detect.swf. Regards,

oldman3.gif
 
So how would i do that? like with the swf file and the java script?
 
With Flash MX, I think you can now determine the user's resolution within a Flash movie, so that must be how it was done here, although I can't be sure of that, nor have I really look into these new features of MX.
With javascript... You would start by finding yourself a "sniffer" script, that will tell you the user's resolution, you then simply open a popup according to that foundout resolution.

Did something like that for my grumpy friend Carl sometime ago. Will look for it, and may post it if I find it.
But don't get too excited, this ain't as easy as it looks like, and it's a lot of work! Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top