changing image
Last Post 03/31/2009 2:27 PM by Lee Sykes. 2 Replies.
Author Messages
InFI
Nuke Active Member
Nuke Active Member
Posts:24


--
03/10/2009 8:46 AM  

Hi 

I created a  container .In that container  I am using [ACTIONBUTTON] token.i want to change the image for that control.By default one image and on mouse over other image.

it possible to change the image on any event for actionbuttont token.   

saintX
Nuke Master
Nuke Master
Posts:147


--
03/31/2009 4:39 AM  

Hello,

This is the answer from Lee that helped me to change the icons:

http://www.dnncreative.com/Forum/ta...fault.aspx


I am changing the icons in this way, hope this helps somehow. 

Thanks

Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
03/31/2009 2:27 PM  
Hello,

ActionButtons in Containers have an attribute which allows you to specify an icon - if you look at page 58 in the skinning pdf guide from dotnetnuke.com it lists the attributes available for the actionbutton.
(spaces added so the code displays in the forum)

< Object >
        < Token >[ACTIONBUTTON:1]< / Token >
        < Settings >
            < Setting >
                < Name >CommandName< / Name >
                < Value >AddContent.Action< / Value >
            < / Setting >
            < Setting >
                < Name >DisplayIcon< / Name >
                < Value >True< / Value >
            < / Setting >
            < Setting >
                < Name >DisplayLink< / Name >
                < Value >True< /  Value >
            < / Setting >
< Setting >
                < Name >IconFile< / Name >
                < Value >myimage.gif< / Value >
            < / Setting >
        < / Settings >
    < / Object >
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---