.blogID4
Description: A string of the blogID.
  • added:0.9.0
    A string representing the Blogger blog ID
`_b.blogID` is a string that contains the blog's ID. This string is also used as a default for other _b methods. The value of `_b.blogID` can also be changed with the `_b.defaults()` method which will not only improve performance but will also provide a more secure blog ID to be used as a default in other _b methods.
simple usage of the `_b.blogID`
In the example below when `alertID()` is called there will be an alert of the blog ID string [html] <script type='text/javascript'> function alertID(){ alert(_b.blogID); } </script> [/html]
DEMO:
Predefining `_b.blogID`
In the code below the blog ID is predefined so will be used as a default in all _b methods. [html] <script type='text/javascript'> window.onload=function(){ _b.defaults({ blogID:"8369227433074681144" }); } </script> [/html]

4 comments:

  1. [js]
    window.onload = function() {
    _b.defaults({
    blogID: "8369227433074681144"
    });
    }
    [/js]

    ReplyDelete
    Replies
    1. `[html]<div class="test"></div>[/html]`
      [html]<div class="test"><div>Random Test</div></div>[/html]

      [html]
      <div class="test">
      <div>Random Test
      </div>
      </div>[/html]

      Delete