google-code-export / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
1 stars 0 forks source link

Flash content overflows the scrollpane in PC Firefox #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I  used swfobject to place a couple of Flash files inside of the scrollpane.

What is the expected output? What do you see instead?

It works great on Macs, but in Firefox on the PC the Flash files don't get
masked and scroll outside of the box.  In IE it redraws poorly, but I don't
think that's the script's fault! :)  I used a DIV inside of the content
area to force the height so that jscrollpane could find something to
calculate height from - if I didn't do that, the Flash appeared but there
was no scrollbar at all.

Please provide a URL to a page displaying the problem.

http://djdm.com/media-jscroll.php

Please provide any additional information below.

Using http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js and
jScrollPane.js 56 2009-02-23.

Original issue reported on code.google.com by arothman...@gmail.com on 19 Mar 2009 at 2:02

GoogleCodeExporter commented 9 years ago
Hi,

I see you tried changing the wmode but I think you changed it in the wrong 
parameter.
It's needs to be passed in as a param, not as a flashvar:

swfobject.embedSWF("player.swf", "musicplayer", "210", "70", "8.0.0", '', {}, 
flashvars);

(variable still called flashvars but empty object first to be the actual 
flashvars
passed into the swf - the flashvars variable is now in the params position in 
the
arguments list).

Try that and let me know if it helps,

Cheers,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 19 Mar 2009 at 7:02

GoogleCodeExporter commented 9 years ago
You are a gentleman and a scholar.  That was it!

Original comment by chagrinv...@gmail.com on 19 Mar 2009 at 11:11

GoogleCodeExporter commented 9 years ago
Glad to help :)

Original comment by kelvin.l...@gmail.com on 19 Mar 2009 at 11:18

GoogleCodeExporter commented 9 years ago
Issue 84 has been merged into this issue.

Original comment by kelvin.l...@gmail.com on 23 Mar 2009 at 4:47

GoogleCodeExporter commented 9 years ago
what should the wmode be to alleviate this problem? The linked file seems to be 
dead now... : (

Original comment by jonobrandel on 10 Jun 2010 at 8:01

GoogleCodeExporter commented 9 years ago
http://djdm.com/media.php is the correct location.

You need to use:

var params = {wmode: "transparent"};

Original comment by arothman...@gmail.com on 10 Jun 2010 at 9:04