|
|
|
Joined: May 2001
Posts: 315
Member
|
Member
Joined: May 2001
Posts: 315 |
Does anyone know how to make a page come up in a certain size that you set through Javascript/HTML?
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Do you mean something like this? http://www.stonecrick.com Click on the Link Us button on the bottom of the page.
|
|
|
|
Joined: May 2001
Posts: 315
Member
|
Member
Joined: May 2001
Posts: 315 |
Yes just like that Tech-Ni-Kal. I want it to automatically open up in a specific size. (Without using the link).
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
All you have to do is add this code to your page: Head tag: Body Tag: take out the space between on & Load though, it's the only way I could post the onload code. It should work  .
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Or just make [ July 27, 2001 05:48 AM: Message edited by: LK ]
|
|
|
|
Joined: Apr 2001
Posts: 342
Member
|
Member
Joined: Apr 2001
Posts: 342 |
How is it done by clicking a button (image)? I would look on javascript city, but I can't be arsed 
[ Linked Image] Sex is like air, you don't realise how important it is 'til you're not getting any
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
This is from my chat mod:
|
|
|
|
Joined: Apr 2001
Posts: 342
Member
|
Member
Joined: Apr 2001
Posts: 342 |
Hmm...there's no reference to an image in there? I don't understand. Me iz stoopid 
[ Linked Image] Sex is like air, you don't realise how important it is 'til you're not getting any
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
After the code I posted above, type 
|
|
|
|
Joined: Apr 2001
Posts: 342
Member
|
Member
Joined: Apr 2001
Posts: 342 |
Ok, I tried that but when the popup opens I get a page cannot be displayed error. Any ideas?
[ Linked Image] Sex is like air, you don't realise how important it is 'til you're not getting any
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Don't really use $vars_config{CGIURL}/ultimatebb.cgi?ubb=chat&instructions=true 
|
|
|
|
Joined: Apr 2001
Posts: 342
Member
|
Member
Joined: Apr 2001
Posts: 342 |
When I remove that the window doesn't popup..
[ Linked Image] Sex is like air, you don't realise how important it is 'til you're not getting any
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|