|   |   |   | ||||
| 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. | 
|    | 
| 
 | |||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
|  | Thread Tools | 
|  11-01-2002, 08:01 PM | #1 | 
| 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 | 
|   |           | 
|  11-01-2002, 08:09 PM | #2 | 
| Too lazy to set a custom title 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 | 
|   |           | 
|  11-01-2002, 08:52 PM | #3 | |
| There can be only one Industry Role:  Join Date: Aug 2001 Location: Somewhere else 
					Posts: 39,075
				 | Quote: 
  
				__________________ SIG TOO BIG | |
|   |           | 
|  11-01-2002, 08:54 PM | #4 | 
| Too lazy to set a custom title 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 | 
|   |           | 
|  11-01-2002, 08:54 PM | #5 | 
| Confirmed User Join Date: Oct 2002 Location: Ben Curtis's Tour Bus 
					Posts: 666
				 | plz elaborate   
				__________________ Ben Curtis is a Ninja | 
|   |           | 
|  11-01-2002, 08:56 PM | #6 | 
| There can be only one 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 | 
|   |           | 
|  11-01-2002, 09:04 PM | #7 | 
| 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 | 
|   |           | 
|  11-01-2002, 09:13 PM | #8 | 
| There can be only one 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 | 
|   |           | 
|  11-01-2002, 09:15 PM | #9 | 
| 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 | 
|   |           | 
|  11-01-2002, 09:21 PM | #10 | 
| There can be only one 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 | 
|   |           | 
|  11-01-2002, 09:41 PM | #11 | 
| 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. | 
|   |           | 
|  11-01-2002, 09:41 PM | #12 | 
| Confirmed User Join Date: Oct 2002 Location: Ben Curtis's Tour Bus 
					Posts: 666
				 | 
				__________________ Ben Curtis is a Ninja | 
|   |           | 
|  11-01-2002, 09:45 PM | #13 | 
| There can be only one Industry Role:  Join Date: Aug 2001 Location: Somewhere else 
					Posts: 39,075
				 | yours bounced bro.... 
				__________________ SIG TOO BIG | 
|   |           | 
|  11-01-2002, 09:47 PM | #14 | 
| There can be only one Industry Role:  Join Date: Aug 2001 Location: Somewhere else 
					Posts: 39,075
				 | . 
				__________________ SIG TOO BIG | 
|   |           | 
|  11-01-2002, 09:48 PM | #15 | 
| 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 | 
|   |           | 
|  11-01-2002, 09:49 PM | #16 | 
| There can be only one Industry Role:  Join Date: Aug 2001 Location: Somewhere else 
					Posts: 39,075
				 | sent 
				__________________ SIG TOO BIG | 
|   |           | 
|  11-01-2002, 09:51 PM | #17 | 
| Too lazy to set a custom title 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 | 
|   |           | 
|  11-01-2002, 09:53 PM | #18 | 
| There can be only one Industry Role:  Join Date: Aug 2001 Location: Somewhere else 
					Posts: 39,075
				 | yep.... that's basically the same thing grumpy...   
				__________________ SIG TOO BIG | 
|   |           | 
|  11-01-2002, 09:55 PM | #19 | 
| Too lazy to set a custom title 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 | 
|   |           | 
|  11-01-2002, 10:04 PM | #20 | 
| Confirmed User Industry Role:  Join Date: Mar 2002 
					Posts: 7,245
				 | I like Iframes   But netscape dont | 
|   |           | 
|  11-01-2002, 11:01 PM | #21 | 
| 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 | 
|   |           | 
|  11-01-2002, 11:12 PM | #22 | 
| 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 | 
|   |           | 
|  11-01-2002, 11:18 PM | #23 | |
| Confirmed User Industry Role:  Join Date: Mar 2002 
					Posts: 7,245
				 | Quote: 
 | |
|   |           | 
|  11-01-2002, 11:19 PM | #24 | |
| There can be only one Industry Role:  Join Date: Aug 2001 Location: Somewhere else 
					Posts: 39,075
				 | Quote: 
  
				__________________ SIG TOO BIG | |
|   |           | 
|  11-01-2002, 11:23 PM | #25 | |
| Confirmed User Industry Role:  Join Date: Mar 2002 
					Posts: 7,245
				 | Quote: 
 | |
|   |           | 
|  11-01-2002, 11:26 PM | #26 | |
| Confirmed User Join Date: Aug 2001 Location: New York 
					Posts: 1,355
				 | Quote: 
 | |
|   |           | 
|  11-02-2002, 01:11 AM | #27 | 
| 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 | 
|   |           | 
|  11-02-2002, 01:49 AM | #28 | |
| Confirmed User Industry Role:  Join Date: Mar 2002 
					Posts: 7,245
				 | 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 | |
|   |           | 
|  11-02-2002, 01:50 AM | #29 | 
| Confirmed User Join Date: Feb 2002 
					Posts: 486
				 | Hey dickblast..  want my help???  | 
|   |           | 
|  11-02-2002, 02:24 AM | #30 | |
| Confirmed User Join Date: Oct 2002 Location: Ben Curtis's Tour Bus 
					Posts: 666
				 | Quote: 
   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 | |
|   |           |