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 »

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: 9905
Joined: Fri 3. Oct 2003, 22:22
Contact:

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

Post by Oliver Georgi »

Use FancyBox support for this please.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply