z4sidebar social sidebar

To install the z4sidebar social sidebar on your website:

Download
  1. Insert this code into the <head> of your web page after the page title and below your other css documents:
  2. Insert this code into the <head> of your web page after the page title with your other javascript documents:
  3. Insert this code into the <body> of your web page (the bottom of the page is fine, be sure it's before the closing </body> tag:
  4. Change "YOUR_URL" in the facebook Like Button to your URL. If your page is written in php and you want the URL to be page specific (www.mysite.com, www.mysite.com/whats-new, etc.), replace the facebook like button code with this code:
    PHP code for z4sidebar social sidebar
  5. Save and upload your webpage and you are zBar'd!

If you want to edit and customize the z4sidebar social sidebar, download the zBar social sidebar and social bottombar package and edit the html, css, javascript and images as you wish. Don't forget to change the css path and image paths accordingly.

To install the z4bottombar social bottombar on your website:

  1. Insert this code into the <head> of your web page after the page title and below your other css documents:
  2. Insert this code into the <head> of your web page after the page title with your other javascript documents (most jQuery):
  3. Insert this code into the <body> of your web page just before the closing </body> tag:
  4. Change "YOUR_URL" in the facebook Like Button to your URL. If your page is written in php and you want the URL to be page specific (www.mysite.com, www.mysite.com/whats-new, etc.) replace the faceboook like button code with this:
    PHP code for z4bottombar social bottombar
  5. Save and upload your webpage and you are zBar'd

If you want to edit and customize the z4bottombar social bottombar, download the zBar social sidebar and social bottombar package and edit the html, css, javascript and images as you wish. Don't forget to change the css path and image paths accordingly.

Notes

Both the z4sidebar social sidebar and z4bottombar social bottombar use cookies that keep them hidden on page change or return to the website. By default, these coookies are set for one day, so upon returning the next day the zBar social sidebar and social bottombar will be back. You can easily change this in the zBar.js on lines 132 and 136 for the z4sidebar social sidebar and lines 106 and 110 for the z4bottombar social bottombar.

By default, the zMenu is commented out. To activate it, remove the "<!--" before the zMenu and "-->" after it, then edit the links within the zMenu.

To have the z4sidebar social sidebar not all the way against the left side of the page and floating next to the content body, place the z4sidebar social sidebar within the content body with a specified width and remove the "/*" comment mark before and the "*/" after the "/* margin:0 0 0 -100px; */" code on line on line 25 and either comment out or remove the "left:0;" on line 22 on the z4sidebar.css.

If you have any questions or ideas on how to improve the z4sidebar social sidebar or z4bottombar social bottombar, please let me know.

copyright © 2011 z4zen creative