simplemodal

jquery + Simplemodal onshow method only executes once

I would like to execute a function when Simplemodal opens a window, and have populated the 'onShow' field with a callback function. In the example below I have simply filled it with an alert note, ie each time the simplemodal window is opened the alert should fire However, it appears this is only being executed once. If the modal is ope...

How to call simplemodal osx plugin programatically?

I've implemented the simplemodal plugin for JQuery. Very nice btw! Where I'm having an issue, is I have a list of links that are generated from a database, when I click one, I make a "load" call and add the results to my osx-modal-content div. How do I call the osx plugin after my load completes? If I add class=osx to my a href, the moda...

SimpleModal Basic Modal Dialog: how to open unique windows within the same page?

Hi there, I'm using the SimpleModal Basic Modal Dialog and am having trouble using it to open more than one unique window on a page (I don't need them to open at the same time or on top of one another). I tried adding another class and calling out that class in my js file, but I'm not getting it. Here is my example page, where I have t...

Send a dynamic id to a Simple Modal confirm dialog confirmation

I see how the Simple Modal example is working, but I don't see a way to send an id to it. I have a recordset on my page with many rows that have a delete button for each. I need to send the id for each one to the modal function to attach the id to the url when redirected. Here is the example site. It's the Confirm Override one. thanks ...

SimpleModal jQuery Plugin - Hide/Disable Loading Thingy?

Greetings! I'm using this excellent jQuery plugin and would like to know how to disable or hide the loading thing that appears when the pointer is moved outside the box. You can see this on the Demos page: http://www.ericmmartin.com/projects/simplemodal-demos/ However, if you try the examples on this page ("Examples"), the loading th...

Close Simplemodal

how to close a window open as SimpleModal iframe? ...

Audio echo in Flash using simplemodal and swfobject

When the user clicks on a thumbnail it activates swfobject and simple modal. It opens the modal and loads the swf into the modal. The swf is loading an flv. I used Flash to do the flv -> swf thing. In IE7 there is an audio echo when it's being played in the modal, but not when just watching the swf from the server. I have sucessfully u...

JQuery call ajax loaded function in IE

In one of my projects I'm using simplemodal to load a dialog that contains a function setup_dialog(). I use the simplemodal callback onShow() to execute setup_dialog(). This functions perfectly in Firefox. But in IE I get an error about setup_dialog() not existing. Is this a known limitation of IE (hard to believe) and what can I do to ...

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

I was wondering if there is a way to invoke the SimpleModal OSX dialog box on page load? I tried http://stackoverflow.com/questions/522864/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...

simpleModal to update form

To all: I am trying to update a form input radio button(s) using simplemodal to display the div containing the radio buttons. It displays correctly however when the modal is closed the change is lost. is their a simple call back that can update my form? Thanks in advance for your help. Bob ...

SimpleModal 1.3.2 Contact Form Not Sending

I just downloaded the SimpleModal 1.3.2 Contact Form to my localhost to try it out; the only change I've made is to the user settings in data/contact.php. I get the thankyou message and SimpleModal closes after I hit "send". However, something prevents the email from being sent; I never receive it in my inbox. Any comments would be welco...

Simple Modal issues - Multiples, Disappearing Content

I'm a jQuery newbie and have rigged Simple Modal to allow me to have more than one modal on a page by doing this in my script: $('input.basic, a.basic').click(function (e) { e.preventDefault(); $(this).next('.basicModalContent').modal(); }); here's my HTML: <a class="basic linkHeading" href="#">Link Heading</a> <...

multiple jQuery SimpleModal windows

Hi there, a question from a designer in a developer forum uff :-) It is possible to have more than one modal link? I've 9 pictures and by clicking on of them a modal individual (ever pict) window should appear. But I've no ideas how I realise it. :-) My html: <div class="box" id="b4"><a class="modallink" href="#"><img src="04/kochen-0...

Content within Floating Window using jQuery SimpleModal plugin cannot be replaced after opening twice in IE8

Hi all I am using SimpleModal plugin for showing dynamic content within a floating window. On this floating window a Javascript function call has been included (on a click event), which is changing some content on this floating window. This works all very well with FF. But there is an issue with IE (I have tested with IE8 only): Only a...

simplemodal, close and then immediately reopen

I'm tyring to use the simplemodal jquery plugin to display some HTML. I have an ajax button in this html that when pressed will return some wider HTML content to the modal box. There doesn't seem to be a way to make simplemodal "aware" of this and have it autoresize, so waht I'd like to do is just kill the modal when the ajax button i...

JQuery Simplemodal and Tabs Help Needed

Hi, I've got an asp.net page containing a Textbox with an Autocomplete extender on it. It's setup so the user can type a short reference code into the textbox and then choose from the list of matching codes returned by the autocomplete. On the "select", I then call the server using JQuery. I'm currently using $.get here.... The callbac...

How to get a callback working with SimpleModal

I've been unable to catch the onclose from within simplemodal. please give me a hand if you can as i'm new to jQuery... <a href="http://url/" onclick="$(this).modal({width:833, height:453}).open(); return false;"> works, but i would like to call a javascript function whenever the modal dialog is closed. How do i attach, say updateTa...

jQuery ColorBox confirm override modal dialog?

How would I use ColorBox to create a 'confirm override' modal dialog that can interupt a form submission until 'yes' is clicked. Simple Modal has a similar function, but I much prefer colorbox's implementation and documentation, otherwise I'd use the latter. ...

jquery simplemodal: move #simplemodal-container to 0,0 for printing?

Our simplemodal alert div needs to be printable. The content itself should fit on the page fine in most cases, but I can't override the positioning in my print css to get it flush top/left for printing to avoid having the right side cut off. It seems like I can change #simplemodal-container in my print css for everything but positioni...

SimpleModal Confirm fails to submit form

I'm trying to use jQuery SimpleModal Confirm to show a Yes/No confirmation when a form is submitted. I had modified the demo here (last in list), as follows, to catch and block the form submission. However, this only seems to work with jQuery 1.2.6 a recent upgrade to 1.3.2 stops the form from being submitted if yes is clicked. I can'...