Platinum Partner

Reading Attribute Values From A Stylesheet

Used for reading a value from the loaded stylesheet. Only support the usage of one stylesheet file. Supports selectors beeing grouped and defined in multiple blocks.


function getCssValue(selector,attribute)
   {
      selector = selector.toLowerCase();
      var stylesheet = document.styleSheets[0];
      var n = stylesheet.cssRules.length;
      for(var i=0; i
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}