Comments on: iNettuts with Cookies! https://j11y.io/cool-stuff/inettuts-with-cookies/ Sun, 22 Mar 2015 15:39:22 +0000 hourly 1 https://wordpress.org/?v=5.0.13 By: Visual3D https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-184 Sat, 28 Nov 2009 12:04:45 +0000 https://j11y.io/?p=195#comment-184 Hey Thanx for this!

I would like to add some function :
– add widgets and delete one
– database : create one field for one widget, like :

widget_id                   config
1                      widget,color-green,Widget 1 title,not-collapsed
2                      widget,color-white,Widget 2 title,not-collapsed
3                      widget,color-red,Widget 3 title,not-collapsed
4                      widget,color-blue,Widget 4 title,not-collapsed

=> Can you help me ?

]]>
By: thinker https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-183 Mon, 16 Nov 2009 10:16:42 +0000 https://j11y.io/?p=195#comment-183 HI guys. got the page working a treat now thanks for your help.

i have been trying to put http://okonet.ru/projects/modalbox/ in but it doesn’t seem to work…if i put their js code below the window code the widgets work, but the pop up doesn’t, if i switch it around the pop up does but the widget buttons etc dissapear and you cant move them around.

any suggestions would be greatly appreciated

]]>
By: koji https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-182 Mon, 16 Nov 2009 00:06:58 +0000 https://j11y.io/?p=195#comment-182 hi guys,

please refer to my following comment.
“August 24th, 2009 at 5:43 am”

i think that the simplest method is to manage these values on the database.

thanks,
koji

]]>
By: Padfoot https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-181 Sun, 15 Nov 2009 02:09:08 +0000 https://j11y.io/?p=195#comment-181 Koji or Mario,
Do u know how to implement this to work with Mario’s Database version.

Thanks, Padfoot

]]>
By: Koji https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-179 Fri, 13 Nov 2009 14:11:19 +0000 https://j11y.io/?p=195#comment-179 Hi guys & thinker,

thank you for being interested in my source code.
this program manage a value of COOKIE.

please download the sample code from here.
http://www.v-mpf.jp/mode/restore.src
this code is written by PHP.

thanks,
koji

]]>
By: thinker https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-178 Fri, 13 Nov 2009 12:54:51 +0000 https://j11y.io/?p=195#comment-178 hi guys, i’ve been looking at koji’s code, i love the way he does the restore feature, how do i replicate it, as far as ican see it uses a restore.do but ive not got a clue what’s in it or how to get it to work on my site

]]>
By: alex https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-177 Fri, 13 Nov 2009 09:20:18 +0000 https://j11y.io/?p=195#comment-177 Dear James,

is there any solution for ‘attr[…]’ is null or not an object ?
since i already put every of my widget with a ID,
but this error still occured… plz give some suggestion thanks…

best regards,
Alex

]]>
By: Neil https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-176 Tue, 10 Nov 2009 15:37:20 +0000 https://j11y.io/?p=195#comment-176 Paul-thanks for helping. Great job! I’m having trouble with the move after create part.It moves but doesn’t “stick”

]]>
By: ZiHua https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-175 Wed, 04 Nov 2009 08:17:52 +0000 https://j11y.io/?p=195#comment-175 To Heba:

🙂

I have run it sucessful with FireFox 3.0.15 .

Maybe your problem is similar as i said above .

]]>
By: ZiHua https://j11y.io/cool-stuff/inettuts-with-cookies/#comment-174 Wed, 04 Nov 2009 08:13:40 +0000 https://j11y.io/?p=195#comment-174 I see you used jQuery with 1.2.6 persion file.
But the newest jQuery persion is 1.3.2 and I have tested this code with 1.3.2, I have found some bug in it.
For example,with the code :
$(settings.columns).sortable({
items: $sortableItems,
connectWith: $(settings.columns),
handle: settings.handleSelector,
placeholder: ‘widget-placeholder’,
forcePlaceholderSize: true,
revert: 300,
delay: 100,
opacity: 0.8,
containment: ‘document’,
start: function (e,ui) {
$(ui.helper).addClass(‘dragging’);
},
stop: function (e,ui) {
$(ui.item).css({width:”}).removeClass(‘dragging’);
$(settings.columns).sortable(‘enable’);
/* Save prefs to cookie: */
iNettuts.savePreferences();
}
});

the “stop” function can not run correctly. So the cookie can not be saved correctly.
I think whether the “jquery-ui-personalized-1.6rc2.min.js” is not so compatible with jQuery 1.3.2 persion ?

But thank you very much for your iNettuts , it has lots of challenge to me .

]]>