Page 1 of 1

Dynamically create web buttons

Posted: Mon Oct 26, 2009 12:47 am
by dbemowsk
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 http://www.phpwebscripting.com/phpwebsi ... cle&view=8

I hope this is useful to many

Re: Dynamically create web buttons

Posted: Fri Nov 27, 2009 1:54 am
by daedalus__
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.

Re: Dynamically create web buttons

Posted: Fri Aug 06, 2010 12:08 am
by HarmoniaTracie
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.

Re: Dynamically create web buttons

Posted: Tue Oct 19, 2010 6:42 pm
by ladesignandcoding
I guess I cannot see it must be my browser the image is not showing

Re: Dynamically create web buttons

Posted: Mon Oct 25, 2010 10:54 pm
by dbemowsk
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.