php forum
php mysql forum
php mysql smarty
 
Topic Options
#108591 - 07/26/01 05:10 AM Window Size
afterlab Offline
Member

Registered: 05/12/01
Posts: 299
Loc: Dallas, Texas
Does anyone know how to make a page come up in a certain size that you set through Javascript/HTML?

Top
#108592 - 07/26/01 01:07 PM Re: Window Size
Tech-Ni-Kal Offline
Member

Registered: 05/23/01
Posts: 2685
Loc: » Ü § Å «
Do you mean something like this?


http://www.stonecrick.com


Click on the Link Us button on the bottom of the page.

Top
#108593 - 07/26/01 05:12 PM Re: Window Size
afterlab Offline
Member

Registered: 05/12/01
Posts: 299
Loc: Dallas, Texas
Yes just like that Tech-Ni-Kal. I want it to automatically open up in a specific size. (Without using the link).

Top
#108594 - 07/26/01 07:54 PM Re: Window Size
josh Offline
Member

Registered: 06/04/00
Posts: 510
Loc: USA
All you have to do is add this code to your page:

Head tag:
Code:
code:


Body Tag:
Code:
code:

take out the space between on & Load though, it's the only way I could post the onload code.

It should work smile.
_________________________
//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.

Top
#108595 - 07/27/01 05:43 AM Re: Window Size
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Or just make <body &#111nload="window.open('http://www.yoursite.com/popup.html', '_blank', 'width=300, height=400');"> wink

<FONT COLOR="#000000" SIZE="1">[ July 27, 2001 05:48 AM: Message edited by: LK ]</font>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#108596 - 07/28/01 12:32 PM Re: Window Size
FAT B0Y Offline
Member

Registered: 04/12/01
Posts: 345
Loc: Grimsby, UK
How is it done by clicking a button (image)? I would look on javascript city, but I can't be arsed laugh
_________________________

Sex is like air, you don't realise how important it is 'til you're not getting any

Top
#108597 - 07/28/01 12:48 PM Re: Window Size
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
This is from my chat mod:
Code:
code:
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#108598 - 07/29/01 06:07 AM Re: Window Size
FAT B0Y Offline
Member

Registered: 04/12/01
Posts: 345
Loc: Grimsby, UK
Hmm...there's no reference to an image in there? I don't understand. Me iz stoopid laugh
_________________________

Sex is like air, you don't realise how important it is 'til you're not getting any

Top
#108599 - 07/29/01 08:01 AM Re: Window Size
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
After the code I posted above, type <img src="blablabla" alt="blablabla" border="0"></a>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#108600 - 07/30/01 05:53 AM Re: Window Size
FAT B0Y Offline
Member

Registered: 04/12/01
Posts: 345
Loc: Grimsby, UK
Ok, I tried that but when the popup opens I get a page cannot be displayed error. Any ideas?
_________________________

Sex is like air, you don't realise how important it is 'til you're not getting any

Top
#108601 - 07/30/01 05:55 AM Re: Window Size
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Don't really use $vars_config{CGIURL}/ultimatebb.cgi?ubb=chat&instructions=true wink
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#108602 - 08/02/01 04:45 AM Re: Window Size
FAT B0Y Offline
Member

Registered: 04/12/01
Posts: 345
Loc: Grimsby, UK
When I remove that the window doesn't popup..
_________________________

Sex is like air, you don't realise how important it is 'til you're not getting any

Top


Who's Online
0 registered (), 27 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
Today at 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
Yesterday at 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks