NameSilo

Any one help me with Window Resizing?

SpaceshipSpaceship
SpaceshipSpaceship
NamecheapNamecheap
Watch

faction6

New Member
Impact
0
Hi guys, Im designing a web page that I need to link to directly from other sites. But when you open my page I want it to open to a specific size. The only way I know of doing this is to use java script on the link that you click to open the window, but as I will be linking to it from other sites and forums I will not be able to put a java script link in. So I was wondering if any one knew a way to put a script or some html into the actual HTML file its self?

Hope you guys can help (and I hope you get what I mean)

Cheers

Rick
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
•••
I had thought about that, but i was wondering if there was a way to build it straight into the page,
 
0
•••
Well think about it. If someone clicks your link and you have the window resize (with no menu/scroll bars I assume) what are they supposed to do when they're done with your site? They'd have to close that window and open a new browser. This is assuming you want to hide bars + resize. If you could give more information about what you're trying to do it might be easier to help.
 
0
•••
Well its to show images,

so i can have a list of images and links

the user can click them and it will go to a page that would fit the image.

But i want to be able to post these links on forums and many other places that dont allow for any more than the link its self to be put on them.



EDIT

its ok i have managed to figer it out:

<body onLoad="window.resizeTo(500,500);" >

thanx for the help

Rick
 
Last edited:
0
•••
faction6 said:
EDIT

its ok i have managed to figer it out:

<body onLoad="window.resizeTo(500,500);" >

Rick

That's a good one to know! Thanks :)
 
0
•••
You can do this:
<a href="http://www.google.com" onClick="NewWin=window.open('http://www.google.com', 'NewWin','toolbar=no,width=250,height=250'); return false;">Link</a>

*Edit*
You can also set status=no, scrollbars=no, position on screen, etc.
 
0
•••
There is nothing more annoying than my browser windows resizing on their own. Please, for the sake of happy browsing, don't use window resizing unless it's a pop-up window!
 
0
•••
faction6 said:
Well its to show images,

so i can have a list of images and links

the user can click them and it will go to a page that would fit the image.

But i want to be able to post these links on forums and many other places that dont allow for any more than the link its self to be put on them.





EDIT

its ok i have managed to figer it out:

<body onLoad="window.resizeTo(500,500);" >

thanx for the help

Rick

Good to hear you figured it out
 
0
•••
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back