Re: [jQuery] Cookie in JQuery. Create, Update and Get

2009-12-01 Thread Richard D. Worth
See http://plugins.jquery.com/project/cookie - Richard On Tue, Dec 1, 2009 at 9:55 PM, shapper wrote: > Hello, > > I need to add a cookie with value "true" or "false". > If the cookie does not exist then created. Otherwise change its value > to the new value. > Later I need to get the cookie v

[jQuery] Cookie in JQuery. Create, Update and Get

2009-12-01 Thread shapper
Hello, I need to add a cookie with value "true" or "false". If the cookie does not exist then created. Otherwise change its value to the new value. Later I need to get the cookie value. Can I do this with JQuery? Do I need a plugin? Which one? Thank You, Miguel

[jQuery] Cookie

2009-12-01 Thread shapper
Hello, I am using JPlayer plugin with 2 buttons. Play and Stop. $("#jquery_jplayer").jPlayer({ ready: function () { $(this).setFile('http://mydomain.com/mymusic.mp3').play(); demoInstanceInfo($(this), $("#jplayer_info"));

[jQuery] jQuery cookie solution in Liferay

2009-10-17 Thread Fynci
I am unsure of where to start with this one, and so I'm hoping one of you good people will be able to assist. I am using Liferay, and on the calendar settings there is a value called "event-selector". At present when you click to view events, the default is always the top value "All Events". What

[jQuery] Looking for assistance implementing jQuery Cookie into Sliding Panel WordPress Plugin.

2009-07-30 Thread awarner20
ight after the user logs in. I have a lead that maybe the jQuery Cookie plugin could help, but I have absolutely no experience with jQuery. I wonder if anyone here would be interested in having a look at this and if there is a solution? The code used in the plugin is: var $j = jQuery.noConfl

[jQuery] Re: jquery cookie text resizer

2009-07-23 Thread Magnificent
That was it! And it makes total sense - thanks much for the extra set of eyes, you rock! On Jul 23, 5:22 pm, James wrote: > Inside the textResize() function, on the first line try adding: > level = parseInt(level); > > I'm thinking when you're manually calling textResize, you're doing > somethi

[jQuery] Re: jquery cookie text resizer

2009-07-23 Thread James
Inside the textResize() function, on the first line try adding: level = parseInt(level); I'm thinking when you're manually calling textResize, you're doing something like: textResize(3); But when you're doing it through the cookie, it's not an Integer, it's a String: textResize("3"); Your switc

[jQuery] jquery cookie text resizer

2009-07-23 Thread Magnificent
Hello all, I'm doing a text resizer with a cookie to remember the font size level. I'm running into a little problem and was wondering if someone sees something obvious I'm missing. The cookie is being set/read OK and the text resizer works when triggered manually, but it's not being executed on

[jQuery] jquery cookie plugin

2009-06-23 Thread juxprose
Hello This function works with the jquery cookie plugin (http://plugins.jquery.com/project/cookie) and code from here (http://www.komodomedia.com/blog/2008/07/using-jquery-to-save-form-details/) $(document).ready(function(){ remember('[name=field_name]'); }); It remembers the i

[jQuery] Re: jQuery Cookie Plugin

2009-06-08 Thread Klaus Hartl
Did you try $.cookie('the_cookie', 'the_value', { expires: 7 }); // expires after 7 days ? The expires option will also accept a Date object. --Klaus On 8 Jun., 20:27, Richard Walsh wrote: > Hey guys, I'm working on a project where I am using the jquery plugin > that Klaus made. The cooki

[jQuery] jQuery Cookie Plugin

2009-06-08 Thread Richard Walsh
Hey guys, I'm working on a project where I am using the jquery plugin that Klaus made. The cookie works very well with the exception that when the user closes the browser the cookie expires. I've been trying to figure out how I can set the var for expiry so that this doesn't happen but I am at a l

[jQuery] Cookie 'current' state question for horizontal menu with drop downs

2009-05-08 Thread lorenzo morales
I searched and found this thread... http://groups.google.com/group/jquery-en/browse_thread/thread/f118475a14a5245a/e60e972d364f11d0?lnk=gst which is very helpful for list based menus with a need for a current state. But I have a similar request that I hope to solve with your help. I have a horiz

[jQuery] Cookie problem in Safari 3.1.1

2008-07-17 Thread pedramphp
Dear folks, My system is working with AJax and I need to save some of my data with Cookies as you all know I have to handle this with javascript cookie and Server Cookie both when I call the AJAX I change the Value of the Cookie then when the AJAX loads the Server PHP file it recognizes the Co

[jQuery] Cookie issue - path?

2007-12-21 Thread Sam Granger
I have a draggable menu which remembers its position using a cookie. I want to use this menu all over my site and just use the 1 cookie to read from. It works at first if I drag the menu on the main page and go to a subpage but when I move it on the subpage it appears a new cookie is made with a

[jQuery] Cookie issue - path?

2007-12-21 Thread Sam Granger
I have a draggable menu which remembers its position using a cookie. I want to use this menu all over my site and just use the 1 cookie to read from. It works at first if I drag the menu on the main page and go to a subpage but when I move it on the subpage it appears a new cookie is made with a n

[jQuery] Re: Problem in delete cookie with jQuery Cookie plugin

2007-12-04 Thread Klaus Hartl
On 4 Dez., 14:01, Leandro Vieira Pinho <[EMAIL PROTECTED]> wrote: > Yes Klaus, > > The code is ok, but the cookie isn´t deleting, and I don´t know why? I don't know either. Works for me. Maybe something is wrong with the cookie name. Or some JavaScript error on the page. I can only guess... --Kl

[jQuery] Re: Problem in delete cookie with jQuery Cookie plugin

2007-12-04 Thread Leandro Vieira Pinho
Yes Klaus, The code is ok, but the cookie isn´t deleting, and I don´t know why? I have tried in FF and IE 6 Regards On Dec 4, 8:16 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > On 4 Dez., 00:34, Wizzud <[EMAIL PROTECTED]> wrote: > > > Try setting expires to a negative number to delete the cooki

[jQuery] Re: Problem in delete cookie with jQuery Cookie plugin

2007-12-04 Thread Klaus Hartl
On 4 Dez., 00:34, Wizzud <[EMAIL PROTECTED]> wrote: > Try setting expires to a negative number to delete the cookie. If the value is null, the value of expires doesn't matter at all. Of course it is obsolete in the function call. That's strange. I can't see anything wrong with the code and it co

[jQuery] Re: Problem in delete cookie with jQuery Cookie plugin

2007-12-03 Thread Wizzud
Try setting expires to a negative number to delete the cookie. On Dec 3, 5:50 pm, Leandro Vieira Pinho <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I´m working with this piece of code: > > $(this).toggle( function() { > $(this).children().slideToggle('fast', f

[jQuery] Problem in delete cookie with jQuery Cookie plugin

2007-12-03 Thread Leandro Vieira Pinho
Hi Guys, I´m working with this piece of code: $(this).toggle( function() { $(this).children().slideToggle('fast', function() { $.cookie('_wp_el_' + i, i, { expires: 30, path: '/', domain: 'leandrovieira.com' }); }); }, function() {

[jQuery] Cookie Plugin - Trying to get the values of elements in the array of cookies.

2007-08-30 Thread cfdvlpr
I'm using the cookie plugin. And, I have created 4 cookies with it and they are named: Expanded[1]=3 Expanded[2]=18 Expanded[3]=27 Expanded[4]=37 I also keep a count of the number of cookies that have been created and the name of this cookie is this: onExpandCount=4 How do I loop through the

[jQuery] Cookie management with jquery and json

2007-08-07 Thread [EMAIL PROTECTED]
Hi People, I would like to know whether some of you have information about cookie management with jquery and json. In fact, for the moment, I have a function that returns a js hash table containing information about each box ( its column number and rank in the column) on my page. The boxes are dr

[jQuery] cookie check within ajah loaded page doesnt work

2007-04-01 Thread JimD
Hi all, I have some code that checks for a cookie named sumview. if the value is 'hide' I dont want to display a div with id viewsummary. Problem is that the summary div is in the page that loads from an ajax request using the form plugin. The ajax loaded page ignores the cookie. Do I need to ch