Quote:
Originally Posted by unicorn
hi.
I am sory I got confused..
can some one post it to show:
1) more than one schield we can click to select from (like the smilies)
2) after selecting it a popup will appear asking to put the text
and thats it..
regards.
|
Both easy:
1) use the {option} for the actual imagename:
Code:
<img src="path/to/imagename{option}.gif">
This way users can specify the option wich directly refers to the name.
This way you can't call the images 'happysmile.gif', 'frowningface.gif' etc... but give them numbers: 1.gif, 2.gif etc... or perhaps 'shield1.gif', 'shield2.gif' etc...
2) just specify a 'Button Image' in your bb-code editor for usage with this tag.
this image will be put next to the other images in your editbox.
When clicked it will popup a inputbox for the text, followed by (if you chose to use {option} for this tag) a inputbox asking for the option, in your case the number for the sign.