Thanks guys!
Great help, all sorted out now!

Stefpretty

On Nov 3, 5:55 pm, Fontzter <[email protected]> wrote:
> Ah, I think I found the issue... you are loading the cookie plugin
> before jQuery.  It depends on jQuery and it's code is not being made
> available to you.  Load it after jquery and then the code I gave you
> earlier should do the trick.
>
> Hth,
>
> Dave
>
> On Nov 3, 12:39 pm, stefpretty <[email protected]> wrote:
>
>
>
> > Hmm still doesnt seem to want to work!!!
>
> > If you want to take a look at the site itself and the source see if
> > its something else?
>
> >http://www.wallacegait.co.uk
> > username: wallace
> > pass: gait
>
> > Thanks again!
>
> > Stefpretty
>
> > On Nov 3, 2:29 pm, Mean Mike <[email protected]> wrote:
>
> > > ok here is what I found for whatever reason 'disable' event doesn't
> > > seem to work so I used 'destroy' event
> > > here is the jquery
>
> > >         $(document).ready(function(){
> > >                 $("#dialog").dialog({
> > >                 bgiframe: true,
> > >                 modal: true,
> > >                 resizable: false,
> > >                 autoOpen: false,
> > >                 width:200,
> > >                 close: function() {
> > >                 $.cookie('doneDi', 'closed', { expires: 2 });
> > >             },
> > >                 buttons: {
> > >                     Ok: function() {
> > >                         $.cookie('doneDi', 'closed', { expires: 2 });
> > >                         $(this).dialog('close');
> > >                     }
> > >                 }
> > >             });
> > >                 $("#dbutton").click(function(){
> > >                         if ($.cookie("doneDi") == "closed"){
> > >                                 $("#dialog").dialog('destroy');
> > >                         }else{
> > >                                 $("#dialog").dialog('open');
> > >                         }
> > >                 });
> > >         });
>
> > > let me know how this works out for you
>
> > > Mean Mike
>
> > > On Nov 3, 8:40 am, stefpretty <[email protected]> wrote:
>
> > > > Anybody else maybe have a solution to my problem?
> > > > sorry, running on a deadline.
>
> > > > Thanks!
>
> > > > Stefpretty
>
> > > > On Nov 2, 8:36 pm, stefpretty <[email protected]> wrote:
>
> > > > > Thanks I might try the code they have used if i can't get a solution
> > > > > for this method first, also the cookies plugin was from jquery ui
> > > > > website. I'm stubborn lol
>
> > > > > Regards,
> > > > > Stefpretty
>
> > > > > On Nov 2, 7:20 pm, Scott Sauyet <[email protected]> wrote:
>
> > > > > > On Mon, Nov 2, 2009 at 2:07 PM, stefpretty <[email protected]> 
> > > > > > wrote:
> > > > > > > Hmm i like the thought behind this, unfortunately it wont work, i
> > > > > > > checked the cookies in my computer and nothing is being stored!?
>
> > > > > > This sounds more likely an issue with the cookie plug-in.
>
> > > > > > Have you verified that you can use the cookies in a simpler 
> > > > > > scenario?
>
> > > > > > I know that Remy Sharp'shttp://jsbin.com/doessomethingmuchlike
> > > > > > you're discussing, but it uses PPK's code rather than the cookie
> > > > > > plug-in.  You might look at that code, though.
>
> > > > > >   -- Scott

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to