Forum OpenACS Development: Re: Extra parameters don't work

Collapse
Posted by Gustaf Neumann on
the passing of values for height and width for the swf-files works both in the oacs-5-3 version and in the version in cvs-head.

There must be something else wrong. concerning the error message with height: are you sure, you have no "invisible markup" (such as spans etc. introduced via cut&paste) around the "-height"?

concerning setting the value:
the line, you are highlighting is the line setting the default values. the line below this (not cited) sets the provided values.

the height is passed to "new SWFObject(...,$height,...)". You should check the generated HTML source, whether it is inserted correctly at that place. btw, not every swf file honors the width and height parameters.

hope this helps.

Collapse
Posted by Eduardo Santos on
Thank you very much Gustaf. As always, you are absolutely right. I didn't think about the generated HTML code, but there was an span tag, as you suggested. This tag was making it impossible for XoWiki to get the right values.

At least I can understand a little bit more about XoTCL now. Thank you for your help again.

Collapse
Posted by Gustaf Neumann on
my guess was due to the fact that i was caught earlier by a similar problem; the insertion of such tags is partly a problem of the rich text editor.

in the current head version, the error message will be easier to spot.