Placed in: Home arrow Programming viagra australia
viagra online
viagra sale
cialis online
cialis australia
Programming
jQuery DJ Hero - CSS3 and jQuery fun

Remember jTypingHero? This was a fun little game to test your typing skills based on the ever popular Guitar Hero. Lately, I came across some news about a new "Hero" game: DJ Hero. Since I really love Proof of Concepts/experimenting, I wanted to bring the vinyl to the browser. That's why I present to you: jQuery DJ Hero.

By combining CSS3 and jQuery, I created two records that you can start spinning (faster and slower) and even scratching is enabled. In a future version, this could be used together with some real sound (this version has no sound).

jQuery DJ Hero - CSS3 and jQuery fun

To achieve the desired effect, I made use of jQuery, Animate CSS Rotation and Scale jQuery Patch and the jQuery Easing library. The picture of the vinyl has been taken from stock.xchng.

Demo jQuery DJ Hero - CSS3 and jQuery fun   Download jQuery DJ Hero - CSS3 and jQuery fun

Since we're using CSS3's transform property (to rotate the vinyls), this example only works in browsers that support CSS3 (Currently, the latest versions of Safari, Firefox and Chrome support this). I've added a video for those people that don't use those browsers and still want to see how the effect looks like. Make sure to check out the demo and let's see how you can create that yourself.


Tags:  dj jquery css3 proof of concept experiment webdevelopment
 
Browser size aware content scaling

Just recently, I noticed something pretty cool at Google Images: When you resize your browser, search results are hidden/shown, depending if it makes a full row. It does really have a big advantage: you'll never have any "empty spots" on your website. The grid is always fully filled and results that don't fit in the grid, are simply hidden.

I wanted to recreate this technique using jQuery. Just like Google Images, it check how many images fit in each row and hides the one that fall off (depending on the browser size).

Browser size aware content scaling

The difference between my HTML and the one Google, is that Google uses a table to display the image. My version uses floating images (but essentially, they work the same). Just make sure to check out the demo.

Demo Browser size aware content scaling   Download Browser size aware content scaling

Now let's take a deeper look at the problem, the solution and how you create your own browser size aware content scaling.


Tags:  content scaling google images jquery webdevelopment webdesign
 
8 different ways to beautifully style your lists

The use of HTML lists (<ol> for an ordered list, <ul> for an unordered list) is very common these days. Today, we're going to look a little bit further than creating regular lists, by showing 8 different ways to beautifully style your HTML lists with CSS. We'll use some pure CSS techniques to make a bored list look awesome (and even have some extra functionality).

As a reminder, here's how a default ordered list and a unordered list look like:

  1. Ordered list item #1
  2. Ordered list item #2
  3. Ordered list item #3
  • Unordered list item #1
  • Unordered list item #2
  • Unordered list item #3

And check out the demo to see what we're going to create with it.

Demo beautifully style your lists   Download beautifully style your lists

Looks much better, doesn't it? And you get all that, just by adding a couple of sweet CSS stuff. Want to know how? Here we go!


Tags:  lists html css webdesign
 
CSS trick: Debug your HTML and CSS

Today, I'll be showing you a neat little CSS trick to Debug your HTML and CSS. Take note that this will not be actual debugging, but it can help you find the element depth on a web page. Also, when you didn't properly close a tag, this piece of code will expose it for you.

Debug your HTML and CSS

Simply check out the demo to view what we're going to create! At first, the demo looks like a regular web page. But when you start hovering the elements, you'll be able to see the HTML structure (in depth) of the HTML page.

Demo Debug your HTML and CSS   Download Debug your HTML and CSS

There are just a couple of lines of CSS to get this effect! Check out how (or view the source) you can create this yourself.


Tags:  debug css trick html code snippet
 
Create a mouse follower with smokey trail in Silverlight

Last week, I started experimenting with Microsoft Silverlight. I've never worked with the technique before, but after using it, I was impressed. It works pretty good and the separation of the XAML and CS file is great.

Today, we're going to create a Smokey Mouse Follower in Silverlight. This was my first experiment too and pretty fun to see. I have to admit that the layout can be improved in loads of ways, but this tutorial is intended to be for beginner Silverlight users.

Mouse Follower

We'll be using Microsoft Expression Blend 3 in this tutorial. Visual Studio will probably give the same effect, but I haven't tested it. We're going to create the program using Visual C#. The images (cursors) I used are from IconFinder.

Demo Smokey Silverlight Mouse Follower   Download Smokey Silverlight Mouse Follower

Make sure to check out the demo to see what we're going to create! As you can see, it's not really that useful, but pretty fun to see. Also, it's a great way to get in touch with Silverlight. Let's start!


Tags:  silverlight expression blend mouse follower smoke tutorial
 
Create a better jQuery stylesheet switcher

Style Sheet switchers (or "colour theme choosers") are not really that new. Apart from that fact, they still are pretty fun to use and cool to see. I was wondering how jQuery could help me achieve this technique. While searching, I came across several solutions.

There is a problem when using these techniques, which I will explain later. I created a little work-around to create a better jQuery stylesheet switcher. We'll simply change some colours for the user!

jQuery stylesheet switcher

Make sure to check out the demo to view what we're trying to accomplish.

Demo jQuery stylesheet switcher   Download jQuery stylesheet switcher

The cute little monsters used in the demo are created by Fast Icon (Dirceu Veiga). Now, let's take a look at how you can create something like this yourself!


Tags:  css stylesheet switcher jquery webdevelopment
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Results 37 - 42 of 105
Subscribe

Subscribe to Marcofolio