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 11-01-2002, 08:01 PM   #1
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
open a window in parent frame - html help

i need to have a link from a popup open in the PARENT window (meaning the window that originally created the popup) and close the popup. i need whatever java/html is needed 2 make this happen (or related links plz.)

thx in advance

__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 08:09 PM   #2
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
if browser A opens a popup...browser A has full controll over the popup.
The popup can never have control over the parent!!

so if you do tmpw=window.open(.......)
then you can do
from the parent

tmpw.window.close or tmpw.document.url=


I dont know exactly what you want but i hope it makes sense,
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 08:52 PM   #3
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
Quote:
Originally posted by grumpy
if browser A opens a popup...browser A has full controll over the popup.
The popup can never have control over the parent!!
not true... the popup can indeed control the parent.
__________________
SIG TOO BIG
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 08:54 PM   #4
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
tell me amp... i would like to know.

or you mean parent.window and that stuf?
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 08:54 PM   #5
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
plz elaborate
__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 08:56 PM   #6
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
it's complicated.... lemme try and put the code together for you....
__________________
SIG TOO BIG
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:04 PM   #7
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
awesome thanks

i found java 2 open the child and keep on top, and pass info, but its via a form (damnit!!!)

no luck finding href code 2 send back 2 the parent as you exit child

__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:13 PM   #8
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
okay.... lemme know if this is what you're looking for:

(link removed)
__________________
SIG TOO BIG

Last edited by Amputate Your Head; 11-01-2002 at 09:34 PM..
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:15 PM   #9
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
perfect! that is exactly what i need



*deletes browser cache so IE6 will let him src it*
__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:21 PM   #10
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
okay.... like I said, it's complicated.

1. You need some code in your main parent head, and there's some things you'll need to change in that section of code...

2.then of course, you need the page that you're ultimately sending back to the parent....

3. you need to set your intial link for the popup very specifically.

4. You need to make sure all the paths are set up correctly in all the code in all these files.

5. You need a javascript file that carries the bulk of the code, which will also hafta be modified.

6. you need the popup page.... again, which will need to be modified.

there's basically 4 main files you need to make this work:
Main page
Popup page.
Javascript file.
Final destination page.

Obviously I can't post all that here.... but if you want, I'll send you a zip file, and you can go through all the code and make the changes to fit what you need. Just check out the paths and it should all make sense to you in no time. This one is set up for the popup to carry a video, but you could set it up for practically anything.... put an image on there, or some Flash, or whatever.
__________________
SIG TOO BIG
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:41 PM   #11
XXXPaysiteDesign
Confirmed User
 
Join Date: Mar 2002
Location: Everett, WA
Posts: 2,201
thanks!
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

Last edited by XXXPaysiteDesign; 11-01-2002 at 09:43 PM..
XXXPaysiteDesign is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:41 PM   #12
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
[email protected] plz
__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:45 PM   #13
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
yours bounced bro....
__________________
SIG TOO BIG

Last edited by Amputate Your Head; 11-01-2002 at 09:49 PM..
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:47 PM   #14
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
.
__________________
SIG TOO BIG

Last edited by Amputate Your Head; 11-01-2002 at 09:49 PM..
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:48 PM   #15
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
motherrrrrr

i just sent myself 1, mayb ur ISP is on a block list or somethin

webmaster at sexatm dot com

thx
__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:49 PM   #16
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
sent
__________________
SIG TOO BIG
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:51 PM   #17
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
found a samplehttp://www.dwfaq.com/Tutorials/JavaS...pToParent1.asp
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:53 PM   #18
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
yep.... that's basically the same thing grumpy...
__________________
SIG TOO BIG
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 09:55 PM   #19
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
self.opener.location =url

so you also have control over self.opener.document

self.opener is the parent

use self.opener in the script on the popup

Hope this helps
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 10:04 PM   #20
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
I like Iframes


But netscape dont
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 11:01 PM   #21
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
ok got a prob

it opens a page but im tryin 2 call a cgi in a template

so the way u have it set up it cant call the script and load the content

let me know if i should gfmyself and search html forums

__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 11:12 PM   #22
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
2 clarify a little:

i have to load the javascript inside a cgi, that pops up and reads in a template on queried data

then when closed, close that popup and return the the cgi page that did that

hehe this is getting ridiculous

__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 11:18 PM   #23
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Quote:
Originally posted by dickblast
2 clarify a little:

i have to load the javascript inside a cgi, that pops up and reads in a template on queried data

then when closed, close that popup and return the the cgi page that did that

hehe this is getting ridiculous

I havent mixed much Javascript with perl, is the cgi script not printing out the Javascript right? I am not totally sure what your trying to do
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 11:19 PM   #24
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
Quote:
Originally posted by dickblast
2 clarify a little:

i have to load the javascript inside a cgi, that pops up and reads in a template on queried data

then when closed, close that popup and return the the cgi page that did that

hehe this is getting ridiculous

you're gonna need a programmer for that bro.... that's beyond my scope.
__________________
SIG TOO BIG
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 11:23 PM   #25
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Quote:
Originally posted by Amputate Your Head


you're gonna need a programmer for that bro.... that's beyond my scope.
I noticed that you strongly not recommend IIcinternet hosting services, did you get fucked over by them? I am curious being that I currently have a server over there

Last edited by kenny; 11-01-2002 at 11:25 PM..
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2002, 11:26 PM   #26
ChrisH
Confirmed User
 
Join Date: Aug 2001
Location: New York
Posts: 1,355
Quote:
Originally posted by grumpy
found a samplehttp://www.dwfaq.com/Tutorials/JavaS...pToParent1.asp
Thanks for that link man!!
ChrisH is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2002, 01:11 AM   #27
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
got it 2 open in the right window but is there code 2 close the child window when u click a link in it? html i guess cause the java is funky. thx
__________________
Ben Curtis is a Ninja
dickblast is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2002, 01:49 AM   #28
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
Quote:
Originally posted by dickblast
got it 2 open in the right window but is there code 2 close the child window when u click a link in it? html i guess cause the java is funky. thx

You are using frames in a webpage along with Javacript and cgi perl, there isnt a soul here that can make this work without admin access or acute information from you
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2002, 01:50 AM   #29
Fire
Confirmed User
 
Join Date: Feb 2002
Posts: 486
Hey dickblast.. want my help???

Fire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-02-2002, 02:24 AM   #30
dickblast
Confirmed User
 
Join Date: Oct 2002
Location: Ben Curtis's Tour Bus
Posts: 666
Quote:
Originally posted by Fire
Hey dickblast.. want my help???

i think u misread the title of the thread, i said html help not peanut gallery

thanks 4 the attempt guys ill get back 2 u tomorrow with more details, given up on this biatch fer now
__________________
Ben Curtis is a Ninja
dickblast 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.