GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   open a window in parent frame - html help (https://gfy.com/showthread.php?t=86005)

dickblast 11-01-2002 08:01 PM

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

:thumbsup

grumpy 11-01-2002 08:09 PM

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,

Amputate Your Head 11-01-2002 08:52 PM

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. :glugglug

grumpy 11-01-2002 08:54 PM

tell me amp... i would like to know.

or you mean parent.window and that stuf?

dickblast 11-01-2002 08:54 PM

plz elaborate :thumbsup

Amputate Your Head 11-01-2002 08:56 PM

it's complicated.... lemme try and put the code together for you....

dickblast 11-01-2002 09:04 PM

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

:Hollering

Amputate Your Head 11-01-2002 09:13 PM

okay.... lemme know if this is what you're looking for:

(link removed)

dickblast 11-01-2002 09:15 PM

perfect! that is exactly what i need

:thumbsup :thumbsup

*deletes browser cache so IE6 will let him src it*

Amputate Your Head 11-01-2002 09:21 PM

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.

XXXPaysiteDesign 11-01-2002 09:41 PM

thanks!

dickblast 11-01-2002 09:41 PM

[email protected] plz :winkwink:

Amputate Your Head 11-01-2002 09:45 PM

yours bounced bro....

Amputate Your Head 11-01-2002 09:47 PM

.

dickblast 11-01-2002 09:48 PM

motherrrrrr

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

webmaster at sexatm dot com

thx :thumbsup

Amputate Your Head 11-01-2002 09:49 PM

sent

grumpy 11-01-2002 09:51 PM

found a samplehttp://www.dwfaq.com/Tutorials/JavaS...pToParent1.asp

Amputate Your Head 11-01-2002 09:53 PM

yep.... that's basically the same thing grumpy... :glugglug

grumpy 11-01-2002 09:55 PM

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

kenny 11-01-2002 10:04 PM

I like Iframes:glugglug


But netscape dont

dickblast 11-01-2002 11:01 PM

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 :winkwink:

:helpme

dickblast 11-01-2002 11:12 PM

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

:BangBang:

kenny 11-01-2002 11:18 PM

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

:BangBang:

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

Amputate Your Head 11-01-2002 11:19 PM

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

:BangBang:

you're gonna need a programmer for that bro.... that's beyond my scope. :glugglug

kenny 11-01-2002 11:23 PM

Quote:

Originally posted by Amputate Your Head


you're gonna need a programmer for that bro.... that's beyond my scope. :glugglug

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

ChrisH 11-01-2002 11:26 PM

Quote:

Originally posted by grumpy
found a samplehttp://www.dwfaq.com/Tutorials/JavaS...pToParent1.asp
Thanks for that link man!!

dickblast 11-02-2002 01:11 AM

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

kenny 11-02-2002 01:49 AM

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

Fire 11-02-2002 01:50 AM

Hey dickblast.. want my help???

:321GFY

dickblast 11-02-2002 02:24 AM

Quote:

Originally posted by Fire
Hey dickblast.. want my help???

:321GFY

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

thanks 4 the attempt guys ill get back 2 u tomorrow with more details, given up on this biatch fer now


All times are GMT -7. The time now is 02:35 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123