Changeset 12639 for trunk/themes


Ignore:
Timestamp:
Nov 16, 2011, 9:46:46 PM (12 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.