Changeset 12639


Ignore:
Timestamp:
11/16/11 21:46:46 (8 years ago)
Author:
rvelices
Message:

simplify cross browser rating stars display

Location:
trunk/themes/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/fix-ie7.css

    r12510 r12639  
    2424} 
    2525 
    26 INPUT[type='submit'] { 
    27   text-indent: 0px !important; 
    28 } 
  • trunk/themes/default/js/rating.js

    r11839 r12639  
    2424                try { rateButton.type = "button"; } catch (e){}// avoid normal submit (use ajax); not working in IE6 
    2525 
    26                 if (navigator.userAgent.indexOf('AppleWebKit/')==-1 && navigator.userAgent.indexOf('MSIE 8')==-1) rateButton.value = ""; //hide the text IE<8/Opera - breaks safari 
     26                rateButton.value = " "; //hide the text (Apple + IE would show text above the stars) 
    2727                with (rateButton.style) 
    2828                { 
    29                         textIndent = "-50px"; //hide the text FF 
    3029                        marginLeft = marginRight = 0; 
    3130                } 
Note: See TracChangeset for help on using the changeset viewer.