[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 polarw...@gmail.com wrote: I am using the jquery simplemodal

[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 enob...@gmail.com wrote: Found a bug in SimpleModal 1.33 - If

[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',

[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 b.mac...@massey.ac.nz wrote: Hi folks, I've just updated a previously functioning piece of code that uses the simplemodal plugin - the code does an ajax

[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 emarti...@gmail.com wrote: Bruce, Thanks for reporting

[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

[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

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

2009-09-16 Thread Eric Martin
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 On Sep 11, 2:52 pm, Eric Martin emarti...@gmail.com wrote: Use the onShow callback inSimpleModalto call the slider init code: $('#basic

[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: 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: img src=image.jpg style=display:none; height=400 width=600 id=basic-modal-content/ CSS:

[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 war...@transfusionmedia.com wrote: Figured it out myself, so I'm posting

[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 something that

[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 stef...@hldns.com 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 stef...@hldns.com wrote: I have

[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',

[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 lfrodrig...@gmail.com wrote: Hi, I've been using simple modal for quite some time. Now I have a problem. I have some code with uses

[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 michael.ancka...@gmail.com wrote: Hello everyone, Using

[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('iframe src=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: 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 urize...@gmail.com wrote: I am using simplemodal 1.3 my modal shows a

[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

[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 paulode...@gmail.com wrote: Someone here would happen to know a good bugtracking system that I

[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: SimpleModal issues... too many scripts?

2009-05-06 Thread Eric Martin
, and the assistance to get it working! On May 6, 3:49 pm, Steeleclipse steelecli...@gmail.com wrote: Thanks for your reply. I will try that tonight and post how it goes! On May 6, 3:37 pm, Eric Martin emarti...@gmail.com wrote: I just took a look and it looks like the main issue

[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 paya...@gmail.com wrote: Hi, I have the same problem with FF2 on my eeePC (linux) The code is //--- script

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-30 Thread Eric Martin
Doug, In your first example, the data is not in the DOM yet. Try something like: $(#button-sales).click(function(e) { e.preventDefault(); $.get(includes/institutional-sales.html, function(data){ // create a modal dialog with the data $('div' +

[jQuery] Re: Problem setting input value from SimpleModal Box

2009-03-29 Thread Eric Martin
John, I don't see where you are calling the modal, but you may be having issues if you aren't binding/looking for the data in on of the callbacks, like onShow. -Eric On Mar 29, 7:38 pm, John jmcl...@birchrunsoccer.org wrote: Hello all, My dilemma  is this. I have a simple form with several

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-25 Thread Eric Martin
If you get the data and then use it in the dialog, it will bind the simplemodal-close class. Otherwise, you have to do it manually in the onShow callback. The following will auto-bind: $('#mylink').click(function (e) { e.preventDefault(); // load the contact form using ajax

[jQuery] Re: SimpleModal error in IE7

2009-03-11 Thread Eric Martin
) simplemodal plugin. Could you please post your original reply to the group to help others with this same problem? Many thanks. On Mar 11, 4:36 am, Eric Martin emarti...@gmail.com wrote: Ricardo, I believe I responded to your email, please let me know if you were unable to resolve this. -Eric

[jQuery] Re: SimpleModal error in IE7

2009-03-10 Thread Eric Martin
Ricardo, I believe I responded to your email, please let me know if you were unable to resolve this. -Eric On Mar 10, 8:46 am, Ricardo Garcia Vega ricardo.garcia.v...@gmail.com wrote: Hi! I\'m using your great plugin, but I have a problem with IE7. The problem comes after closing de

[jQuery] Re: SimpleModal container and closing image

2009-02-24 Thread Eric Martin
Ron, It sounds like the CSS just isn't pointing to the right place. Do you have a link I can view? -Eric On Feb 23, 4:27 pm, Ron stecklyena...@gmail.com wrote: Hi, I'm using the SimpleModal library to display help text in a modal popup.  We are using the a.closeimg in the stylesheet to

[jQuery] Re: Closing the modal pop up programmatically

2009-01-26 Thread Eric Martin
$.modal.close(); will do the trick ;) On Jan 25, 8:39 pm, TFrank tcw...@gmail.com wrote: Hi all. I see the obvious simplemodal-close class, which by default will close the modal object. However, the problem I am having is that the modal div's html is being populated by an ajax call for a

[jQuery] Re: jQuery.support IE6 or later

2009-01-22 Thread Eric Martin
The question is - how to use the new $.support code to achieve the same result. I submitted a patch that seems to work. It needs a review and some testing: http://dev.jquery.com/ticket/3960 On Jan 21, 3:43 am, Mauricio \(Maujor\) Samy Silva css.mau...@gmail.com wrote: It will be maintained !

[jQuery] Re: How to use the simple modal if there are two modal windows need be pop-up on ready method?

2009-01-14 Thread Eric Martin
SimpleModal does not currently support multiple dialogs being displayed at the same time. Is that what you want? On Jan 14, 3:14 pm, camel huyc_1...@126.com wrote: Hi all      How to use the simple modal if there are two modal windows need be pop-up on ready method? I use the confirm style

[jQuery] Re: Issue with loading content once using AJAX and display it as a SimpleModal (plugin)

2009-01-13 Thread Eric Martin
Martin, Try using the persist:true option: $(#content).modal({persist:true}); Let me know if that does not fix your issue. -Eric On Jan 13, 11:10 am, mh.karls...@gmail.com mh.karls...@gmail.com wrote: I'm using AJAX to load content into a DIV and display it as a simple modal (using the

[jQuery] Re: Selector Logic

2008-12-29 Thread Eric Martin
Depending on what you are trying to do: $(#div_1 .headerButton img); // return the img in header button for div_1 $(.headerButton img); // return an array of img for each .headerButton You can then iterate over the array for additional processing. If you are passing the div_n (divId)

[jQuery] Re: SimpleModal container size problem

2008-12-24 Thread Eric Martin
Just checked and it looks like it is working properly now... On Dec 24, 7:20 am, Isaac isaactaw...@gmail.com wrote: Eric, I've downloaded 1.2.2 (full) as you requested. Isaac On Dec 23, 1:51 pm, Eric Martin emarti...@gmail.com wrote: That is strange - can you get the latest version

[jQuery] Re: SimpleModal container size problem

2008-12-23 Thread Eric Martin
That is strange - can you get the latest version (1.2.2) and upload the full version, so I can trace it through? On Dec 22, 11:23 pm, Isaac isaactaw...@gmail.com wrote: I have a script that dynamically detects the size (using outerwidth and outerheight) of a div tag that I use as my modal

[jQuery] Re: Simplemodal plugin position problem subsequent loads

2008-12-19 Thread Eric Martin
Do you have a link you can post or send to me? -Eric On Dec 18, 6:26 pm, zonathen zonat...@gmail.com wrote: I am using simplemodal perfectly fine everywhere but on one page it loads the content off to the right side of the screen on subsequent clicks. The first time the modal loads

[jQuery] Re: jQuery tips and tricks article

2008-12-16 Thread Eric Martin
Nice article Jon - thanks for sharing! On Dec 16, 7:51 am, jonhobbs jon.hobbs.sm...@gmail.com wrote: Hi guys, I hope nobody minds me posting this on here but I've just written an article about improving your jquery for our blog. It's the first big article I've written and it took a fair

[jQuery] Re: SimpleModal v1.2 released

2008-12-16 Thread Eric Martin
I just released 1.2.2 which fixed all of the IE6 related positioning bugs. Thanks to Deepak Mehta, Bill Beckelman, James Taylor and others for your help finding these issues. On Dec 4, 11:34 am, Eric Martin emarti...@gmail.com wrote: A new version ofSimpleModalhas been released. It contains

[jQuery] Re: More About jQuery's Web Browser Compatibility

2008-12-16 Thread Eric Martin
I know that Safari for Windows is supported. I believe IE for MAC falls under the 5.x line, which is not supported. Unsure about Camino. On Dec 16, 9:59 am, tallvanilla tallvani...@gmail.com wrote: Hey All, The jQuery website states clearly that jQuery is compatible with the following web

[jQuery] Re: Click event fires only once with SImpleModal

2008-12-10 Thread Eric Martin
I don't see anything that is immediately obvious... Make sure you don't have duplicate id's. On Dec 10, 12:05 pm, Ron [EMAIL PROTECTED] wrote: Hi, So I have the following code: script type=text/javascript         $(document).ready(function() {            

[jQuery] Re: SimpleModal container not showing up

2008-12-10 Thread Eric Martin
Does your page have a valid doctype (and not code before it)? What browser are you using? Do you have any styles applied to the container? Do you have a page I can see? -Eric On Dec 10, 1:37 am, Isaac [EMAIL PROTECTED] wrote: I have a LONG php form which collects data, then submits it to a

[jQuery] Re: Click event fires only once with SImpleModal

2008-12-10 Thread Eric Martin
to remember someone running across this issue before, where they just used javascript's click handler instead of JQuery to resolve it...I'll try that and repost. Ron On Dec 10, 1:41 pm, Eric Martin [EMAIL PROTECTED] wrote: I don't see anything that is immediately obvious... Make

[jQuery] Re: show JSP using dialog plugin

2008-12-09 Thread Eric Martin
Using SimpleModal, you can do something like: $.get(page.jsp, function(data) { $.modal(data); }); On Dec 9, 9:50 am, Bhavin [EMAIL PROTECTED] wrote: Hi, I want to show JSP as a dialog using dialog plugin. I dont prefer to keep div elements in the page and show the dialog because user can

[jQuery] Re: jquery + struts action

2008-12-05 Thread Eric Martin
=weboncampus.action.reportmanagement.ActionGetReportsList scope=request             forward name=list path=/jsp-listreports.do redirect=false/         /action Shouldn't the page be automatically redirected to listreports.jsp after calling listReports.do? Marta Eric Martin wrote: Marta - what exactly are you trying to do? By using an Ajax

[jQuery] Re: How to access href-property

2008-12-05 Thread Eric Martin
What about: $(#idOfAnAnchor1)[0].href; On Dec 5, 8:10 am, Matthias Coy [EMAIL PROTECTED] wrote: Hi there, how do I access the href-property of an anchor-element? I know there is a $(#idOfAnAnchor).attr(href); but this only gives me the attribute and not the property. I need the

[jQuery] Re: textarea problem

2008-12-05 Thread Eric Martin
So, you want each line of the textarea to become a column for a single record in the database? You should be able to just split the contents by the cr/lf and then building a record accordingly. How will you verify the data though, for example, making sure that each line gets added to the correct

[jQuery] Re: jquery + struts action

2008-12-04 Thread Eric Martin
Marta - what exactly are you trying to do? By using an Ajax call, you are going to get a response that should be the output of the forwarded action. $.ajax({ url: '/listReports.do', type:'post', cache: false, dataType:'xml', success: function (resp) { // do something with resp }

[jQuery] SimpleModal v1.2 released

2008-12-04 Thread Eric Martin
A new version of SimpleModal has been released. It contains a few improvements and fixes for browser related issues. There are some new options and a few that have been deprecated, so make sure to check out the project homepage for a list changes and upgrade details. Homepage:

[jQuery] Re: setTimeout function call...

2008-12-03 Thread Eric Martin
Yeah - some sample code would help... On Dec 3, 1:52 pm, QuadCom [EMAIL PROTECTED] wrote: I am trying to use setTimeout to call another function. Everytime I put the functions I wish to call within the doc.ready block, I get errors stating that the function is undefined. If I move it out of

[jQuery] Re: pixelperfect

2008-11-25 Thread Eric Martin
Pretty cool - thanks for sharing! On Nov 25, 8:30 am, weepy [EMAIL PROTECTED] wrote: http://www.parkerfox.co.uk/labs/pixelperfect/ Is a bookmarklet that will allow you to drag elements around any page and informs you of the new coordinates. Uses jQuery and jQueryUI

[jQuery] Re: Is my style of writing jQuery plugin correct?

2008-11-24 Thread Eric Martin
The intent of your code is not very clear. The design of your plugin can vary a great deal depending on its purpose. Typically, however, I use a format similar to: // put in a closure and make jQuery available as $ (function ($) { // define a function that can be called on a jQuery

[jQuery] Re: Load JQuery only once

2008-11-21 Thread Eric Martin
Raphael, Since you are creating a WordPress plugin, I suggest looking at the wp_enqueue_script() function[1]. Using your example, you'd include your scripts with something like: ?php wp_enqueue_script('plugin1', '/wp-content/plugins/plugin1/js/ plugin1.js', array('jquery') ); ? ?php

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-18 Thread Eric Martin
. is there anyway it can replace on tag level  ? On Nov 17, 10:34 am, Eric Martin [EMAIL PROTECTED] wrote: If you just want the string value, how about: var content = $(#content).val(); content = content.replace(/ target=(\'|\)_(new|blank

[jQuery] Re: strip out textarea 's HTML attribute

2008-11-17 Thread Eric Martin
If you just want the string value, how about: var content = $(#content).val(); content = content.replace(/ target=(\'|\)_(new|blank)(\'|\)/, ); content = content.replace(/ border=(\'|\)\d+(\'|\)/, ); -Eric On Nov 17, 10:18 am, cc96ai [EMAIL PROTECTED] wrote: I have a text area in the

[jQuery] Re: A real modal window... is it possible?

2008-11-14 Thread Eric Martin
I guess it depends on what you mean by flow of code must STOP. On Nov 14, 12:11 pm, Wagner [EMAIL PROTECTED] wrote: Is it possible to make a window like jqModal, etc, etc,  BUT WITH A REAL MODAL way of work? I mean the flow of code must STOP until the window be closed! Does it exist?

[jQuery] Re: Jquery in Drupal

2008-11-11 Thread Eric Martin
Can you provide more information? - What version of Drupal are you using? - What are you trying to do? - What have you tried so far? On Nov 11, 6:38 am, bharani kumar [EMAIL PROTECTED] wrote: Hi Any one please tell me, how to use the jquery in Drupal, -- உங்கள் நண்பன் பரணி  குமார்

[jQuery] Re: Jquery in Drupal

2008-11-11 Thread Eric Martin
PROTECTED] wrote: Thanks for reply, I want to integrate the Jquery in drupal Am using the drupal 5, Can u send any sample  module , that sample module must contain  the JQuery functionality , On Tue, Nov 11, 2008 at 9:22 PM, Eric Martin [EMAIL PROTECTED] wrote: Can you provide more

[jQuery] Re: 2 forms with SimpleModal

2008-11-11 Thread Eric Martin
Assuming your options are a link, here is one idea: a href=/send id=send-article1 class=send-friendsend to a friend/a a href=/more id=more-article1 class=more-informationmore information/a a href=/send id=send-article2 class=send-friendsend to a friend/a a href=/more id=more-article2

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Eric Martin
brian, Can we lighten up now? This is, by far, the most friendly, relaxed technical group of people you are going to find on the Internet. I think you might be taking it a little too personal. If you want to add something in your application that makes it behave in a certain way, there is

[jQuery] Re: SimpleModal containerCSS not working in Firefox or Chrome

2008-10-26 Thread Eric Martin
Bill, Try adding the units for the width, height, and margin: $(#addEditTask).modal({ onOpen: modalOpen, persist: true, containerCss: {width: 300px, height: 200px, marginLeft: -150px} }); -Eric On Oct 26, 1:01 pm, Bill [EMAIL PROTECTED] wrote: Good Afternoon, I

[jQuery] Re: Impossible challenge: when bg image loads

2008-10-15 Thread Eric Martin
Well, I'm not sure you can do it from CSS, but the following should work: var i = new Image(); i.src = img/background.jpg; // define the image you want to load here $(i).load(function () { $(div/).css({ opacity:0, position:absolute, // use as needed

[jQuery] Re: Case-insensitive version of :contains(text) ?

2008-10-09 Thread Eric Martin
Something like: script type='text/javascript' src='jquery.js' / script type='text/javascript' [define custom expression here] $(document).ready(function () { [use custom expression here] }); /script [the rest of your scripts here] -Eric

[jQuery] Re: SimpleModal wierdness

2008-10-03 Thread Eric Martin
Actually, the error is being caused by the issue mentioned: http://groups.google.com/group/jquery-dev/browse_thread/thread/aabf160d9980e52d/c74b19cc8c63f996 In SimpleModal, you can get around the issue by adding persist:true : $('#modalwikivideo').modal({persist:true}); That will prevent

[jQuery] Re: Case Insentitive Selectorys

2008-09-23 Thread Eric Martin
I recently posted about a custom jQuery selector to do a case- insensitive exact search: http://www.ericmmartin.com/creating-a-custom-jquery-selector/ It sounds like writing a custom selector might be your best bet. You should be able to do an exact, contains, and starts-with search, depending

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Eric Martin
us more about your requirements, which may help direct you to one that best fits your needs. On the other hand, you could always give each one the 5-minute test ;) Eric Martin -- http://ericmmartin.com On Sep 18, 9:51 am, crypto5 [EMAIL PROTECTED] wrote: Hi All, what is the best JQuery pop-up

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread Eric Martin
theme doesn't work for me. So I am asking jquery experts to help me make my choice and dive into single pop-up lib. Eric Martin-3 wrote: It really depends on what you are using it for as well as your personal preferences. I tried BlockUI and jqModal before I finally decided to write my

[jQuery] Re: this.style is null or not an object

2008-09-17 Thread Eric Martin
It sounds like an issue with your page. Do you have any code examples or a page that I can view? On Sep 17, 5:40 am, kimoy [EMAIL PROTECTED] wrote: Hi, I'm developing on ASP.NET and have been trying to make the SimpleModal plugin work but somehow the jQuery.hide() function throws an error

[jQuery] Re: custom / slimmed-down jquery possible?

2008-09-17 Thread Eric Martin
Alex - I briefly went through jQuery and removed some of the unused parts (as it relates to SimpleModal). I was able to get it down to just under 75k, 42k minified (which is about 12k less that the non-modified version). I can't make any guarantees, but if you'd like to try the slimmed down

[jQuery] Re: jquery scriptaculous conflict - jquery plugin needed

2008-09-16 Thread Eric Martin
?load=effects... etc) and then I add the jquery library, the noconflict and the plugin stuff. script type=text/javascript src=js/jquery.js/script script      jQuery.noConflict(); /script etc... any other idea to solve the conflict? On Sep 12, 6:06 pm, Eric Martin [EMAIL PROTECTED] wrote

[jQuery] Re: IE and GoogleMaps in a modal window

2008-09-07 Thread Eric Martin
djn - I gave it a quick try and it seemed to work for me in IE7. Were you having problems in IE7 or IE6? -Eric On Sep 6, 5:53 am, Dejan Kozina [EMAIL PROTECTED] wrote: Hello list. Is there somebody here that could help me understand a strange thing about IE rendering a Google Map inside of

[jQuery] Re: Firfox 3 and Firefox 2

2008-08-28 Thread Eric Martin
Assuming you have neither versions installed: 1) install FF2 - use the custom option to install in a different directory (C:\Program Files\Mozilla Firefox 2) 2) install FF3 - use the custom option to install in a different directory (C:\Program Files\Mozilla Firefox 3) 3) from the command line,

[jQuery] Re: SimpleModal for lead generation

2008-08-27 Thread Eric Martin
Seth, Are you just looking for advice on how to do it or are you having a problem/issue? On Aug 27, 9:21 am, Seth - TA [EMAIL PROTECTED] wrote: Hi there I am attempting to create a modal which will ask for an email address when a user attempts to download a document. The basic functionality

[jQuery] Re: jQuery Coding Standards

2008-08-26 Thread Eric Martin
Check out this best practices thread from a couple weeks ago: http://groups.google.com/group/jquery-en/browse_thread/thread/3d5f3ebd49158822/22278429aeaad489 -Eric On Aug 25, 11:46 pm, johannesf [EMAIL PROTECTED] wrote: Hello I'm looking for coding standards for jQuery but find it difficult

[jQuery] Re: help needed with simplemodal

2008-07-09 Thread Eric Martin
Hello, What exactly are you trying to do, and what have you tried? Do you have a page I can see? -Eric On Jul 8, 11:01 am, sree [EMAIL PROTECTED] wrote: I want to slide-in and slide-out the simplemodal. Anyone familiar with jquery simple modal please reply. Very urgent Thanks

[jQuery] Re: unsubscribe me

2008-07-02 Thread Eric Martin
Click the Edit my membership on the right, then click the Unsubscribe button... On Jul 2, 10:05 am, Rohit Mandlik [EMAIL PROTECTED] wrote: Hi, How can i unsubscribe from this forum so i will not get more mails from this forum. I forgot my username and password. please help me thanks

[jQuery] Re: Login Script with SimpleModal

2008-06-29 Thread Eric Martin
Based on a brief look, I don't see where you are binding the submit to do any of the validation. On Jun 28, 7:42 pm, Wiz [EMAIL PROTECTED] wrote: forgot... the test page is :http://www.wizmatic.com/test.html

[jQuery] Re: Noob Question: Using Selectors after ajax load

2008-06-25 Thread Eric Martin
What is the structure of the page you are loading into your div? Could it be that the new content is causing problems, like duplicate id's, and that is causing the inability to find elements? On Jun 25, 10:22 am, Eric [EMAIL PROTECTED] wrote: I  am sure this has been answered before, but I

[jQuery] Re: Problem using livequery jquery.form and simplemodal together

2008-05-06 Thread Eric Martin
The first thing that jumps out at me is $ ('.ajaxadd').ajaxForm(options); Where is options defined? On May 5, 10:02 pm, paulp75 [EMAIL PROTECTED] wrote: Ok I have a set of results from a search, and for each record in the result set, there is a form built. When they click add to cart, i would

[jQuery] Re: Custom element attributes generated by a plugin

2008-04-01 Thread Eric Martin
, or $.data, or $.metadata, or some such? On Mar 30, 3:24 pm, Eric Martin [EMAIL PROTECTED] wrote: I'm *considering* adding a custom attribute for elements created in a plugin and wanted to know what the general feeling is on this. I'm guessing any opposition to the idea would be based

[jQuery] Custom element attributes generated by a plugin

2008-03-30 Thread Eric Martin
I'm *considering* adding a custom attribute for elements created in a plugin and wanted to know what the general feeling is on this. I'm guessing any opposition to the idea would be based on the fact that it wouldn't validation (if someone were to extract the DOM and run that through a

[jQuery] Re: jQuery code comments - Is that Javadoc or something else?

2008-03-26 Thread Eric Martin
I'm not sure what the jQuery developers use this format for, but it is not javadoc, per se. If you are looking for something to create documentation , I personally have used jsdoc-toolkit (http://code.google.com/p/jsdoc- toolkit/) which is a javadoc type api for JavaScript. There are a number of

[jQuery] Re: Keyup differences among browsers

2008-03-08 Thread Eric Martin
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Martin Sent: Friday, March 07, 2008 1:41 PM To: jQuery (English) Subject: [jQuery] Keyup differences among browsers While investigating the various key events, I've run into some interesting findings. I wanted to post them here to have

[jQuery] Re: simplemodal and datepicker

2008-03-08 Thread Eric Martin
, then open datepicker, close s-modal, and one more open s-modal, then you either get an error or datepicker moves to (0, 0) point. On Jan 31, 3:52 am, Eric Martin [EMAIL PROTECTED] wrote: Thanks for the example Marc. To answer the OP's question, I added an example usingSimpleModal: http

[jQuery] Keyup differences among browsers

2008-03-07 Thread Eric Martin
While investigating the various key events, I've run into some interesting findings. I wanted to post them here to have others confirm/deny my findings. First off, I was working with the TAB key (keyCode: 9) and found out quickly that IE does not fire the keypress event for the TAB key. PPK has

[jQuery] Re: Problems in the overlay created by SimpleModal in IE6/7

2008-02-21 Thread Eric Martin
detection for IE7 under Vista working. Anyway, I still have the same issue but on IE6 and I don't know how to fix it yet... On Feb 20, 4:40 pm, Eric Martin [EMAIL PROTECTED] wrote: The problem can be solved with some body styles (and I think it only happens in IE6):http

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Eric Martin
Nazgulled, Which one is best kind of questions, usually lead to: it depends. It depends on what you want to use the dialog for and what your requirements are. Back in Nov 2007, I was evaluating modal dialogs for a project I was working on. For various reasons, I ended up writing my own modal

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Eric Martin
this or the translucent background will simply fail on IE6 (and other browsers that don't support it)? On Feb 15, 3:46 pm, Eric Martin [EMAIL PROTECTED] wrote: Nazgulled, Which one is best kind of questions, usually lead to: it depends. It depends on what you want to use the dialog for and what

[jQuery] Re: simplemodal and datepicker

2008-01-30 Thread Eric Martin
On Jan 30, 6:13 am, rayfidelity [EMAIL PROTECTED] wrote: Hi, I want to enable datepicker in the modal window that opens...datepicker works fine for itself but i cannot get it to work in modal. Any ideas? Can you clarify what you mean by cannot get it to work in modal? Modal window is

[jQuery] Re: simplemodal and datepicker

2008-01-30 Thread Eric Martin
using thickbox: http://marcgrabanski.com/code/ui-datepicker/extras/thickbox-datepicker I hope that helps. On Jan 30, 10:55 am, Eric Martin [EMAIL PROTECTED] wrote: On Jan 30, 6:13 am, rayfidelity [EMAIL PROTECTED] wrote: Hi, I want to enable datepicker in the modal window

[jQuery] Re: Too many autocompleter plugins

2008-01-27 Thread Eric Martin
On Jan 27, 9:35 am, Cloudream [EMAIL PROTECTED] wrote: try Jörn Zaefferer 'shttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/http://jquery.bassistance.de/autocomplete/ This is the one I ended up using and would recommend it also. I only had to make a couple minor changes for

[jQuery] Re: jQuery 1.2.2 compressed to 14.3KB

2008-01-25 Thread Eric Martin
On Jan 25, 6:01 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: arf my bad, good catch karl :) , indeed i meant the packed version ! And then i guess whatever's gzipped still needs to be uncompressed by the browser which means it has a sensible influence on the performance of low specs

[jQuery] Re: learning jQuery

2008-01-25 Thread Eric Martin
On Jan 25, 7:45 am, tlob [EMAIL PROTECTED] wrote: I successfully implemented a simple drop down selection. Question: 1) If I change $(#tl,#ch,#sg,#mt).hide(); to $(#tl,#ch,#sg,#mt).fadeOut(); I end up with a nasty blinker effect, because the new image fades out while the new one fades

[jQuery] Re: $.ajax not refreshing content - nothing happening in the callback

2008-01-19 Thread Eric Martin
Is it because of caching? Try adding cache:false to your $.ajax options. On Jan 18, 7:52 pm, pedalpete [EMAIL PROTECTED] wrote: Hi all, this is a really strange one. Not sure where I found the example code for this, but it has been working for me without an issue and I have it running

[jQuery] [ANNOUNCE]: SimpleModal v1.1.1 released

2008-01-15 Thread Eric Martin
and SimpleModal 1.1.1 * Updated test and demo css -Eric On Jan 4, 2:36 pm, Eric Martin [EMAIL PROTECTED] wrote: Hello, I've released a new version ofSimpleModal. I added some new options that allow direct CSS styling as well as moved the critical CSS attributes from external stylesheets into the script

[jQuery] Re: Help with Tabs 3 and struts

2008-01-15 Thread Eric Martin
I am using jQuery with Struts 2, but do not understand your issue/ question... can you clarify? On Jan 15, 10:39 am, Diego [EMAIL PROTECTED] wrote: Hi I'm programming a j2ee application, using struts. Yesterday I start learning jquery (really fast, helping me a lot!). now I'm trying to use

  1   2   >