TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 02, 2024, 02:28:10 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 151
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 137
  • Total: 137

Rolling Dice block

Started by lesmond, February 11, 2007, 12:23:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lesmond

Found a nice little script here for rolling dice with images ;)

Download the file below unzip and place the folder in your forum root, add the code below to a script block.
I have made the dice images for this one, but you can also download them from the above site

<center><script type='text/javascript' src='/dice/d6.js'></script>
<script type='text/javascript'>
D6.setBaseUrl("/dice/");
D6.dice(2);
</script>
</center>

You can change (D6.dice(2)) the 2 show how many dice you want to show
Thanks To Mike for helping me with the script ;)

Demo here in the right block