zackexplosion / swfobject

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

Feature: multiple stylesheets management #444

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The following change allows to control multiple media css sheets at the
same time.
When the function is called several times while switching between media you
don't loose the previous references as there might be complications in some
browsers that use +30 stylesheets.
This code is untested as i wrote it based on a heavily modified
swfobject.js but, atleast you get the idea.

Replaced:
    dynamicStylesheet,
    dynamicStylesheetMedia,
With:
    dynamicStylesheet = [],

Replaced whole createCSS function

See attached file

Original issue reported on code.google.com by the.djm...@gmail.com on 2 Mar 2010 at 5:19

Attachments:

GoogleCodeExporter commented 9 years ago
Reuploaded attachment (it had a bug)

Original comment by the.djm...@gmail.com on 2 Mar 2010 at 5:23

Attachments:

GoogleCodeExporter commented 9 years ago
Worthwhile request, but we're focusing on bug fixes for the next update. Not 
sure if/when this will be implemented.

Thanks for the submission and code example

Original comment by platelu...@gmail.com on 16 May 2011 at 5:19

GoogleCodeExporter commented 9 years ago
Placing on hold, as we're focusing on bug fixes for the next release

Original comment by platelu...@gmail.com on 18 May 2011 at 8:17