You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

bug?: expose getwidth() function in FF Created Aug 28, 2009

This thread is solved

Views: 2137     Replies: 2     Last reply Dec 12, 2009  
You must login first before you can use this feature

ignacvucko

Posts: 10

Registered:
Jun 9, 2008

bug?: expose getwidth() function in FF

Posted: Aug 28, 2009


function getWidth() {
  var w = $(window).width();
  if ($.browser.mozilla) { return w; }
  ...

The above causes an issue as follows:
1. Using FF, go tohttp://flowplayer.org/tools/expose.html
2. Resize your browser to make the horizontal scroll bar appear
3. Click in the field to invoke the expose functionality
4. Use the horizontal scrollbar to scroll to the right
You'll see that the expose ends abruptly rather than
extending to the edge of the browser window.

Changing the above to the following fixes it for me:
if ($.browser.mozilla) { return $(document).width(); }

Will this cause problems elsewhere?
If no, can it be incorporated in your next release?

Thanks,
Ignac

newtonpage

Posts: 5

Registered:
Jul 30, 2009

» bug?: expose getwidth() function in FF

Posted: Aug 31, 2009

Reply to: bug?: expose getwidth() function in FF, from ignacvucko
I have this same problem with expose - - my symptom is that the expose overlay extents beyond the window whenever you re-size the window - - whether the expose is active or not

that is, if the expose is open, this infinite width occurs when the window is re-sized - - if the expose is inactive when the re-size takes place, it still occurs - - if not re-sizing takes place, it is fine

skysbird

Posts: 2

Registered:
Dec 12, 2009

» » bug?: expose getwidth() function in FF

Posted: Dec 12, 2009

Reply to: » bug?: expose getwidth() function in FF, from newtonpage
hey i've make the bugfix in this thread, hope that can help you, and i also hope my code can be used in the next version of jquery tools expose module:)

http://flowplayer.org/tools/forum/55/33033