Log in

View Full Version : Bold Italic Underline buttons


DeMuro1
07-17-2003, 07:59 AM
so I'm struggling through making an easily updateable website. My aim is to make no HTML knowledge needed. Kind of reinvent the wheel.

Anyway, I want buttons like the ones that in the post reply windows. Bold italic underline mostly but hyperlink would be good too.

Can anyone help me out here. The view source for this page shows

<td nowrap><font face="verdana, arial, helvetica" size="1">
<input type="button" class="bginput" value=" B " onclick="vbcode(this.form,'B','')" onmouseover="stat('b')" title="BOLD (alt+b)" accesskey="b"
><input type="button" class="bginput" value=" I " onclick="vbcode(this.form,'I','')" onmouseover="stat('i')" title="ITALIC (alt+i)" accesskey="i"
><input type="button" class="bginput" value=" U " onclick="vbcode(this.form,'U','')" onmouseover="stat('u')" title="UNDERLINE (alt+u)" accesskey="u" >
&nbsp;


Thius bit of code but there are severeal problems.
1. I'm afraid there may be some sort of liscenceing or copyright law
2. I hate plagerism even if I can't spell it
3. I'd like to be able to say someone showed me and then I did it thus making me feel more gratified in the end.

Any help would be greatly appreciated

Gary King
07-17-2003, 01:23 PM
I believe #1 is correct.

Would be best if you could find a script similiar to vBulletin's somewhere online, that is freely distributed. I'm sure there are several.

If not, then you should learn from vB's code, instead of simply copying it. Once you have learned and educated yourself, then you can write your own code for this, and only refer back to vB's when you need to! :)