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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting window size + removing scroll bars

Status
Not open for further replies.

bongos

IS-IT--Management
Joined
Jan 21, 2002
Messages
2
Location
AU
Hey dudes,
Firstly thankyou for splendid forum - have found many answers over last few days searching through past topics.

One question though, I have external javascripts which open borderless windows of varying sizes. Each diff window loads a flash file. Is it possible to get the flash file to scale to the window size rather than having scroll bars popping up?

I have loaded it on this url just in case it helps: (the close window button is at bottom or window)

Many thanks for all the help, have a great day
 
hi

try to play with document.applets[0].width/height

(some sort of
Code:
onload=function(){
//ie only
document.applets[0].width=document.body.clientWidth
document.applets[0].height=document.body.clientHeight
}
) Victor
 
cool - many thanks, just wondering though - im a real novice so i might ask where that script would sit on the page?

many thanks:)
 
in any script section (between <script> tags, either in head section or wherever you want..)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Victor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top