I would strongly suggest downloading the one of the demos [1], like
the basic one, which will probably help answer all of your questions.
-Eric
[1] http://www.ericmmartin.com/projects/simplemodal-demos/
On Jan 7, 7:57 pm, polarwarp wrote:
> I am using the jquery simplemodal code to display a
Eric,
I don't have IE6 installed (just got a new laptop with windows 7), but
I wasn't able to reproduce the issue in IE8 compatibility mode.
SimpleModal only styles the dialog element, so I'm not sure why that
would be affecting other divs on your page...
-Eric
On Nov 26, 4:50 am, Eric Getchell
Actually, the values are correct, this isn't a bug.
mh and mw stand for maximum height and maximum width. ;) That isn't
apparent from the variable names, but you can tell when they are
assigned.
-Eric
On Nov 15, 9:11 pm, Enobrev wrote:
> Found a bug in SimpleModal 1.33
>
> - If Content Height i
There are a few different ways you could handle this. I've provided a
couple of ideas below"
1) after you get the ajax content, check it's height/width and adjust
the container dimensions accordingly:
$('#modal').modal({
onShow: function (d) {
$('#modalclick', d.container[
I fixed the issue and released 1.3.3[1]. I updated the demo downloads,
but all you need to do is use the newest version of SimpleModal.
-Eric
[1] http://code.google.com/p/simplemodal/downloads/list
On Oct 30, 6:20 am, Eric Martin wrote:
> Bruce,
>
> Thanks for reporting the issue. I
Bruce,
Thanks for reporting the issue. I was able to reproduce the issue and
will work on a fix.
-Eruc
On Oct 29, 10:51 pm, Bruce MacKay wrote:
> Hi folks,
>
> I've just updated a previously functioning piece of code that uses
> the simplemodal plugin - the code does an ajax call to a file
> co
Michael,
Is it possible to provide a link or post some code examples of what
you are trying to do. If it is undefined in IE, it may be caused by
the way you are loading the scripts or the order you have them in.
You might also try putting all of your code inside a document ready
block to make su
If you use the onClose callback, you must call $.modal.close() to
remove the dialog elements from the DOM. If an onClose callback has
been used, calling $.modal.close() will not trigger the callback
again, it can only happen once.
I suggest using the onShow callback to bind your second event base
As long as the content being used in the modal has a height and width
supplied, SimpleModal will use those values to size the dialog.
For example, using the basic demo as a base and given the following:
CSS:
#simplemodal-overlay {background-color:#000; cursor:wait;}
#simplemodal-container {colo
Trent,
I'm not quite sure what you are asking. Could you clarify your
question?
Thanks,
Eric
On Sep 12, 7:48 am, Trent <26g...@gmail.com> wrote:
> How can I embedSimpleModalContact
> Formhttp://www.ericmmartin.com/projects/simplemodal/
> in the sidebar, whose position is fixed on the scrolling
n Sep 11, 7:31 pm, folder123 wrote:
>
> > I'm still having issues with the code below, the slider now doesn't
> > even show up on a 2nd window open.
>
> > Any thoughts greatly appreciated, I'm sure i'm missing something
> > simple.
>
> > -k
&g
Warren,
Can you send me (or better yet create an issue[1]) with a working code
sample of the issue you are having?
Thanks,
Eric
[1] http://code.google.com/p/simplemodal/issues/list
On Sep 15, 12:09 pm, Warren Benedetto
wrote:
> Figured it out myself, so I'm posting for anyone else with this
>
Use the onShow callback in SimpleModal to call the slider init code:
$('#basic-modal-content').modal({onShow: function (dialog) {
$("#slider-vertical", dialog.container[0]).slider({
orientation: "vertical",
range: "min",
min: 50,
max: 300,
value: 100,
David,
The problem is being caused by the data you are trying to place in the
modal. You can fix it by wrapping the data in a div before using it in
the modal:
$(document).ready(function() {
[snip]
$.get("form.cfm", function(data){
// create a modal
>
> > If you are referring to the known issues I mentioned - since they are
> > browser issues,
>
> Eric, thanks for the response. What issues did you mention that I missed?
http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes
[under Known Issues]
>
> > you'd need to implement somethi
If you are referring to the known issues I mentioned - since they are
browser issues, you'd need to implement something that woul keep track
of state in those browsers.
On Aug 31, 6:45 am, "Steffan A. Cline" wrote:
> on8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote:
>
>
>
>
>
>
>
> >
With SimpleModal, you can use the persist option:
$(el).modal({persist:true});
There are some known issues in IE though.[1]
-Eric
[1]: http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes
[under Known Issues]
On Aug 30, 12:48 pm, "Steffan A. Cline" wrote:
> I have tried both of th
Vru,
The actual code would depend on exactly what you are trying to do, but
taking the "onShow callback function" test[1], I modified the code to
resize and reposition the container:
function modalShow (dialog) {
var self = this;
dialog.data.find('input.animate').one('click', fun
Luis,
Can you be a little more clear on what the problem is? Do you have a
link or sample (working) code I can see?
-Eric
On Aug 23, 6:55 am, lfrodrigues wrote:
> Hi,
>
> I've been using simple modal for quite some time.
>
> Now I have a problem. I have some code with uses $(document).ready an
Michael,
You need to initialize any third party scripts in the SimpleModal
onShow callback. Here's an example of using Datepicker with
SimpleModal:
http://www.ericmmartin.com/code/datepicker/
-Eric
On Aug 7, 2:34 am, Michael Anckaert
wrote:
> Hello everyone,
>
> Using the simplemodal plugin I
Do you have a link? Can you disable the scroll in the page. If not,
how about disabling it in the modal:
$(element).modal({onShow: function (d) {
d.wrap.css('overflow','hidden');
}});
-Eric
On Jul 29, 8:44 am, junkqwe wrote:
> I am using simplemodal 1.3
> my modal shows a product description
Chris,
Regarding SimpleModal, wouldn't this accomplish what you are looking
for?
$.modal('http://www.ericmmartin.com"; id="iframeTest"
name="iframeTest" height="450" width="830" style="border:0" />', {
closeHTML:"",
overlayClose:true,
containerCss: {height:450, width:830
I'm not familiar with CF - so I'm not sure if it handles forms
differently (link .NET), but you should be able to use the onShow
callback to bind the form submit and handle it accordingly.
Check out the Contact Form demo[1] for an example.
-Eric
[1] http://www.ericmmartin.com/simplemodal
On Ju
Do you need to host it yourself and does it need to be private? If
not, how about Project Hosting on Google Code[1]?
[1] http://code.google.com/projecthosting/
-Eric
On Jun 9, 4:20 am, Paulodemoc wrote:
> Someone here would happen to know a good bugtracking system that I can
> start using? It
at script, and the assistance to get it working!
>
> On May 6, 3:49 pm, Steeleclipse wrote:
>
> > Thanks for your reply. I will try that tonight and post how it goes!
>
> > On May 6, 3:37 pm, Eric Martin wrote:
>
> > > I just took a look and it looks like the main issu
I just took a look and it looks like the main issue is that you are
not binding the link correctly. You need to modify the selector in
confirm.js from:
$('#confirmDialog input.confirm, #confirmDialog a.confirm').click
(function (e) {
...
});
to:
$('#navPhysicians a.confirm').click(function (e)
Like it was mentioned above, the noConflict() call has to come right
after loading jQuery and before loading the other libraries.
-Eric
On Mar 31, 11:54 pm, pyt wrote:
> Hi,
>
> I have the same problem with FF2 on my eeePC (linux)
>
> The code is
>
> //---
>
>
>
>
>