Hi John,

you can use tobagos script tag to embed javacript into the page.

The body of the tag is included as javascript section into the html head
tag.


Regards,
  Volker

John wrote:
>  Oh yes....
> 
> I have Javascript code which when embedded within a page, permits IE to
> display PNGs with transparency.
> What would be the best way to include this javascript within the Tobago
> application, so that tag files and jsp pages could display transparent
> pngs in IE? Alternately, how would I include the script in a particular
> tag file to display transparent pngs?
> 
> I tried just doing a <f:verbatim> wrapped <script at the beginning of
> the tag file, but that didn't work.
> 
> Thanks,
> John
> 
> -----Original Message-----
> From: Philippe Hennes (JIRA) [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 18, 2006 6:49 AM
> To: John
> Subject: [jira] Commented: (TOBAGO-69) t:image does not support a png
> image with a transparent background - displays background as mid-grey
> 
>     [
> http://issues.apache.org/jira/browse/TOBAGO-69?page=comments#action_1241
> 2344 ] 
> 
> Philippe Hennes commented on TOBAGO-69:
> ---------------------------------------
> 
> There is a bug regarding png images in IE. IE ist not capable of
> displaying 8bit png's with alpha transparency without an proprietary
> filter [1]. 
> As a workaround you can use 24bit png images or gif's.
> 
> Alternativly you can change the grey background by assigning a new
> background color:
> Photoshop: Just select the mask color option, and set the color picker
> to the color of the background the picture is intended to sit on.
> Gimp: In Gimp you can check "save background color" in the png export
> dialog.
> 
> [1]
> http://msdn.microsoft.com/workshop/author/filter/reference/filters/alpha
> imageloader.asp
> 
> 
>>t:image does not support a png image with a transparent background - 
>>displays background as mid-grey
>>----------------------------------------------------------------------
>>------------------------------
>>
>>         Key: TOBAGO-69
>>         URL: http://issues.apache.org/jira/browse/TOBAGO-69
>>     Project: MyFaces Tobago
>>        Type: Bug
> 
> 
>>    Versions: 1.0.7
>> Environment: Tomcat 5.15 - IE
>>    Reporter: John Allan
>>    Priority: Minor
> 
> 
>>Pretty much summed up in the summary.
> 
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to