simplemodal

SimpleModal jquery with 2 html forms

Hello, I've been working with Eric Martin's SimpleModal with success, but now I had to add a new html form to my page and it stopped working, the content of the modal is not appearing. Do you have a solution for this? Note: I'm working in ASP.NET, so the 'appendTo' property is set to 'form'. Thanks in advance, Rui ...

jQuery SimpleModal plugin: how to overwrite 'alert' messages

Is it possible to overwrite 'alert' messages like this plugin overwrites 'confirm'? ...

Modal popup File Upload

Hi, I use Eric martin's contact form modal popup in one of my personal projects. I wish to add file upload to it, however when I try to get the file, I'm able to view the file. I'm pretty much new with Jquery. I tried couple of AJAX Upload and uploadify, thats also didnt work. Please suggest me some solution to proceed. My Frontend is...

Modal login form how to fit it in my current login form?

Hello all, Can somebody please explain me how this code fit in to my current login form? This is the Modal code: <!-- #dialog is the id of a DIV defined in the code below --> <a href="#dialog" name="modal">My new login form</a> <div id="boxes"> <!-- #customize your modal window here --> <div id="dialog" class="window"> ...

Simplemodal with IE and Iframe

First of all thanks to Eric MArtin for SimpleModal. I've started using it developing in mac environment. When i loaded to my hosting server and then checked the results in IE, the overlay completely ignores the embedded iframe in my page. It appears as if the iframe has a higher Zindex than anything else on the page, so i checked. Well...

css background doesn't stretch with modal box content.

Hello, I have changed a css file for a modal login window/popup. The problem was that when I used the login form, I have some scrollbars at the under and on the right side. I came up with the idea to stretch the login dialog to make it all wider and heigher. The problem now is that the background doesn't stretch with the new dimentions....

JQuery SimpleModal crashing on close in windows w/ safari

I'm leveraging SimpleModal on a small thing I'm working on to open an iFrame and later close it. Says to post here if having issues so here I am. I'm having issues with the simple modal plug-in for jquery when I go to close the popup, but only on windows with safari. It works in IE/FF/Chrome/Opera on window and works in FF/Safari on Mac...

Problem with simplemodal jQuery

Hi I use this call to create modal window using simplemodal (http://www.ericmmartin.com/projects/simplemodal/): $.get("openform/", function(data){ $.modal(data, { closeHTML:'<a class="modalCloseImg simplemodal-close" title="Close"/>', minHeight:400, autoResize:'True', }); }); The html output is fairly simp...

SimpleModal confirm before closing dialog

I'm using SimpleModal (http://www.ericmmartin.com/projects/simplemodal/) and I have a form that displays in a dialog. What I want to do is be able to have a confirmation come up each time that the user tries to close the dialog (either by escape or clicking on the close icon) and asks them if they really want to close it without saving t...

How to keep scroll position in SimpleModal dialog

How is it possible to keep the scroll position of a scrollable div within a modal dialog when it is re-opened? I modified the basic downloadable example of simplemodal as follows: <div id="basic-modal-content"> <h3>Scrollable Modal Dialog</h3> <div style="width: 150px; height:100px; overflow: auto;"> a<br>a<br>a<br>a<br...

CKeditor in Jquery Simplemodal box

I am trying to use the SimpleModal plugin for jquery to load a popup div with a CKEditor in it, but when the modal box opens up, the CKeditor is all disabled and won't let me type text into it. I am using all default settings. Any suggestions would be great. ...

Using SimpleModal and ASP.NET MVC

Hi - I am using Simple Modal with asp.net MVC. I have set it up using the OSX demo, which loads a view into the dialog. The javascript I am using is: jQuery(function($) { $("input.ema, a.ema").click(function(e) { e.preventDefault(); $("#osx-modal-content").modal({ appendTo: 'form', overlayId:...

Multiple calls with Simple Modal OSX Style Dialog

I am using Simple Modal, the OSX style version. I have two calls to the modal and therefore two versions of content. When either of the buttons is clicked it selects only the first lot of content. There is nowhere to put a hook on the content like most modal windows as there is no javascript on the page to add parameters... only an ext...

jquery.simplemodal-1.3.3.js : absolute positioning (vs. fixed)

I'm using Eric Martin's sweet 'simplemodal' jQuery plugin. It works wonderfully and would recommend it to anyone looking for a lightweight jQuery-based modal dialogue solution. That said, I have some particularly long content that "needs" to be displayed as a modal. By default, the container element uses 'overflow:auto' to handle conten...

Parent page spawn modal window, button on modal windw cause trigger postback on parent?

Hello, I have a asp.net webform. There's a few fields on the form that the user will fill out. There is a hyperlink that opens a modal window (I'm using jquery & prettyphoto, but may switch to http://www.ericmmartin.com/projects/simplemodal/ because his documentation is better) The modal window contains an iFrame where the user makes a ...

Change Background Image of Div When Modal Popup Window Opens

Hi Everyone, I'm trying to dynamically change the background image of a div inside of a modal popup window. I first tried it with simplemodal and now I am trying it with the jqueryui dialog box. I can't get it to work on either one. Here is my code so far: //Jquery Dialog Attempt: //I have also tried it in the open event ...

Help using SimpleModal plugin (JQUERY)

Hi I am trying to use the Simple Modal plugin working, but when I click the link, the dialog box comes and goes away quickly. I am just trying to get a simple dialog running as shown in http://www.ericmmartin.com/projects/simplemodal/#examples. Please advise how to make it running. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitio...

SimpleModal Contact Form

Hi, first thanks for it, i searched for a lot of modal forms and yours seems to be the easier to use and modify My only question is how, using your downloaded Contact form version, send a dynamique var from the page calling the modal form and the modal form in itself ? As you go through a js file ( contact.js ) to show the modal, that ...

SimpleModal -- Open OnLoad

I'm new to JQuery -- not new to javascript. Was able to open the OSX STYLE DIALOG using the hyperlink button provided in the demo index.html page, but would like to open it on the page load. I read a couple links on StackOverflow (http://stackoverflow.com/questions/1611727/how-do-i-invoke-a-simplemodal-osx-dialog-on-page-load), but s...

Pass img src via jquery to new div

Hi folks I am trying to create a "simple" modal type of operation. When a user clicks on an image it opens a mask over the screen (done that) and displays the image (can't do that). This is ment to be very simple, no need for galleries etc. hence just a simple effect. The code generated for the mask is $j(document).ready(function(){...