Needs review
Project:
Greybox
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2009 at 00:54 UTC
Updated:
17 Jun 2010 at 01:49 UTC
Jump to comment: Most recent file
I encountered an odd problem. I was using greybox to load a page that had some flash within it, it displayed fine and when I clicked out it all disappeared again. When I later scrolled down the page though, the flash suddenly reappeared and I couldn't get rid of it.
I'm not sure if what I encountered was browser specific, but I was using firefox 3.0.5 under Ubuntu.
I fixed the problem by adding $("#GB_window iframe").remove(); to the GB_hide function in gryebox.js.
- drasgardian.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | greybox_hide.patch | 483 bytes | meba |
| #7 | greybox.js.txt | 3.29 KB | kyoju |
Comments
Comment #1
russhull commentedI'm having the same issue, but adding that line of code to the GB_hide function of greybox.js didn't fix it.
Any ideas? This renders the module completely useless for me.
Comment #2
MetalDave commentedI've got the same problem, if i add $("#GB_window iframe").remove(); to the GB_hide function in gryebox.js i fix the problem of flash element, but when i close greybox window and scroll down the page there is a "ghost" of greybox page...I don't know how to fix this.
Comment #3
russhull commentedI still haven't seen a solution to this. This is the one thing keeping me from using greybox as a really great and convenient in-page popup window.
I do notice that, when the flash reappears once you start scrolling, a simple refresh of the page makes it go away. Does anybody know a way to program a function that causes the page you're on to refresh when the greybox is closed? That would be a quick fix to this problem.
Comment #4
vkr11 commentedSame problem. Subscribing. Looking for solution:
Thanks,
Victor
Better way to Search Drupal.org - http://drupalsearch.org
Comment #5
vkr11 commentedSomething that seems to have solved the problem is by un-checking the option "Slide animation" at admin/settings/greybox .
I am using this with 5.x but should be the same.
Thanks,
Victor
Better way to Search Drupal.org - http://drupalsearch.org
Comment #6
russhull commentedNegative - there is no 'slide animation' setting in the current version of greybox. any idea how to disable this in the js file?
Comment #7
kyoju commentedThanks vkr11 for the sliding animation hint.
Changed:
to
Everything seems to work fine now... I've attached the fixed js file below. Tell me if it works for you guys.
Comment #8
escsco commentedEditing GB_hide() per kyoju did the trick for me on Opera 9.64 on Mac OSX 10.5.6 machine.
Comment #9
meba commentedI cannot believe how long this has been in the queue.
A simple patch.
Comment #10
vpapadim commentedfirst I was super happy to find that module, then supper sad since that bug is a show stopper, and then supper happy again to find this solution!!!
thanks guys.