<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Rating an Object Pattern</title>
	<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/</link>
	<description>News and Artilces about Designing and Developing with Yahoo! Libraries.</description>
	<pubDate>Sat, 11 Oct 2008 21:21:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Beck Laxton</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-380055</link>
		<dc:creator>Beck Laxton</dc:creator>
		<pubDate>Thu, 22 May 2008 14:10:39 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-380055</guid>
		<description>I'd like to suggest an improvement. In the example animation, I think it's confusing that a three-star review is called 'Average' (as opposed to Bad, or Excellent), but the same word is used to show the 'Average Rating' - so at a glance you might think that the item had been rated Average, rather than the average review rating it as good. 

You could cure this really simply by making a three-star review 'Okay' or something similar. (I'd change this rather than the other as there are more options.)</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to suggest an improvement. In the example animation, I think it&#8217;s confusing that a three-star review is called &#8216;Average&#8217; (as opposed to Bad, or Excellent), but the same word is used to show the &#8216;Average Rating&#8217; - so at a glance you might think that the item had been rated Average, rather than the average review rating it as good. </p>
<p>You could cure this really simply by making a three-star review &#8216;Okay&#8217; or something similar. (I&#8217;d change this rather than the other as there are more options.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Gregory</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-9856</link>
		<dc:creator>Dave Gregory</dc:creator>
		<pubDate>Thu, 12 Oct 2006 20:56:14 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-9856</guid>
		<description>I looked around for some code of this and found that the main artcile about the rating pattern:

&lt;a href="http://developer.yahoo.com/ypatterns/pattern.php?pattern=ratinganobject&#38;showrevision=true" title="yahoo rating pattern page" rel="nofollow"&gt;Yahoo! ratings pattern page&lt;/a&gt;

it has links on it for examples and this was the best one:

Yahoo Tech&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I looked around for some code of this and found that the main artcile about the rating pattern:</p>
<p><a href="http://developer.yahoo.com/ypatterns/pattern.php?pattern=ratinganobject&amp;showrevision=true" title="yahoo rating pattern page" rel="nofollow">Yahoo! ratings pattern page</a></p>
<p>it has links on it for examples and this was the best one:</p>
<p>Yahoo Tech</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Engene</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-2912</link>
		<dc:creator>Marcus Engene</dc:creator>
		<pubDate>Wed, 05 Jul 2006 08:43:43 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-2912</guid>
		<description>I wanted to save place, using the same stars for the user to select the grade. This was very easy with negative margin. It's basically three divs with the following styles:

z-index: 1; width: 90px; height: 18px; background-image: url(/v4icons/star_white18x18.gif); background-repeat: repeat-x;

style="z-index: 2; margin: -18px 0px; width: ' . $width . 'px; height: 18px; background-image: url(/v4icons/star_red18x18.gif); background-repeat: repeat-x;

style="z-index: 3; margin: -18px 0px; width: 0px; height: 18px; background-image: url(/v4icons/star_yellow18x18.gif); background-repeat: repeat-x;

Red is users grade. One star is 18px wide, a grade of 2.3 would require width of red stars div to be round(2.3*18)

Callbacks set width of the yellow stars when user mouseovers etc.
documents.getElementById("idOfYellow").style.width = stars_selected_times_18 + "px";

Obviously, the divs do best in a left aligned environment ;-)</description>
		<content:encoded><![CDATA[<p>I wanted to save place, using the same stars for the user to select the grade. This was very easy with negative margin. It&#8217;s basically three divs with the following styles:</p>
<p>z-index: 1; width: 90px; height: 18px; background-image: url(/v4icons/star_white18&#215;18.gif); background-repeat: repeat-x;</p>
<p>style=&#8221;z-index: 2; margin: -18px 0px; width: &#8216; . $width . &#8216;px; height: 18px; background-image: url(/v4icons/star_red18&#215;18.gif); background-repeat: repeat-x;</p>
<p>style=&#8221;z-index: 3; margin: -18px 0px; width: 0px; height: 18px; background-image: url(/v4icons/star_yellow18&#215;18.gif); background-repeat: repeat-x;</p>
<p>Red is users grade. One star is 18px wide, a grade of 2.3 would require width of red stars div to be round(2.3*18)</p>
<p>Callbacks set width of the yellow stars when user mouseovers etc.<br />
documents.getElementById(&#8221;idOfYellow&#8221;).style.width = stars_selected_times_18 + &#8220;px&#8221;;</p>
<p>Obviously, the divs do best in a left aligned environment ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevinknight</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-525</link>
		<dc:creator>kevinknight</dc:creator>
		<pubDate>Thu, 30 Mar 2006 19:48:18 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-525</guid>
		<description>Dotcompals!
Let me repeat again for you. Here is the php and js sample.

http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/

It's very simple to apply at your own site.</description>
		<content:encoded><![CDATA[<p>Dotcompals!<br />
Let me repeat again for you. Here is the php and js sample.</p>
<p><a href="http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/" rel="nofollow">http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/</a></p>
<p>It&#8217;s very simple to apply at your own site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dotcompals</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-490</link>
		<dc:creator>dotcompals</dc:creator>
		<pubDate>Tue, 28 Mar 2006 07:33:04 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-490</guid>
		<description>From where I can get the php source file to implement the rate this article in my website?</description>
		<content:encoded><![CDATA[<p>From where I can get the php source file to implement the rate this article in my website?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Smith</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-303</link>
		<dc:creator>Martin Smith</dc:creator>
		<pubDate>Thu, 09 Mar 2006 20:04:02 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-303</guid>
		<description>I think this is the Yahoo JavaScript...

http://us.js2.yimg.com/us.yimg.com/lib/ls/js/yg_multirate_200602281800.js</description>
		<content:encoded><![CDATA[<p>I think this is the Yahoo JavaScript&#8230;</p>
<p><a href="http://us.js2.yimg.com/us.yimg.com/lib/ls/js/yg_multirate_200602281800.js" rel="nofollow">http://us.js2.yimg.com/us.yimg.com/lib/ls/js/yg_multirate_200602281800.js</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevinknight</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-295</link>
		<dc:creator>kevinknight</dc:creator>
		<pubDate>Wed, 08 Mar 2006 14:13:07 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-295</guid>
		<description>here is the code i found.
http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/</description>
		<content:encoded><![CDATA[<p>here is the code i found.<br />
<a href="http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/" rel="nofollow">http://www.yvoschaap.com/index.php/weblog/css_star_rater_ajax_version/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-252</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sun, 05 Mar 2006 02:23:22 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-252</guid>
		<description>Anyone mention code?</description>
		<content:encoded><![CDATA[<p>Anyone mention code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-226</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 28 Feb 2006 20:46:39 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-226</guid>
		<description>We are still anxiously awaiting code...</description>
		<content:encoded><![CDATA[<p>We are still anxiously awaiting code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurent</title>
		<link>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-123</link>
		<dc:creator>laurent</dc:creator>
		<pubDate>Fri, 17 Feb 2006 10:18:00 +0000</pubDate>
		<guid>http://yuiblog.com/blog/2006/02/13/ratinganobject/#comment-123</guid>
		<description>Code samples would indeed be interesting. But something more interesting imo would be to actually use the yahoo's api at it's full capability on this blog !

Nobody can rate up or down this post or some comments. 

What a shame !!!</description>
		<content:encoded><![CDATA[<p>Code samples would indeed be interesting. But something more interesting imo would be to actually use the yahoo&#8217;s api at it&#8217;s full capability on this blog !</p>
<p>Nobody can rate up or down this post or some comments. </p>
<p>What a shame !!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.585 seconds -->
