Thursday, 25 June 2015

dasd ada dada a faafasfasf

  • Javascript files -jQuery library & Widget- should be included in that order. Each file only needs to exists one time on a page regardless of how many widgets you have on that page.
  • You can include the Javascript files at <head> section or by the end of the page.
  • When setting options in HTML5 attribute, you should escape single-quotes with backslash in options values.
    so, you would write 'John\'s Post' instead of 'John's Post'.
    And escape double-quotes like this 'say "hi"' instead of 'say "hi"'.
  • If you place options in HTML comment, you should escape single-quotes as before. And put a backslash between any 2 consecutive dashes like this 'related -\- Post' instead of 'related -- Post'.
  • Also, If you place options in HTML comment and embed code in Blogger template, you need to escape the HTML comment like this:
    &lt;!-- {
      max_posts:4
      ,max_tags:4
      ,...
    } --&gt;
    
  • Plugin was also tested to work with jQuery 1.3.2, Just replace jQuery Javascript source to "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"

0 comments:

Post a Comment