I wanna resize the window of my site when it is loaded, so it fits my page. Does anyone have a script to make this happen?
Thanks, Koenie
21 Replies - 2279 Views - Last Post: 13 July 2002 - 06:48 PM
Replies To: Resize When Loaded
#2
Re: Resize When Loaded
Posted 13 July 2002 - 09:42 AM
you mean like this?
i use this code:
it pulls up an error message a lot though. so if someone else knows a better error free code plz write it here.
i use this code:
<a href="javascript: boredesigns" onclick="window.open('url to open', 'NewWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=515,height=410')"><img src="img.jpg" border="0">or link name</a>
it pulls up an error message a lot though. so if someone else knows a better error free code plz write it here.
#3
Re: Resize When Loaded
Posted 13 July 2002 - 09:47 AM
here's the way i do it:
then to call it:
obviously there's all the properties which you can change and further more, i've never gotten an error doing this.
i don't know if that's what you're looking for but perhaps it will satisfy thursday's child in what he's looking for.
<script language="Javascript">
function popUp(){
window.open("pageyouwanttoopen.htm","","height=211,width=164,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,left=0,top=0")
}
</script>
then to call it:
<A HREF=javascript:popUp();></A>
obviously there's all the properties which you can change and further more, i've never gotten an error doing this.
i don't know if that's what you're looking for but perhaps it will satisfy thursday's child in what he's looking for.
#5
Re: Resize When Loaded
Posted 13 July 2002 - 09:55 AM
thursday said:
oi i'm a girl
and thank you.
oh right on, another girl, i'm one as well
#6
Re: Resize When Loaded
Posted 13 July 2002 - 09:58 AM
coolbee and i love your thundercats/transformers/fraggle rock/jetsons/whatever other 80's cartoon you got stashed there icon ^.^
#7
Re: Resize When Loaded
Posted 13 July 2002 - 10:01 AM
thursday said:
coolbee and i love your thundercats/transformers/fraggle rock/jetsons/whatever other 80's cartoon you got stashed there icon ^.^
yeah, i was on a revisit my past kick when i did my avatar
#8
Re: Resize When Loaded
Posted 13 July 2002 - 10:05 AM
got a thundercats badge, bumper sticker and t-shirt. that was one of my favourite cartoons.
oh and the other day i bought my little pony the movie at a pawn shop for $1.50. whatever idiot sold that could've gotten at least $20 for that (sorry not for sale ^.^)
i'm so an 80's child.
*edit*
oi i forgot, back in september when i went to amazon in new orleans i met this guy there that's got the autobots symbol tattooed on one leg and the decepticon symbol on the other. *sigh* a man after my own heart (don't tell my boyfriend that
)
oh and the other day i bought my little pony the movie at a pawn shop for $1.50. whatever idiot sold that could've gotten at least $20 for that (sorry not for sale ^.^)
i'm so an 80's child.
*edit*
oi i forgot, back in september when i went to amazon in new orleans i met this guy there that's got the autobots symbol tattooed on one leg and the decepticon symbol on the other. *sigh* a man after my own heart (don't tell my boyfriend that
#9
Re: Resize When Loaded
Posted 13 July 2002 - 10:10 AM
coolbee, so do you mind me asking how old you are?
my little pony's rocked, oh and do you remember rainbow bright?
my little pony's rocked, oh and do you remember rainbow bright?
#10
Re: Resize When Loaded
Posted 13 July 2002 - 11:07 AM
i'm twenty four and rainbow brite was cool but i'm a bigger fan of care bears.
#11
Re: Resize When Loaded
Posted 13 July 2002 - 11:15 AM
i was just about to ask about care bears...do you remember the wuzzles?
#12
Re: Resize When Loaded
Posted 13 July 2002 - 11:21 AM
yes i do ^.^
oi it seems we have hijacked the thread.
anyways... do you remember the mysterious cities of gold? or moondreamers?
oi it seems we have hijacked the thread.
anyways... do you remember the mysterious cities of gold? or moondreamers?
#13
Re: Resize When Loaded
Posted 13 July 2002 - 11:27 AM
i remember moondreams, and i think i vaguley remember the misterious cities of gold...do you remember he-man and she-ra?
#14
Re: Resize When Loaded
Posted 13 July 2002 - 11:36 AM
Anywho...
I think what he/she was asking was how to resze the main site not open a popup...
The 4+ browsers have a method built in to doing just that.
Cheers Sam
I think what he/she was asking was how to resze the main site not open a popup...
The 4+ browsers have a method built in to doing just that.
top.resizeTo(screen.width,screen.height);
Cheers Sam
#15
Re: Resize When Loaded
Posted 13 July 2002 - 11:37 AM
where can we read more about that function?
|
|

New Topic/Question
Reply


MultiQuote






|