JQueryCookie
System
---+ %TOPIC% %JQPLUGINS{"cookie" format=" Homepage: $homepage <br /> Author(s): $author <br /> Version: $version " }% %STARTSECTION{"summary"}% Easy cookie handling using jQuery. %ENDSECTION{"summary"}% ---++ Usage * =$.cookie('the_cookie');=: return the value of the cookie * =$.cookie('the_cookie', 'the_value');=: set the value of a cookie * =$.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });=: create a cookie with all available options. * =$.cookie('the_cookie', null);=: delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain used when the cookie was set. ---++ Options * expires: either an integer specifying the expiration date from now on in days or a Date object. If a negative value is specified (e.g. a date in the past), the cookie will be deleted. If set to null or omitted, the cookie will be a session cookie and will not be retained when the the browser exits. * path: the value of the path atribute of the cookie (default: path of page that created the cookie). * domain: the value of the domain attribute of the cookie (default: domain of page that created the cookie). * secure: if true, the secure attribute of the cookie will be set and the cookie transmission will require a secure protocol (like HTTPS).
E
dit
•
A
ttach
•
P
rint version
•
H
istory
: r1
•
B
acklinks
•
V
iew topic
•
M
ore topic actions
Projects
Skin Browser
Need to add skin selector, and then appropriate details
WidgetsSkin
options:
Wide
Wide - Thin
Thin - Wide
Thin - Wide - Thin
Wide - Thin - Thin
Wide - Medium
Medium - Wide
System Changes
WebCreateNewTopicTemplate
WebTemplateTopics
WebSearch
WebHome
WikiWord
WikiSyntax
WikiName
WikiSyntaxSummary
WikiCulture
WelcomeGuest
WebNotifyHelp
WebNotify
WebRssBase
WebRss
WebPreferencesHelp
powered by the community. 28th October 2008.