[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-31 Thread dbonneville
: 420,                                 width: 342                         }                 }); // contains a button with simplemodal-close class         }); }); If that doesn't work, let me know ;) -Eric On Mar 30, 1:07 pm, dbonneville doug.bonnevi...@gmail.com wrote: I have

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-31 Thread dbonneville
I tried this to...no luck with the binding on the close button yet... $(#button-sales).click(function(event) { $(#modalContentInstSales).load(includes/institutional- sales.html); $('#modalContentInstSales').modal({ onClose: modalClose, onOpen:

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-31 Thread dbonneville
I tried this to...no luck with the binding on the close button yet... $(#button-sales).click(function(event) { $(#modalContentInstSales).load(includes/institutional- sales.html); $('#modalContentInstSales').modal({ onClose: modalClose, onOpen:

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-30 Thread dbonneville
This does not work quite yet. Anything look wrong? - #button-sales is a button on the page - in firebug, I can see all the loaded data (a small chunk of HTML) in the http-request pane, but it's only in memory - doesn't show up anywhere. How do I get the data into the #modalContentInstSales div?

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-30 Thread dbonneville
I have this example too. I have the data loaded, and onShow will trigger an alert if I put one in, but the close button still does not work: $(#button-sales).click(function(event) { $(#modalContentInstSales).load(includes/institutional- sales.html);

[jQuery] simplemodal help - dynamic load of modal content breaks close button

2009-03-25 Thread dbonneville
I have an include that contains all the HTML for the modal dialogue content. In the HTML, I also have a close button with the class simplemodal-close attached to it, which triggers the close function. That works great. However, I decided to load the snippet via jquery.get. It loads in just fine.

[jQuery] Error with jscrollpane and simplemodal

2009-02-27 Thread dbonneville
I have jscrollpane working in a test page - works great. I also have simplemodal working throughout a site - works great. But, when I try to put a jscrollpane instance in a simplemodal div, I get this error when the modal renders to the screen: uncaught exception: Syntax error, unrecognized

[jQuery] Error with jscrollpane and simplemodal

2009-02-27 Thread dbonneville
I have jscrollpane working in a test page - works great. I also have simplemodal working throughout a site - works great. But, when I try to put a jscrollpane instance in a simplemodal div, I get this error when the modal renders to the screen: uncaught exception: Syntax error, unrecognized

[jQuery] Re: Custom ScrollBar

2009-02-27 Thread dbonneville
Hi - did you get this to work? I keep getting: uncaught exception: Syntax error, unrecognized expression: # ...when I try to run jscrollpane with simplemodal. The scroll pane works fine until I try to call from a modal dialogue popup... Thanks, Doug On Feb 16, 10:29 am, Alexandru Dinulescu