scrolling in iframe of fancybox - main window also scrolls

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

scrolling in iframe of fancybox - main window also scrolls

Post by macangelo » Sat 8. Mar 2014, 19:17

Hi, I have another problem

I open an iframe in the fancy box (some real estate offers, coming from another website, I have no other options).

The content in the iframe is longer than the fancy box so I have to scroll - so far no problem. But in Safari (Mac - didn't check on Windows) when I scroll in the iframe of the fancybox the main window that's sitting behind in the background is also sliding.

I searched a little and found this proposal in another forum but it doesn't help so far:

$("#scrollOnlyHere").scroll(function (event) {
event.stopImmediatePropagation();
});

thanks a lot
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign

User avatar
Oliver Georgi
Site Admin
Posts: 9475
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: scrolling in iframe of fancybox - main window also scrol

Post by Oliver Georgi » Sun 9. Mar 2014, 07:28

Use FancyBox support for this please.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

Post Reply