View Full Version : Resizing Pages for Cross Reso
webdirect
01/24/2005, 14:11
Apparently available is a very short couple of line piece of code that makes pages resize for all resolutions.
Can anybody advise me on how to use this and where to find it ?
Thanks
Liam
Apparently available is a very short couple of line piece of code that makes pages resize for all resolutions.
Can anybody advise me on how to use this and where to find it ?
Thanks
Liam
i have used that once.. cant remember.. it was javascript.. check free java script resources site.. you will fine check "images" section
The below javascript code will resize the window to the available space:
<SCRIPT language="JavaScript">
<!-- START
if (top.frames.length!=0)
top.location=self.document.location;
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight )
// END -->
</script>
webdirect
01/24/2005, 14:23
Thanks Justin and DCM.
This will sound really novice but I am oblivious. IF you don't use this code then how can you make pages cross reso ?
Also where should this code be inserted....
Cheers
Liam
The below javascript code will resize the window to the available space:
<SCRIPT language="JavaScript">
<!-- START
if (top.frames.length!=0)
top.location=self.document.location;
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight )
// END -->
</script>
thanks justin
webdirect insert it in popup/page where image is located
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.