PHP Developers Network

Dynamically create web buttons
Page 1 of 1

Author:  dbemowsk [ Mon Oct 26, 2009 12:47 am ]
Post subject:  Dynamically create web buttons

Just thought I'd post this for others. I needed a way to dynamically create web buttons for a web based application I am creating. I created a script that takes a number of parameters to create dynamic consistent looking web buttons on the fly. Pass your text, icon, a set of 3 background images, along with a few other config options, and get buttons like these.

Image Image

The buttons shown above were created using the demo of the script. Read the tutorial and try the demo at

I hope this is useful to many

Author:  daedalus__ [ Fri Nov 27, 2009 2:54 am ]
Post subject:  Re: Dynamically create web buttons

neat. im chopping images together in css at the moment it can be painful compared to using gd.

you should consider posting this under coding critique.

Author:  HarmoniaTracie [ Fri Aug 06, 2010 12:08 am ]
Post subject:  Re: Dynamically create web buttons

I try to give you the general idea.. Once you click a button, open a new panel which contains a text box and a button. By clicking that button, another new panel will be displayed with the value of previous text box.. So, it's just a matter of displaying and hiding some panels..Basically, you can just grab the value of any text boxes by using its Text() property.

Author:  ladesignandcoding [ Tue Oct 19, 2010 6:42 pm ]
Post subject:  Re: Dynamically create web buttons

I guess I cannot see it must be my browser the image is not showing

Author:  dbemowsk [ Mon Oct 25, 2010 10:54 pm ]
Post subject:  Re: Dynamically create web buttons

I am shifting the format of my website to a new CMS, but moved the old content to a subfolder. I edited the original post so it works now.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group