Javascript or CSS problem?
-
After upgrading to WP 3.9, I’m having a minor problem with the search function on my calendar of events page at http://whiskycast.com/?p=10992. When a user clicks the search button to bring up the dialog, the popup window with various search parameters comes up with no background…before the upgrade, it had a white background similar to that on our tasting notes page at http://whiskycast.com/?p=10819.
Here’s the code for the search function on the calendar page:
<button id="search_tasting">Search</button> <div id="tasting_dialog" style="display: none;">[events_search]</div> <script src="../wp-content/plugins/jquery-ui-1.10.0.custom/js/jquery-1.9.0.js"></script><script src="../wp-content/plugins/jquery-ui-1.10.0.custom/js/jquery-ui-1.10.0.custom.min.js"></script><script>// <![CDATA[ $(document).ready(function() { $("#search_tasting").button().click(function() { $('#tasting_dialog').dialog({modal: true}); }); }); // ]]></script>This was created for us by a former contractor, and I’m not sure whether the background for the search popup window is part of the Javascript or the CSS. Any Javascript experts out there who might have a suggestion?
Thanks!
Mark
The topic ‘Javascript or CSS problem?’ is closed to new replies.