Here you go:

<li></cfoutput><skin:buildlink objectid="myOBJECTID"  
id="p7TBMt01"><cfoutput><img src="#application.url.webroot#/images/ 
menu_img/
logout.gif" alt="Logout" /></cfoutput></skin:buildlink><cfoutput></li>

Note: the reason for the exiting the cfoutput during the custom tag  
use is due to a limitation of ColdFusion where if a custom tag (as  
well as any CF tag) is called from within a <cfoutput> block,  
ColdFusion will add a lot of whitespace to your final (x)HTML.  By  
exiting the <cfoutput> block first, you omit the whitespace problem.

--
Jeff Coughlin
Web Application Developer
http://jeffcoughlin.com

On Mar 8, 2008, at 11:43 PM, Rune wrote:
>
> The <skin:buildlink objectid="#application.navid.nnnn#" linktext="some
> text" />
> builds standard text links, but how to build an image link.
>
> In my (old) code I have an image links like this:
>
> <li><a href="#application.url.webroot#/register/act_logout.cfm"
> id="p7TBMt01"><img src="#application.url.webroot#/images/menu_img/
> logout.gif" alt="Logout" /></a></li>
>
> That use style sheet.
>
> How can I transfer a link like this to <skin:buildlink... so I still
> keep the friendly urls.
>
> Regards
> Rune Pedersen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to