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.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 01-12-2013, 10:42 AM   #1
levd
Confirmed User
 
levd's Avatar
 
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
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-03-2013, 06:57 AM   #2
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
Still looking for a solution..anyone?
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-03-2013, 09:45 AM   #3
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by levd View Post
Still looking for a solution..anyone?
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!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-06-2013, 02:56 AM   #4
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
Hi M8,

Something like this <div style="filter:alpha(opacity=50); opacity:0.5;">iframe</div>
But what do you mean with hide it after that?

LEVD
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-06-2013, 11:52 AM   #5
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by levd View Post
Hi M8,

Something like this <div style="filter:alpha(opacity=50); opacity:0.5;">iframe</div>
But what do you mean with hide it after that?

LEVD
A while back I put up a test of what I am talking about here http://www.partyafterdark.com/poptest/firstpage.htm

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!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-07-2013, 01:36 PM   #6
levd
Confirmed User
 
levd's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 581
Pretty awesome this works!
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-07-2013, 08:24 PM   #7
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by levd View Post
Pretty awesome this works!
Glad it worked for you

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-08-2013, 05:24 AM   #8
levd
Confirmed User
 
levd's Avatar
 
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?
__________________
levd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 02-08-2013, 07:47 AM   #9
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
Quote:
Originally Posted by levd View Post
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?
Sure, I will take a look. I won't promise anything. Email is sarettah at hatterasdesigns dot com. ICQ is 2155399

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
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.