Vote :-)
nav_first.pngFirst: package:1
Wikidot per-site help
Edited: 08 Nov 2009 12:06 by: pieterh
Comments: 0
Tags:
nav_prev.pngPrevious: package:26
overLIB javascript Library
Edited: 02 Mar 2010 20:00 by: Ed Johnson
Comments: 0
Tags:
Last: package:49
Advanced Search
Edited: 01 May 2012 12:30 by: tsangk
Comments: 68
Tags:
nav_last.png
Next: package:28
div, table & collapsible via Includes
Edited: 06 May 2014 06:37 by: James Kanjo
Comments: 3
Tags:
nav_next.png

Vote :-)
Package submitted by Gabrys
19 Mar 2010 17:35

rating: +14+x

This package provides a "Vote" link, that can be styled in a variety of ways. It's showing just a plus sign (+).

Instructions

To install this package in your site, create/edit these pages with the following content:

This page Contains this line
somecat:_template [[include :csi:include:vote]]

This gives you a single "+" that you can wrap in a nicely-styled [[div]] to have a big "vote it up" button.

For example:

rating: +14+x

Vote me up!
[[div style="border: 1px solid #ccc; background: #fff; -moz-border-radius: 10px; text-align: center; color: #ccc; padding: 0 10px 10px; width: 85px"]]
[[div style="font-size: 400%; font-weight: bold; color: #666; display: inline"]]
[[include :csi:include:vote]] 
[[/div]]
Vote me up!
[[/div]]

(remove the space after the [[include]] line)

Include files

vote By Gabrys 19 Mar 2010 17:36

Comments: 4

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License