 |
ProphpBB Support ForumOfficial phpBB 3 Free Forum Hosting Support |
|
It is currently November 19th, 2008, 8:50 am
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 10 posts ] |
|
| Author |
Message |
|
Nexus
|
Post subject: BBCode Calculator Posted: August 14th, 2008, 11:00 am |
|
Joined: January 24th, 2008, 4:55 pm Posts: 1140 Location: Charlottesville, Va Forum URL: http://forumadvertz.com
|
BBCode usage: Code: [calc][/calc] HTML replacement:Code: <html> <body> <form name="myform"> <table width="210" border="1" cellspacing="1" cellpadding="1" bgcolor="#003366"> <tr> <td align="center"> <table width="173" border="0" cellspacing="0" cellpadding="0" height="130"> <tr> </tr> <tr> <td colspan="3"> <input type="text" name="display" size="20"> </td> <td width="53" height="0"> <font color="#FFFFFF"> <input type="button" name="clear" value=" c " onClick="myform.display.value=''" onMouseover="window.status='Clear numbers'" onMouseout="window.status=''"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="seven" value=" 7 " onClick="myform.display.value+='7'"> </td> <td width="53" height="0"> <input type="button" name="eight" value=" 8 " onClick="myform.display.value+='8'"> </td> <td width="53" height="0"> <input type="button" name="nine" value=" 9 " onClick="myform.display.value+='9'"> </td> <td width="53" height="0"> <font color="#FFFFFF"> <input type="button" name="divide" value=" / " onClick="myform.display.value+='/'"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="four" value=" 4 " onClick="myform.display.value+='4'"> </td> <td width="53" height="0"> <input type="button" name="five" value=" 5 " onClick="myform.display.value+='5'"> </td> <td width="53" height="0"> <input type="button" name="six" value=" 6 " onClick="myform.display.value+='6'"> </td> <td width="53" height="0"> <font color="#FFFFFF"> <input type="button" name="times" value=" x " onClick="myform.display.value+='*'"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="one" value=" 1 " onClick="myform.display.value +='1'"> </td> <td width="53" height="0"> <input type="button" name="two" value=" 2 " onClick="myform.display.value +='2'"> </td> <td width="54" height="0"> <input type="button" name="three" value=" 3 " onClick="myform.display.value +='3'"> </td> <td width="72" height="0"> <font color="#FFFFFF"> <input type="button" name="minus" value=" - " onClick="myform.display.value+='-'"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="zero" value=" 0 " onClick="myform.display.value+='0'"> </td> <td width="53" height="0"> </td> <td width="54" height="0"> <input type="button" name="plus" value=" + " onClick="myform.display.value +='+'"> </td> <td width="72" height="0"> <font color="#FFFFFF"> <input type="button" name="calculate" value=" = " onClick="myform.display.value=eval(myform.display.value)"> </font></td> </tr> </table> </td> </tr> </table> </form> </body> </html>
Have fun.
-Rich
_________________
 Free Graphic Requests TUTORIALS | ADVERTISING Check these out! Talk It Off | Coffee Shoppe
|
|
| Top |
|
 |
|
Alex
|
Post subject: Re: BBCode Calculator Posted: August 21st, 2008, 11:38 pm |
|
Joined: March 11th, 2008, 4:37 pm Posts: 483 Forum URL: http://www.onesforum.net
|
|
| Top |
|
 |
|
Malakai
|
Post subject: Re: BBCode Calculator Posted: September 1st, 2008, 9:14 pm |
|
 |
| Regular |
 |
Joined: August 26th, 2008, 1:35 pm Posts: 32
|
|
what are the instructions to use it? ie.. [calc][/calc] what goes in between the tags?
_________________
|
|
| Top |
|
 |
|
Nexus
|
Post subject: Re: BBCode Calculator Posted: September 2nd, 2008, 10:02 am |
|
Joined: January 24th, 2008, 4:55 pm Posts: 1140 Location: Charlottesville, Va Forum URL: http://forumadvertz.com
|
|
| Top |
|
 |
|
Malakai
|
Post subject: Re: BBCode Calculator Posted: September 3rd, 2008, 2:19 pm |
|
 |
| Regular |
 |
Joined: August 26th, 2008, 1:35 pm Posts: 32
|
|
so if the calc bbcode is installed, a user just needs to enter the tags themselves and what when they submit, they will get a calculator?
edit: nevermind, I got it. :D
_________________
|
|
| Top |
|
 |
|
Nexus
|
Post subject: Re: BBCode Calculator Posted: September 3rd, 2008, 2:25 pm |
|
Joined: January 24th, 2008, 4:55 pm Posts: 1140 Location: Charlottesville, Va Forum URL: http://forumadvertz.com
|
> Admin Control Panel > Posting tab > Add a new BBCode > BBCode usage:Code: [calc][/calc] > HTML replacement:Code: <html> <body> <form name="myform"> <table width="210" border="1" cellspacing="1" cellpadding="1" bgcolor="#003366"> <tr> <td align="center"> <table width="173" border="0" cellspacing="0" cellpadding="0" height="130"> <tr> </tr> <tr> <td colspan="3"> <input type="text" name="display" size="20"> </td> <td width="53" height="0"> <font color="#FFFFFF"> <input type="button" name="clear" value=" c " onClick="myform.display.value=''" onMouseover="window.status='Clear numbers'" onMouseout="window.status=''"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="seven" value=" 7 " onClick="myform.display.value+='7'"> </td> <td width="53" height="0"> <input type="button" name="eight" value=" 8 " onClick="myform.display.value+='8'"> </td> <td width="53" height="0"> <input type="button" name="nine" value=" 9 " onClick="myform.display.value+='9'"> </td> <td width="53" height="0"> <font color="#FFFFFF"> <input type="button" name="divide" value=" / " onClick="myform.display.value+='/'"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="four" value=" 4 " onClick="myform.display.value+='4'"> </td> <td width="53" height="0"> <input type="button" name="five" value=" 5 " onClick="myform.display.value+='5'"> </td> <td width="53" height="0"> <input type="button" name="six" value=" 6 " onClick="myform.display.value+='6'"> </td> <td width="53" height="0"> <font color="#FFFFFF"> <input type="button" name="times" value=" x " onClick="myform.display.value+='*'"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="one" value=" 1 " onClick="myform.display.value +='1'"> </td> <td width="53" height="0"> <input type="button" name="two" value=" 2 " onClick="myform.display.value +='2'"> </td> <td width="54" height="0"> <input type="button" name="three" value=" 3 " onClick="myform.display.value +='3'"> </td> <td width="72" height="0"> <font color="#FFFFFF"> <input type="button" name="minus" value=" - " onClick="myform.display.value+='-'"> </font></td> </tr> <tr> <td width="53" height="0"> <input type="button" name="zero" value=" 0 " onClick="myform.display.value+='0'"> </td> <td width="53" height="0"> </td> <td width="54" height="0"> <input type="button" name="plus" value=" + " onClick="myform.display.value +='+'"> </td> <td width="72" height="0"> <font color="#FFFFFF"> <input type="button" name="calculate" value=" = " onClick="myform.display.value=eval(myform.display.value)"> </font></td> </tr> </table> </td> </tr> </table> </form> </body> </html> > Check the checkbox > Submit
When you are posting, just click the code button. Your post will look like this:
Here is a cool calculator: [calc][/calc]
-Rich
_________________
 Free Graphic Requests TUTORIALS | ADVERTISING Check these out! Talk It Off | Coffee Shoppe
|
|
| Top |
|
 |
|
Mr. Bond
|
Post subject: Re: BBCode Calculator Posted: September 18th, 2008, 8:27 pm |
|
Joined: February 29th, 2008, 3:37 am Posts: 53 Location: Indiana :( Forum URL: http://thejamesbond.org
|
|
| Top |
|
 |
|
verdilak
|
Post subject: Re: BBCode Calculator Posted: September 19th, 2008, 4:01 am |
|
Joined: July 28th, 2008, 1:23 am Posts: 199 Forum URL: http://rpgaming.prophpbb.com
|
Mr. Bond wrote: Really should not have <html></html> and <body></body> tags in the BBCode ;) Eh? The bbcode doesnt, the html replacement does.
_________________
|
|
| Top |
|
 |
|
PanHandle
|
Post subject: Re: BBCode Calculator Posted: September 19th, 2008, 7:52 am |
|
Joined: January 8th, 2008, 11:25 am Posts: 630 Location: Dover, UK Forum URL: http://headlight.ekam.org.uk
|
verdilak wrote: Mr. Bond wrote: Really should not have <html></html> and <body></body> tags in the BBCode ;) Eh? The bbcode doesnt, the html replacement does. What Mr. Bond is saying is that the replacement code doesn't need these tags for the html to work as a BBCode. If it were a stand-alone web page then, of course, it would but BBCode is contained within a web page that already has these tags so they're not required.
_________________ Phil
If at first you don't succeed, use a BIGGER HAMMER HeadLight: The Forum of East Kent Advanced Motorcyclists Dour Forum: A local community forum for Dover.
|
|
| Top |
|
 |
|
Nexus
|
Post subject: Re: BBCode Calculator Posted: September 19th, 2008, 10:15 am |
|
Joined: January 24th, 2008, 4:55 pm Posts: 1140 Location: Charlottesville, Va Forum URL: http://forumadvertz.com
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 10 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|

|