Resize When Loaded

  • (2 Pages)
  • +
  • 1
  • 2

21 Replies - 2279 Views - Last Post: 13 July 2002 - 06:48 PM

#1 Koenie  Icon User is offline

  • What?!

Reputation: 0
  • View blog
  • Posts: 1,313
  • Joined: 08-July 02

Resize When Loaded

Post icon  Posted 13 July 2002 - 07:29 AM

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
Is This A Good Question/Topic? 0
  • +

Replies To: Resize When Loaded

#2 thursday's child  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 87
  • Joined: 13-July 02

Re: Resize When Loaded

Posted 13 July 2002 - 09:42 AM

you mean like this?

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.

:P
Was This Post Helpful? 0
  • +
  • -

#3 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

Re: Resize When Loaded

Posted 13 July 2002 - 09:47 AM

here's the way i do it:

<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.
Was This Post Helpful? 0
  • +
  • -

#4 thursday's child  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 87
  • Joined: 13-July 02

Re: Resize When Loaded

Posted 13 July 2002 - 09:54 AM

oi i'm a girl :) and thank you.
Was This Post Helpful? 0
  • +
  • -

#5 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

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 :)
Was This Post Helpful? 0
  • +
  • -

#6 thursday's child  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 87
  • Joined: 13-July 02

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 ^.^
Was This Post Helpful? 0
  • +
  • -

#7 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

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
Was This Post Helpful? 0
  • +
  • -

#8 thursday's child  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 87
  • Joined: 13-July 02

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 ;))
Was This Post Helpful? 0
  • +
  • -

#9 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

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?
Was This Post Helpful? 0
  • +
  • -

#10 thursday's child  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 87
  • Joined: 13-July 02

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.
Was This Post Helpful? 0
  • +
  • -

#11 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

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?
Was This Post Helpful? 0
  • +
  • -

#12 thursday's child  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 87
  • Joined: 13-July 02

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?
Was This Post Helpful? 0
  • +
  • -

#13 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

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?
Was This Post Helpful? 0
  • +
  • -

#14 Cookie Mobster  Icon User is offline

  • nooneenooneenooonee
  • member icon

Reputation: 6
  • View blog
  • Posts: 4,729
  • Joined: 12-October 01

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.
top.resizeTo(screen.width,screen.height);



Cheers Sam
Was This Post Helpful? 0
  • +
  • -

#15 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

Re: Resize When Loaded

Posted 13 July 2002 - 11:37 AM

where can we read more about that function?
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2