Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Auto Sprite 1.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stephen  
View profile  
 More options Jan 10 2010, 10:59 pm
From: Stephen <sblackst...@gmail.com>
Date: Sun, 10 Jan 2010 22:59:24 -0500
Local: Sun, Jan 10 2010 10:59 pm
Subject: Auto Sprite 1.0

Hi all,

Just want to announce my auto_sprite gem which some of you may find handy..
It makes using CSS sprites painless.  As a bonus - should you remove it some
day, it doesn't break you app, it just reverts to <img> tags..

Full docs are at http://fargle.org/auto_sprite

In a pinch:

   1. Include the stylesheet in your layout:

        <%= stylesheet_link_tag "auto_sprite" %>

   2. Create a directory called sprites in your images directory (e.g.
   RAILS_ROOT/public/images/sprites)
   3. Put the images you want to link to in your public/images/sprites
   directory.
   4. Use your images like you normally would:

   <%= image_tag ‘sprites/logo.png’ %>
   <%= image_tag ‘sprites/icon1.jpg’ %>
   5. Reload you application and enjoy your now faster website.

Enjoy!
Stephen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen  
View profile  
 More options Jan 13 2010, 5:23 pm
From: Stephen <sblackst...@gmail.com>
Date: Wed, 13 Jan 2010 14:23:30 -0800 (PST)
Local: Wed, Jan 13 2010 5:23 pm
Subject: Re: Auto Sprite 1.0
Just curious  - did anyone try this out with success/failure?  Thx.

On Jan 10, 10:59 pm, Stephen <sblackst...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marnen Laibow-Koser  
View profile  
 More options Jan 13 2010, 5:33 pm
From: Marnen Laibow-Koser <li...@ruby-forum.com>
Date: Wed, 13 Jan 2010 23:33:46 +0100
Local: Wed, Jan 13 2010 5:33 pm
Subject: Re: Auto Sprite 1.0

Stephen wrote:
> Just curious  - did anyone try this out with success/failure?  Thx.

Not yet, but I'll have to try.  This looks very interesting!

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Posted via http://www.ruby-forum.com/.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen  
View profile  
 More options Jan 16 2010, 12:30 pm
From: Stephen <sblackst...@gmail.com>
Date: Sat, 16 Jan 2010 12:30:21 -0500
Local: Sat, Jan 16 2010 12:30 pm
Subject: Re: [Rails] Re: Auto Sprite 1.0

I do use this in a live project - its not just a "hey wouldn't this be cool
moment" =)

Would love to hear feedback/suggestions if anyone has some to share..

On Wed, Jan 13, 2010 at 5:33 PM, Marnen Laibow-Koser
<li...@ruby-forum.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »