> Any ideas? Or, could anybody provide the simplest working example so > that I can try that here and compare with my code?
Here's a simple example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>jQuery Form Test</title> <script type="text/javascript" src="jquery-1.0.3.js"></script> <script type="text/javascript" src="dimensions.js"></script> <script type="text/javascript" src="jquery-modalContent.js"></script> <script type="text/javascript"> $(function() { $('button').click(function() { $('#modal').modalContent(null, 'fade', 'fast'); }); }); </script> <style type="text/css"> a { border: 1px solid green; padding: 20px; background: #ffc } </style> </head><body><div> <button>test</button> <div id="modal" style="display:none"> <a class="close">My modal content (click to close)</a> </div> </div></body></html> _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
