|   |   |   | ||||
| 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. | 
| 
 | |||||||
| New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. | 
|  | Thread Tools | 
|  01-12-2013, 10:42 AM | #1 | 
| Confirmed User Industry Role:  Join Date: Jul 2006 
					Posts: 581
				 | 
				
				onclick popup script not working with iframe?
			 Hi there, Wondering if anyone can help me get my onclick popup script working with iframes on my site. This onclick script works awesome, if a visitor click somewhere on my page the pop is working however not on iframe i included. Anyone knows how to get this working? LEVD 
				__________________ | 
|   |         | 
|  02-03-2013, 09:45 AM | #3 | 
| see you later, I'm gone Industry Role:  Join Date: Oct 2002 
					Posts: 14,127
				 | I am not sure of the best solution but you could put a transparent div over the iframe to capture the click and then hide the div so that they can actually click into the iframe. Other than that you might be able to pass the click from the iframe back to the parent and make it work like that. . 
				__________________ All cookies cleared! | 
|   |         | 
|  02-06-2013, 11:52 AM | #5 | |
| see you later, I'm gone Industry Role:  Join Date: Oct 2002 
					Posts: 14,127
				 | Quote: 
 I am using a transparent gif in a div over the whole page. When you click on it it launches a new page in another tab and sets the div to display:none. You could do the same thing on top of an iframe. Do a view source on it. . 
				__________________ All cookies cleared! | |
|   |         | 
|  02-07-2013, 08:24 PM | #7 | 
| see you later, I'm gone Industry Role:  Join Date: Oct 2002 
					Posts: 14,127
				 | 
				__________________ All cookies cleared! | 
|   |         | 
|  02-08-2013, 05:24 AM | #8 | 
| Confirmed User Industry Role:  Join Date: Jul 2006 
					Posts: 581
				 | btw: i found a pretty advanced pop script that actually pops under also in Chrome, the ones i had always popped over in chrome. It has a lot of settings, i dont understand all of them, willing to share it with you, if you could be so kind to look at it and look at the settings and let me know. Can i contact you? 
				__________________ | 
|   |         | 
|  02-08-2013, 07:47 AM | #9 | |
| see you later, I'm gone Industry Role:  Join Date: Oct 2002 
					Posts: 14,127
				 | Quote: 
 . 
				__________________ All cookies cleared! | |
|   |         |