Results 1 to 8 of 8

Thread: Color picker on statstool

  1. #1
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,467
    Blog Entries
    13

    Color picker on statstool

    I have no idea why this is not working.

    Well, not quite no idea, but no clue on how to fix it. So if anyone has good javascript skills and would like to take a look, please do..

    I'm using http://www.dhtmlgoodies.com/index.ht...olor_picker_v2

    It certainly used to work and nothing has changed that I'm aware of.

    Using the basic example works http://stats.free-dc.org/javascripts...picker_v2.html

    Firebug shows an error with chooseColor() in that

    color_picker_form_field has no properties
    color_picker_form_field.value = this.getAttribute{'rgbColor'}

    Still looking

    I have some ideas..

    Bok

  2. #2
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,467
    Blog Entries
    13
    DP fixed it for me!

    woot. taught me something new about javascript at the same time..

    Thanks DP !

    Bok

  3. #3
    You know, that's one of these points where code n00bs like myself just sit, watch and are grateful that there are people like you who know how to deal with these sort of problems. Donating $ is one thing. Torturing one's brain for a solution to a problem that didn't exist before - whole different story!

  4. #4
    Free-DC Semi-retire gopher_yarrowzoo's Avatar
    Join Date
    Mar 2002
    Location
    Knoxville, TN
    Posts
    3,985
    Hmm wonder what DP did... I'll go look see, I just checked with the statstool now and the slider don't work yet they work in the example (go figure)
    did notice a few css errors in the error console when I looked easy fixes I'll look it over and post ya the fixes someplace..
    Semi-retired from Free-DC...
    I have some time to help.....
    I need a new laptop,but who needs a laptop when you have a phone...
    Now to remember my old computer specs..


  5. #5
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,467
    Blog Entries
    13
    You've got access to change the css too It's just in the /styles directory.. Guess you can see how much code there actually is here now And all that without all the perl scripts that manipulate the backend...

    DP just pointed out to me that it should have been forms[1] instead of forms[0] as I had another form further up in the script already..

    Bok

  6. #6
    Free-DC Semi-retire gopher_yarrowzoo's Avatar
    Join Date
    Mar 2002
    Location
    Knoxville, TN
    Posts
    3,985
    The color picker now fully works (or it should may take a reload for it to work - thinking cache issues)..
    "tabs" slider that slides (only if you click n drag - have ideas on that but I think it's too complex to try and emulate a windows slider)
    Semi-retired from Free-DC...
    I have some time to help.....
    I need a new laptop,but who needs a laptop when you have a phone...
    Now to remember my old computer specs..


  7. #7
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,467
    Blog Entries
    13
    AWesome work by Gopher !!!

  8. #8
    Free-DC Semi-retire gopher_yarrowzoo's Avatar
    Join Date
    Mar 2002
    Location
    Knoxville, TN
    Posts
    3,985
    Quote Originally Posted by Bok View Post
    AWesome work by Gopher !!!
    I'll have a cold one for you too mate
    it was a "relative" issue..
    Semi-retired from Free-DC...
    I have some time to help.....
    I need a new laptop,but who needs a laptop when you have a phone...
    Now to remember my old computer specs..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •