[pmwiki-users] flash recipe breaks cframe style

Patrick R. Michaud pmichaud at pobox.com
Wed Jan 25 16:46:36 CST 2006


On Wed, Jan 25, 2006 at 12:56:18PM +0000, Hans wrote:
> I discovered that the flash recipe swf.php breaks the %cframe% style.
> It does so with these lines of code:
> 
>  SDVA($WikiStyleAttr,array(
>    'height' => 'img|object|embed',
>    'width'  => 'img|object|embed'));
> 
> I suppose this makes it possible to assign width and height to the
> embedded flash movie, but it ruins the styling for %cframe%, which as
> a consequence has width or height applied to the img tag instead of
> the div holding the image.
> 
> How can this be mended?

What happens if the recipe instead does ... ?

    SDVA($WikiStyleAttr, array(
      'height' => 'object|embed',
      'width' => 'object|embed'));

Pm




More information about the pmwiki-users mailing list