Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: adninja
  • Content: Threads
  • Order by date
  1. adninja

    Can someone look at this code?

    //Dice Button function tag_dice() { var FoundErrors = ''; var Num = prompt("Please enter the number of dice", "1"); var Sides = prompt("Please enter the number of sides","2"); var Mod = prompt ("Please enter any modifiers","0"); var a = (Num*Sides)-Num; var Rand =...
  2. adninja

    Codebutton function

    I have been asking about this in the javascript forum and I was told that I should ask here. I have a funtion for my forum that simulates dice rolling. I would like to know how to make the results read only. Here is my funtion so far: //Dice Button function tag_dice() { var FoundErrors =...
  3. adninja

    readonly codebutton functions

    I hav tried all of the solutions set forth by the far more qualified members here, but none of them work. I just reallised how stupid I was being, because I forgot to specify that I need this to work for a code button that exectues an funtion from an external js library file. That is why I have...
  4. adninja

    doInsert readonly

    I was wondering if there was a way to make the text a js button puts in the text area of my forum readonly, and maybe in another font? I am just looking for a way to keep people from cheating when using my dice roller. I can always check their posts to see if they actualy used the button or if...
  5. adninja

    Textbox in a Textarea

    Hello, I am very new to JavaScript and I was wondering if it is possible to have a function place a textbox in the textarea of a forum I administrate. The purpose of this is for the dice roller I coded. It currently does a doInsert of the roll results that my members can easily edit to suit...

Part and Inventory Search

Back
Top