[jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread infojava
Thanks but it does not work !!! On 24 jan, 16:39, Nathan Klatt n8kl...@gmail.com wrote: On Sun, Jan 24, 2010 at 8:22 AM, infojava infojava2...@gmail.com wrote: i use a link (wich shows the demo) wich i should active if an error occures, but it doesn't work !!! Wrap it in a $().ready

Re: [jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread Nathan Klatt
On 24 jan, 16:39, Nathan Klatt n8kl...@gmail.com wrote: $().ready(function() { $(#osx).click(); }); On Sun, Jan 24, 2010 at 2:29 PM, infojava infojava2...@gmail.com wrote: Thanks but it does not work !!! Okay, well what's the #osx element look like? What's its click handler? Is the php file

[jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread infojava
jQuery(function ($) { $(input.osx, a.osx).click(function (e) { e.preventDefault(); $(#osx-modal-content).modal({ overlayId: 'osx-overlay', containerId: 'osx-container', closeHTML: 'div

Re: [jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread Nathan Klatt
On Sun, Jan 24, 2010 at 4:05 PM, infojava infojava2...@gmail.com wrote: when we click on the a.osx it calls this function ! but $(a.osx).click; doesn't work Sorry, dude - I'm at a loss. I assume the lack of parens after click (should be '$(a.osx).click();' not '$(a.osx).click;') is a typo?

[jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread infojava
just go on http://www.ericmmartin.com/projects/simplemodal-demos/ and download the very simple example : OSX Style Dialog and try it your self ! On 24 jan, 23:41, Nathan Klatt n8kl...@gmail.com wrote: On Sun, Jan 24, 2010 at 4:05 PM, infojava infojava2...@gmail.com wrote: when we click on the

Re: [jQuery] Re: loading osx (eric martin) to show errors

2010-01-24 Thread Nathan Klatt
Works great for me: http://jsbin.com/ahowi/edit Make sure you set up the click handler before you execute the click. :) Nathan