Show
Ignore:
Timestamp:
10/08/08 03:20:36 (3 months ago)
Author:
drry
Message:
  • set subversion properties.
  • et cetera.
Location:
lang/javascript/ratingstars/trunk
Files:
12 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/ratingstars/trunk/doc/index.html

    • Property svn:mime-type set to text/html; charset=UTF-8
  • lang/javascript/ratingstars/trunk/doc/up.gif

    • Property svn:mime-type changed from application/octet-stream to image/gif
  • lang/javascript/ratingstars/trunk/examples/basic.html

    • Property svn:mime-type set to text/html; charset=UTF-8
    r3309 r20942  
    2020<h1>RatingStars Example</h1> 
    2121<div id="stars"></div> 
    22 <hr /> 
     22<hr> 
    2323<div id="currentRate"></div> 
    2424</body> 
  • lang/javascript/ratingstars/trunk/examples/halfrated.html

    • Property svn:mime-type set to text/html; charset=UTF-8
    r3309 r20942  
    2121<h1>RatingStars Example</h1> 
    2222<div id="stars"></div> 
    23 <hr /> 
     23<hr> 
    2424<div id="currentRate"></div> 
    2525</body> 
  • lang/javascript/ratingstars/trunk/examples/images/sun1.gif

    • Property svn:mime-type changed from application/octet-stream to image/gif
  • lang/javascript/ratingstars/trunk/examples/images/sun2.gif

    • Property svn:mime-type changed from application/octet-stream to image/gif
  • lang/javascript/ratingstars/trunk/examples/images/sun3.gif

    • Property svn:mime-type changed from application/octet-stream to image/gif
  • lang/javascript/ratingstars/trunk/examples/images/sun9.gif

    • Property svn:mime-type changed from application/octet-stream to image/gif
  • lang/javascript/ratingstars/trunk/examples/messages.html

    • Property svn:mime-type set to text/html; charset=UTF-8
    r3309 r20942  
    3030<div id="message"></div> 
    3131<div id="stars"></div> 
    32 <hr /> 
     32<hr> 
    3333<div id="currentRate"></div> 
    3434</body> 
  • lang/javascript/ratingstars/trunk/examples/notfreeze.html

    • Property svn:mime-type set to text/html; charset=UTF-8
    r3309 r20942  
    2121<h1>RatingStars Example</h1> 
    2222<div id="stars"></div> 
    23 <hr /> 
     23<hr> 
    2424<div id="currentRate"></div> 
    2525</body> 
  • lang/javascript/ratingstars/trunk/examples/pulsate.html

    • Property svn:mime-type set to text/html; charset=UTF-8
    r3309 r20942  
    2323<h1>RatingStars Example</h1> 
    2424<div id="stars"></div> 
    25 <hr /> 
     25<hr> 
    2626<div id="currentRate"></div> 
    2727</body> 
  • lang/javascript/ratingstars/trunk/lib/ratingstars.js

    r3309 r20942  
    5353    onDefault: [] 
    5454  }; 
    55 } 
     55}; 
    5656RatingStars.Container.prototype.setCurrentRate = function (rate) { 
    5757  this.options.currentRate = rate; 
    58 } 
     58}; 
    5959 
    6060RatingStars.Container.prototype.getCurrentRate = function () { 
     
    6363    rate += 0.5; 
    6464  return rate; 
    65 } 
     65}; 
    6666 
    6767RatingStars.Container.prototype.checkEssentialOptions = function () { 
     
    7070  if (!this.options.unratedStarImage) 
    7171    throw "set unratedStarImage."; 
    72 } 
     72}; 
    7373 
    7474RatingStars.Container.prototype.setElement = function (element) { 
    7575  this.element = document.getElementById(element); 
    76 } 
     76}; 
    7777 
    7878RatingStars.Container.prototype.getElement = function () { 
    7979  return this.element; 
    80 } 
     80}; 
    8181 
    8282RatingStars.Container.prototype.setup = function (element) { 
     
    9494      var span = document.createElement('span'); 
    9595      try { span.style.cursor = 'pointer' } catch (e) { 
    96         try { span.style.cursor = 'hand' } catch (e) {} 
     96        try { span.style.cursor = 'hand' } catch (e) { } 
    9797      } 
    9898      var imgElement = document.createElement('img'); 
     
    111111    element.appendChild(this.stars[j]); 
    112112  this.setDefaultRate(); 
    113 } 
     113}; 
    114114 
    115115RatingStars.Container.prototype.registerCallback = function (type, callback) { 
     
    118118    throw "Unknown event, " + type; 
    119119  callbacks.push(callback); 
    120 } 
     120}; 
    121121 
    122122RatingStars.Container.prototype.register = function () { 
     
    139139    star.onmouseout   = null; 
    140140  } 
    141 } 
     141}; 
    142142 
    143143RatingStars.Container.prototype.setDefaultRate = function () { 
     
    147147  for (var i = 0; i < callbacks.length; i++) 
    148148    callbacks[i](currentRate); 
    149 } 
     149}; 
    150150 
    151151RatingStars.Container.prototype.changeRate = function (userRate, isUserMode) { 
     
    170170    } 
    171171  } 
    172 } 
     172}; 
    173173 
    174174RatingStars.Container.prototype.loadPlugin = function (pluginName) { 
     
    179179  plugin.load(this); 
    180180  return plugin; 
    181 } 
     181}; 
    182182 
    183183RatingStars.Plugin = {}; 
    184 RatingStars.Plugin.MessageLabel = function () { } 
     184RatingStars.Plugin.MessageLabel = function () { }; 
    185185RatingStars.Plugin.MessageLabel.prototype.load = function (rating) { 
    186186  var extention = { 
     
    219219    elm.innerHTML = rating._defaultMessage; 
    220220  } ); 
    221 } 
    222  
     221}; 
     222