1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained 8thos Star Ratings CSS Smilie Sprites 1.0.1

A 2.91kb star ratings CSS smilies sprite

  1. DRE

    DRE Well-Known Member

    8thos submitted a new resource:

    8thos Star Ratings CSS Smilie Sprites (version 1.0) - A 2.91kb star ratings CSS smilies sprite

    Read more about this resource...
     
    Shelley likes this.
  2. Mouth

    Mouth Well-Known Member

    Upload/styles/default/smilies file is named star_ratings.png within the .zip but the XML import is looking for file named star_rating.png (no 's'/plural).
    I renamed styles/default/smilies/start_ratings.png to styles/default/smilies/star_rating.png and it then worked.

    Thanks :)
     
    8thos likes this.
  3. Digital Doctor

    Digital Doctor Well-Known Member

    [​IMG]
    Looks good :)
     
    8thos likes this.
  4. DRE

    DRE Well-Known Member

  5. 0ptima

    0ptima Well-Known Member

    Dre, thanks for sharing this. Here are the img code values for the icons if you want to use them directly.

    Code:
    0 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px 0px" alt="" src="styles/default/xenforo/clear.png"></img>
    1 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -40px" alt="" src="styles/default/xenforo/clear.png"></img>
    1.5 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -60px" alt="" src="styles/default/xenforo/clear.png"></img>
    2 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -80px" alt="" src="styles/default/xenforo/clear.png"></img>
    2.5 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -100px" alt="" src="styles/default/xenforo/clear.png"></img>
    3 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -120px" alt="" src="styles/default/xenforo/clear.png"></img>
    3.5 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -140px" alt="" src="styles/default/xenforo/clear.png"></img>
    4 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -160px" alt="" src="styles/default/xenforo/clear.png"></img>
    4.5 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -180px" alt="" src="styles/default/xenforo/clear.png"></img>
    5 Star
    <img style="width: 100px; height: 22px; background: url('styles/default/smilies/star_rating.png') no-repeat 0px -200px" alt="" src="styles/default/xenforo/clear.png"></img>
    
     

Share This Page