The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

CSS Rating System

View previous topic View next topic Go down

CSS Rating System

Post by Guest on May 30th 2010, 8:02 pm

Hey guys i found this css script for rating system and i want to add to my forum.
i mean when someone post new thread so the others can rate for hi's/her post.

Stars images :

This is the css code:
Code:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Star Rating System</title>

<style type="text/css">
* {
padding:0;
margin:0;
list-style:none;
}

ul.rating{
background:url(http://img718.imageshack.us/img718/4012/starg.jpg) bottom;
height:21px;
width:115px;
overflow:hidden;
}

ul.rating li{
display:inline
}

.rating a {
display:block;
width:23px;
height:21px;
float:left;
text-indent:-9999px;
position:relative;
}

.rating a:hover {
background:url(http://img718.imageshack.us/img718/4012/starg.jpg) center;
width:115px;
margin-left:-92px;
position:static;
}

.rating a:active {
background-position:top;
}

</style>
</head>

<body>

<ul class="rating">
   <li><a href="#" title="Terrible">Terrible</a></li>
    <li><a href="#" title="Bad">Bad</a></li>
    <li><a href="#" title="Average">Average</a></li>
    <li><a href="#" title="Good">Good</a></li>
    <li><a href="#" title="Excellent">Excellent</a></li>
</ul>

</body>
</html>

So please help me. and if you will help me you will also use this for your forums Smile
(I don't know if this is wrong place for my thread, move it if its wrong.)

Thankz
AliG Very Happy

Guest
Guest


Back to top Go down

Re: CSS Rating System

Post by Cool-processor on May 30th 2010, 8:22 pm

and where do the results go? Shocked

Cool-processor
Forumember

Male Posts : 724
Reputation : -55
Language : HTML | CSS/3 | JQuery
Location : To my own coding world

http://www.creative-labz.com

Back to top Go down

Re: CSS Rating System

Post by MrMario on May 30th 2010, 11:44 pm

Hello,

We are in the Suggestion Section. All Support Questions will need to be placed in one of the following listed here => http://help.forumotion.com/support-forum-c1/

I will now lock this topic.

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum