View previous topic :: View next topic |
Author |
Message |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Feb 20, 2008 8:15 am Post subject: My First Advanced JavaScript! |
|
|
I've been reading my JavaScript book for a while now, and I'm currently on Chapter 10. During my journey through JavaScript, I created a neat little web safe color customizer to test my JavaScript skills; and so I'm going to share it with you guys. You can adjust the color Intensity levels for Red, Green, and Blue. Hope you like it!
Web Safe Customized Color Maker (Feel free to snatch the code for your own widgets)
http://www.trustabyss.com/javascript/test/custom_color.html |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Feb 25, 2008 5:52 pm Post subject: Re: My First Advanced JavaScript! |
|
|
TRUSTAbyss,
It failed to work on Opera 9.25. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Feb 25, 2008 8:08 pm Post subject: |
|
|
Can you explain to me how it doesn't work in Opera 9.25? I have the latest version and it works just fine for me. |
|
Back to top |
|
|
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Mon Feb 25, 2008 10:55 pm Post subject: |
|
|
It also falls to work for me in Opera 9.26.
EDIT: It works fine for me in Firefox 2.0.0.12, but not IE 7. _________________ Olly
Last edited by olly86 on Tue Feb 26, 2008 12:38 am; edited 1 time in total |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Tue Feb 26, 2008 12:33 am Post subject: |
|
|
What browser did you test it on, trustabyss?
I have IE6. Here's what I get, no matter what color or percentage I click on (the line number does change, though):
I'm hoping the bugs get worked out of this! It'll be a nice reference to have. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Tue Feb 26, 2008 4:30 am Post subject: |
|
|
The bug has just been fixed. Now try it! ;-)
http://www.trustabyss.com/javascript/test/custom_color.html
It originally worked on the Firefox browser, but I changed the code a little before uploading the finished script. Maybe that caused the bug? Anyway, Opera and I.E. both support the script now. Enjoy!
Last edited by TRUSTAbyss on Tue Feb 26, 2008 3:39 pm; edited 1 time in total |
|
Back to top |
|
|
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Tue Feb 26, 2008 11:56 am Post subject: |
|
|
It now works in both IE7 and Opera. I don't know about Firefox as I don't have access to it on this computer. _________________ Olly |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Wed Feb 27, 2008 10:45 pm Post subject: |
|
|
Nice work! It runs perfectly now on IE6. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
Posted: Sun Mar 02, 2008 5:20 pm Post subject: |
|
|
Just a suggestion -- replace the option fields with input (text) boxes that allow even finer control over the coloring.
MMT Color Comparator is a program I wrote that's very similar in feature. Maybe you can build a JavaScript version of it? It would be a pretty nice Internet-Based tool... _________________ Audit the secure configuration of your server headers! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Mar 02, 2008 8:14 pm Post subject: |
|
|
I don't have any option fields in this particular script. Are you talking about the Radio buttons? |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat Mar 15, 2008 4:46 am Post subject: |
|
|
I've been reading my JavaScript book since January 28th, but today marks the end for my Journey through JavaScript. The last three chapters just show you some useful tips and bookmarklet examples, so I skipped them. Now that I'm finished with my JavaScript book, I can start learning AJAX. I came across many distractions while reading the book, but I never stopped reading it. By the way, this book has also helped me to understand the DOM in PHP. AJAX here I come!
To those who wish to purchase the book that I just finished reading, go here:
http://www.amazon.com/JavaScript-World-Fifth-Visual-QuickStart/dp/032119439X/ref=sr_1_4?ie=UTF8&s=books&qid=1205552790&sr=1-4 |
|
Back to top |
|
|
badai -
Joined: 24 Apr 2003 Posts: 82
|
|
Back to top |
|
|
|