The Tournament Director Forums

Main => Help Me => Topic started by: HillTopper66 on December 04, 2009, 07:14:11 PM

Title: ? re tdbutton image
Post by: HillTopper66 on December 04, 2009, 07:14:11 PM

I would like to use my own image file for the buttons used by the tdbutton token.  Can anyone help me with the file or screen where I would setup my own button image.  I don't want to use the image attribute for the tdbutton that just overlays the text on the button with an image but to actually use a different gif file for the button.  I saw a layout post where a person used a background image and set the tdbutton's with a transparent gif so that only the text showed up on the background and not the buttons.  There was no info on how this was accomplished.  Any help please.
Title: Re: ? re tdbutton image
Post by: Corey Cooper on December 07, 2009, 09:59:12 AM
There is an undocumented attribute to the <tdbutton> token (unintentionally, I coded it accidentally but left it out of the documentation and tokens description file).  It has been fixed in the next version in progress.

Add the attribute link="true" to your <tdbutton> token.  This will make it behave like a link instead of a button.  It also removes the button styling and the push effect of a button.