Implemented color selection for my lights. Changing the color of a light, will be indicated on the small bulbs, which is pretty neat in my humble oppinion.
This is really coming together nicely!
Let me know what you guys think.
If you want to have a peek at the current development site, just visit www.hueice.com/dev
Remember, that url is my development page - so please refrain on commenting on that part.
I've also added some random todos in my humans.txt.
about 1 year ago
Wow man...always impressed! I would do some preloading on the images though.
@Jeff Broderick - thank you kind mr. Broderick. As for preloading, I already made the method for preloading images, I just need to go back and add all the new assets. I didn't see the point in adding them before I was done creating assets.
@Kevin Andersson Not sure if this would help but this is a little script I wrote that runs through the css and preloads any images it finds, so you don't have to hard code any filenames.
Awesome work on this, looks great!
@Jeff Broderick I also plan to add application cache to the app - which stores all defined assets locally - until I push out a change in the manifest file. It's just really annoying to work with while you are developing.
@Kevin Andersson I looked into this more and something has changed sense I wrote this code. document.styleSheets[i].rules always seems to be null now. Sorry, looks like this code doesn't work anymore. Feel free to delete these comments.
@David Keegan I should be able to make it in jQuery - I just had way to much fun working on all the other stuff :D
Anyways - the problem will also be solved when I implement the document manifest / application caching.
@Kevin Andersson actually if you wouldn't mind could you give this updated code a try: https://gist.github.com/1218824
Turns out CSS rules are not available cross domain, so the css from jquery.com was causing it to blow up.
@David Keegan thanks, I am still getting the same error ;)
– Also added you to the humans.txt :D
@Kevin Andersson ok slightly different, 'undefined' instead of 'null', making progress. How abot this: https://gist.github.com/1218824
I ran it in the console on you site and it seemed to work.
@David Keegan magic code accepted. Looks like it is working now. Thank you David!
Nice work. Seems like a very user-friendly interface.
@Kevin Andersson awesome! Thanks for your patience, this code should be really robust now thanks to this back and forth! Also thanks for the shout out in humans.txt!
keyboard shortcuts: ← previous shot → next shot L or F like
Show and tell for designers
What are you working on? Dribbble is a community of designers sharing screenshots of their work, process, and projects.
Copyright © 2009–2014 Dribbble LLC. All screenshots © their respective owners. Shipped from Salem, Mass. USA.