simplemodal

Simplemodal Scroll Bar and Close Image Issue

时光总嘲笑我的痴心妄想 提交于 2020-01-14 05:53:06
问题 I have a simplemodal jquery popup that has to have overflow set to auto because the resulting list can be long. The scroll bars show up fine, but the close image gets shoved behind the vertical scroll bars and the simplemodal border. If I comment out the overflow: 'auto', line the close image shows up fine over the top of the border. I have tried setting the z-index for the image really high and that did nothing. It also makes horizontal scroll bars show up because the close image is behind

Simple Modal Wont Close | IE8 Bug | window.location.href

我是研究僧i 提交于 2020-01-06 06:49:36
问题 I posted earlier about 1 issue I was having. Got that fixed but it brought up another issue... The code below... When clicking "Yes" In every other browser The page will reload without SimpleModal coming back up. But in IE8 it continuously loads SimplModal thereby denying access to the site... Thanks for your help in advance guys! <!-- Init Age Verification Content --> <div class="age" id="verify"> <div><img src="white.png"></img></div> <div id="noman">ARE YOU OVER 18?</div> <div> <p> If not,

MVC: Clientside validation stops working in SimpleModal AJAX popup after opening and closing it once

China☆狼群 提交于 2020-01-05 17:53:33
问题 I have a view with a simplemodal popup window. You click on a hyperlink, it pops up the window, and if you try to submit the popup'd form without filling in any information it will display the appropriate validation error message next to the textbox. If you close the modal popup and click the hyperlink again, it seems to not do the client side validation when you click the submit. It just lets it be submitted, and then it'll catch it on the server side checking. Why would opening a modal

Using an iframe in jquery.simplemodal, the iframe reload when the popup is closed

末鹿安然 提交于 2020-01-04 04:37:11
问题 var pt_popup_options = {}; function pt_popup_iframe(sURL, sOkFunction) { pt_popup_okfunction = sOkFunction; $("#pt_msgBox").css('width', '700px'); $("#pt_msgBox").css('heigth', '500px'); $("#pt_msgBox > p").html('<iframe style="width: 696px; height: 496px;" src="' + sURL + '"></iframe>'); $("#pt_msgBox").modal(pt_popup_options); } When the popup is closed via a close button or the "x" top right of the popup, the iframe reloads and make a request to the server. It is not supposed to do that.

Using simplemodal with wordpress

馋奶兔 提交于 2020-01-03 04:28:45
问题 I am trying to use simplemodal to have modal popups with text in wordpress posts. I've played around with various plugins but they have specific uses (such as the contact form, or another one I saw that displays a single note you can customize). I've tried following this tutorial: http://wordpressthemescollection.com/ajax-wordpress-post-popup-with-simplemodal-and-jquery-488.html but the instructions are not very clear for people without advanced jquery or wordpress knowledge and it simply isn

How do I get a result from a modal dialog in jQuery

时间秒杀一切 提交于 2020-01-02 01:04:11
问题 I would like to use an add-in like simple-modal or the dialog add-in in the UI kit. However, how do I use these or any other and get a result back. Basically I want the modal to do some AJAX interaction with the server and return the result for the calling code to do some stuff with. 回答1: Here is how the confirm window works on simpleModal: $(document).ready(function () { $('#confirmDialog input:eq(0)').click(function (e) { e.preventDefault(); // example of calling the confirm function // you

How do I get a result from a modal dialog in jQuery

守給你的承諾、 提交于 2020-01-02 01:03:11
问题 I would like to use an add-in like simple-modal or the dialog add-in in the UI kit. However, how do I use these or any other and get a result back. Basically I want the modal to do some AJAX interaction with the server and return the result for the calling code to do some stuff with. 回答1: Here is how the confirm window works on simpleModal: $(document).ready(function () { $('#confirmDialog input:eq(0)').click(function (e) { e.preventDefault(); // example of calling the confirm function // you

Problems with simple modal in IE9

半城伤御伤魂 提交于 2019-12-31 05:05:08
问题 Yesterday I launched a new website. Before I uploaded the files to my server, I tested the website in IE8, Firefox, Safari and Chrome, and everything seemed to be OK. But I just installed IE9 and my Simple Modal boxes don't show up in this browser. I'm using the following javascript code: jQuery(function ($) { $('a.modal').click(function (e) { $('#' + this.id + "content").modal({onOpen: function (dialog) { dialog.overlay.fadeIn('fast', function () { dialog.container.fadeIn('fast'); dialog

How do I invoke a SimpleModal OSX dialog on page load?

风格不统一 提交于 2019-12-25 17:44:54
问题 I was wondering if there is a way to invoke the SimpleModal OSX dialog box on page load? I tried open jquery modal dialog on page load but wasn't able to make it happen. Currently, the dialog is invoked on clicking a button / link. I would like to invoke it on page load. Please help. :) Thanks! <script type='text/javascript' src='js/jquery.js'></script> <script type='text/javascript' src='js/jquery.simplemodal.js'></script> <script type='text/javascript' src='js/osx.js'></script> <input type=

Bizarre SimpleMODAL OSX actions in Foreach Loop

心已入冬 提交于 2019-12-25 08:14:08
问题 I am developing on a Wordpress MU website with a PHPBB3 forum that is merged into the site. On the website there is a page that utilizes SimpleModal OSX Style Modal Dialog that queries some of the website users data. I am also using a plugin that allows you to create custom meta information for each user called Cimy User Extra Fields . Before I go into detail of the problem I want to make sure I am thorough with my explanation as apparently I was not before. Onto the problem.......... The