Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-04-2002, 10:35 AM   #1
gallerypost
Confirmed User
 
Join Date: Nov 2001
Posts: 711
javascript help

Hey guys.

I got a site that i'm opening as a popup with an odd window size, without a way to resize it, i want to place on that site a button that when the user click on it it'll change the page properties to the max window site and etc... (like a regular ie window).

Anyone can give me a sample how to do it ?

Thanks.
gallerypost is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-04-2002, 12:04 PM   #2
sexyclicks
Confirmed User
 
sexyclicks's Avatar
 
Industry Role:
Join Date: Mar 2002
Location: c9media.com
Posts: 3,240
target="_new" ????
sexyclicks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-04-2002, 03:11 PM   #3
Hind
So Fucking Banned
 
Join Date: Jul 2002
Posts: 384
Sure i can, use this in the HEAD tag of the window as a javascript:

********
function sendMe(url)
{
exit=false;
width = self.screen.availWidth;
height = self.screen.availHeight;
window.open(url,"windows_name","width="+width+",he ight="+height+",top=0,left=0,directories=yes,locat ion=yes,menubar=yes,scrollbars=yes,status=yes,tool bar=yes,resizable=yes,maximize=null,outerHeight=0, outerWidth=0");
window.close();
}
********

and this in the button as link:
a href="javascript:void(0)" onClick="sendMe('http://www.blabla.com/')"


let me know if worked for you.
Hind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2002, 03:57 PM   #4
Hind
So Fucking Banned
 
Join Date: Jul 2002
Posts: 384
Hey, it worked?
Hind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2002, 04:22 PM   #5
dodo
Confirmed User
 
Join Date: Jan 2002
Posts: 162
why not just href="javascript:sendMe('http://www.blabla.com/')"

_
__________________
FREE TRAFFIC TRADING on any host. Also try our 200% traffic back program.Click here
We host the scripts for you so you trade on our bandwidth.
dodo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2002, 04:26 PM   #6
Hind
So Fucking Banned
 
Join Date: Jul 2002
Posts: 384
mmm, good point...
Hind is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.