...

View Full Version : bbcode buttons



runnerjp
10-16-2008, 04:24 PM
i have made by bbcode but now im trying to pull together some puttons to use with the code but i have come accross soem problems,,,

i have 3 areas i cant figure out how to creat buttons for these are:

colour
size
font

i would like to creat a drop down menu with say

red
blue
black
green

and when one of the colours are selected it sets the code in the box as


ho do i do this?

prowodnik
10-17-2008, 02:13 AM
to <head> :

<script src="/js/prototype.js" type="text/javascript"></script>
<script src="/js/scriptaculous.js"type="text/javascript"></script>

JS-Libs U can find online.

Body:

<div onclick="javascript: Element.show('usertoolswrap'); window.setTimeout('Effect.DropOut(\'usertoolswrap\', {duration:.3})',4000); return false;" id="usertools_out" class="sitetool">
<span class="sitetools">You button</span>
<!-- hidden area -->
<div id="usertoolswrap" style="display: none;">
<div id="usertools" onclick="javascript: Element.hide('usertoolswrap'); return false;" >
...Your html-code here...
</div>
</div>
<!-- END hidden area -->
</div>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum