[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread Richard D. Worth
On Fri, Oct 2, 2009 at 11:06 AM, craigeves wrote: > > Thanks for the tip (pastebin). Another really great site for sharing code is jsbin.com http://jsbin.com/ It's got a drop-down for including jQuery and jQuery UI, live preview of full page code samples, and an editor so someone can edit a

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread craigeves
Thanks so much for this - i'll compare the script that you just submitted to the one i submitted to see where i went wrong. Thanks again Craig On Oct 2, 4:21 pm, Nalum wrote: > I've updated the javascript here.http://pastebin.com/m4caef476 > > If you need any help in understanding whats happen

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread Nalum
I've updated the javascript here. http://pastebin.com/m4caef476 If you need any help in understanding whats happening here let me know and I'll try to explain it, I'm not the best at explaining things though. Nalum On Oct 2, 4:06 pm, craigeves wrote: > Hi Nalum > > I have tried and amended the

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread craigeves
Hi Nalum I have tried and amended the code as you suggested - but still no luck? Thanks for the tip (pastebin). Here is my full code now. Please would you take a quick look and let me know where im going wrong? http://pastebin.com/m4dab8bb2 Thanks for your help in this - it's really appreciate

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread Nalum
Hello Craig, When you need to show code you should try using a site like http://pastebin.com as it'll make it easier to read and your post wont be so long. You'll need to be able to work with cookies, I would suggest this jquery plugin http://plugins.jquery.com/project/cookie. I've explained how

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread craigeves
Here it is - thanks for your help again jQuery UI Sortable - Portlets .column { width: 300px; float: left; background-color: #ee; margin-right: 25px; padding-top: 10px; padding-right: 10px;

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread Nalum
Is the code in the original post all the code you have? On Oct 2, 3:03 pm, craigeves wrote: > Thanks for this - but I don't understand where it would fit into my > script? I'm only just starting in jQuery... > > Also, will this save the position of the portlet no matter which > column it's in? I

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread craigeves
Thanks for this - but I don't understand where it would fit into my script? I'm only just starting in jQuery... Also, will this save the position of the portlet no matter which column it's in? It's just that it looks like it's related to a closed and expanded portlet state. Thanks for your time.

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread Nalum
Hello Craig, I've done this before by building up a string e.g. box- id1,collapsed;box-id5,not-collapsed;box-id3,collapsed|box- id4,collapsed;box-id2,not-collapsed;box-id6,collapsed; In the javascript do something like this http://pastebin.com/m90a2af6 Hope this helps, Nalum On Oct 2, 2:35 pm,

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread craigeves
anyone? On Oct 2, 12:08 am, craigeves wrote: > Please can someone help? > > I am using the jQuery UI (sortable) Portlets code - but I want to use > the jQuery cookies plugin to remember the order of the portlets. I > don't know where to start - and searching the net for an answer only > brings u

[jQuery] Re: jQuery UI Portlets & Cookies

2009-10-02 Thread craigeves
I have managed to find a script that will save the position of portlets, but to one column only - plus it wont allow me to connect to another column. I need to be able to drag over to other columns and save their order. Can anyone help? Here is my code...