[jQuery] Re: SimpleModal (probably something really stupid)

2010-01-08 Thread Eric Martin
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

[jQuery] Re: Issue with simplemodal plugin and absolute positioned content

2009-11-26 Thread Eric Martin
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

[jQuery] Re: SimpleModal 1.33 Fix

2009-11-16 Thread Eric Martin
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

[jQuery] Re: resize.simplemodal

2009-11-10 Thread Eric Martin
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[

[jQuery] Re: SimpleModal problem in IE7

2009-10-30 Thread Eric Martin
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

[jQuery] Re: SimpleModal problem in IE7

2009-10-30 Thread Eric Martin
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

[jQuery] Re: IE: call function defined in ajax loaded page

2009-10-17 Thread Eric Martin
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

[jQuery] Re: Simple Modal Close Event

2009-10-17 Thread Eric Martin
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

[jQuery] Re: Simple Modal Height and Width

2009-09-16 Thread Eric Martin
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

[jQuery] Re: SimpleModal Contact Form and Sidebar

2009-09-16 Thread Eric Martin
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

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-16 Thread Eric Martin
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

[jQuery] Re: SimpleModal 1.3 height

2009-09-15 Thread Eric Martin
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 >

[jQuery] Re: Conflict between Simplemodal and jquery-ui slider?

2009-09-11 Thread Eric Martin
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,

[jQuery] Re: simpleModal question. PLEASE HELP!

2009-09-09 Thread Eric Martin
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

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-09-01 Thread Eric Martin
> > > 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

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-31 Thread Eric Martin
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: > > > > > > > > >

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-30 Thread Eric Martin
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

[jQuery] Re: SimpleModal autoresize on demand?

2009-08-26 Thread Eric Martin
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

[jQuery] Re: Simplemodal is triggering $(document).ready

2009-08-23 Thread Eric Martin
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

[jQuery] Re: Simplemodal ajax dialog

2009-08-09 Thread Eric Martin
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

[jQuery] Re: simplemodal scroll problems

2009-07-29 Thread Eric Martin
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

[jQuery] Re: Loading a Page in an Iframe with BlockUI

2009-07-29 Thread Eric Martin
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

[jQuery] Re: Create an AJAX form within a modal window.

2009-06-30 Thread Eric Martin
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

[jQuery] Re: Subversion and Bugtracking

2009-06-09 Thread Eric Martin
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

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Eric Martin
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

[jQuery] Re: SimpleModal issues... too many scripts?

2009-05-06 Thread Eric Martin
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)

[jQuery] Re: jQuery.noConflict() and firefox 2: errors - is this a bug?

2009-04-01 Thread Eric Martin
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 > > //--- > > > > >