![]() |
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 |
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, |
Quote:
|
tell me amp... i would like to know.
or you mean parent.window and that stuf? |
plz elaborate :thumbsup
|
it's complicated.... lemme try and put the code together for you....
|
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 |
okay.... lemme know if this is what you're looking for:
(link removed) |
perfect! that is exactly what i need
:thumbsup :thumbsup *deletes browser cache so IE6 will let him src it* |
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. |
thanks!
|
[email protected] plz :winkwink:
|
yours bounced bro....
|
.
|
motherrrrrr
i just sent myself 1, mayb ur ISP is on a block list or somethin webmaster at sexatm dot com thx :thumbsup |
sent
|
found a samplehttp://www.dwfaq.com/Tutorials/JavaS...pToParent1.asp
|
yep.... that's basically the same thing grumpy... :glugglug
|
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 |
I like Iframes:glugglug
But netscape dont |
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 |
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: |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
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
|
Quote:
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 |
Hey dickblast.. want my help???
:321GFY |
Quote:
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