5 ms·
I love it! Try looking into these things: 1. CSS Sprites: merge all of your images into one large image so when your page loads, it makes one request for the c
by davetong 16y ago
I love it! Try looking into these things:
1. CSS Sprites: merge all of your images into one large image so when your page loads, it makes one request for the css sprite. When the right pixels are found by the user, your images will appear straight away without being pixelated as the CSS sprite would have loaded at the start so the web page will not need to load a new request
2. jQuery (javascript framework): This is a great JS framework that is easy to implement that will allow you to start displaying your images using "Star Wars" type effects! e.g. http://jqueryui.com/demos/show/#default http://jqueryui.com/demos/show/#default
3. source control: if you want to get into programming, you should look into using source control to manage your code... even if you're starting off using html and css, it's good practice. Later on when you start doing some complex stuff, you'll find that it'll save your bacon more than a few times. I would recommend using git because all the cool kids are. Just sign-up for a free account at http://github.com http://github.com and you should be right with their great documentation
All the best,
Star Wars fan at heart!
i dont want to get into a git vs svn debate here so I won't even begin to list reasons for my preference
- dcpdx 16y ago1. That's great stuff! It was bothering me how the images wouldn't load right away; when I tried it on my work comp (IE7) it was basically unusable as you had to roll the cursor over the divs suuuuuper slow. I will look into CSS sprites right away! 2. I had heard of jQuery and had a faint idea of how it works but now that I know you can display Star Wars effects I'll be all over it! 3. Good advice. I just registered at git thanks to @DTrejo. Thanks for all the suggestions, I really appreciate it!
- smz 16y agoIt never ceases to amaze me how serendipitous I find the comments on HN to be. Like the dcpdx, I've also been working on my first website and have been looking for a feature exactly like the effects you've linked. I've also been debating with myself on github vs svn (or in my case, bitbucket). Care to explain your choice?
- davetong 16y agoFor me, I love it because I can work with it offline and it's branching and merging rocks compared to other version control systems. Checkout this page for a good detailed explanation: http://learn.github.com/p/intro.html http://learn.github.com/p/intro.html. One last reason why I love it... because github rocks! It's all setup for you with a large range of third party add-ons that I find useful.