Dynamic buttons
Moderator: General Moderators
-
BassPlayer
- Forum Newbie
- Posts: 12
- Joined: Sun Aug 24, 2003 10:18 pm
This thread gets the most confusng award! I was offering up my hack in case anyone needed it. I put a side comment in about the font thing and then it exploded. I like the TTF thing that would clean things up nicely. If I could somehow use the DIV inside a DIV and use php to create the font then that prolly would be faster. Realistically I need something to that I can put in a url that is extensible enough that my users can modify it.
-
BassPlayer
- Forum Newbie
- Posts: 12
- Joined: Sun Aug 24, 2003 10:18 pm
That works sweet. Exactly what i'm looking for but will it work for something like this?
Code: Select all
echo "<a href="#" onclick="window.close()"><img src="$roster_configїrelative_path]/button.php?text=Close"></a>";-
BassPlayer
- Forum Newbie
- Posts: 12
- Joined: Sun Aug 24, 2003 10:18 pm
or this
Code: Select all
echo "<a href="http://www.clanwolf.ws/cgi-bin/drop_gen.cgi" target="_blank">
<img src="$roster_configїrelative_path]/button.php?text=Drop Calculator"></a>\r";Code: Select all
// CSS inline style: bg color and borders
<p style="background: #ccc; border-top: #000; border-left: #000; border-right: #000; border-bottom: #000;"><?php echo $text; ?></p>
// or use bg image (take a screenshot of a submit button and edit out text in graphics prog; width and height below refer to the image dimensions):
<p style="background-image: url(path/to/image.gif); width: Xpx; height: Ypx;" ><?php echo $text; ?></p>-
BassPlayer
- Forum Newbie
- Posts: 12
- Joined: Sun Aug 24, 2003 10:18 pm