[jQuery] Re: Make an entire div clickable

2007-12-10 Thread mit
try this http://www.ollicle.com/2007/oct/23/jquery_link_plugin.html

[jQuery] Change messages in Jörn's validator plugin

2007-12-10 Thread tcollogne
Hello, I am experimenting with the validator plugin from Jörn. I found an example where you can pass custom messages to the validator. I was wondering now if it is possible to define new default messages, so that I don't have to specify them for each validator. I tried this :

[jQuery] How to return data when calling an ajax function?

2007-12-10 Thread Yansky
Hi, if I have the following code: function xhr(sWT){ var dReturn; $.ajax({ type: GET, url: sWT, error: function(errorData){ dReturn = errorData; }, success:

[jQuery] Passing Values into internal variables

2007-12-10 Thread [EMAIL PROTECTED]
I'm using http://www.learningjquery.com/2007/10/a-plugin-development-pattern to develop my own plugin and I am stuck whilst trying to pass information into the generated 'object'. Something along the lines of setting the date on a calendar from outside... such as you can do with the UI

[jQuery] Re: Using $(this) in :has()

2007-12-10 Thread ebakunin
Works great. Thanks for the help. On Dec 9, 10:22 pm, John Resig [EMAIL PROTECTED] wrote: Try this, instead: $(.trigger).click(function () { $(this).parents(.container).hide(slow); }); That should get you what you're looking for. --John On Dec 9, 2007 7:53 PM, ebakunin [EMAIL

[jQuery] Re: Geocoding with Google Maps while a page is loading

2007-12-10 Thread Mazso
Thank you, Tane Piper. I just found your posting and I´m sure to have a closer look at your plugin. On 3 Dez., 17:41, Tane Piper [EMAIL PROTECTED] wrote: You might be interested in my plugin, jMap2 -http://hg.pastemonkey.org/jmaps On Dec 1, 2007 9:26 PM, Mazso [EMAIL PROTECTED] wrote:

[jQuery] links not working in Div

2007-12-10 Thread brianfidler
I've got a set of 6 divs that I am using jQuery to fade in and out depending on where a visitor navigates to. Inside these divs I have pretty standard text. For some reason, on IE, any links that I have are not clickable. I've also got the css on the div containing the text to overflow: auto so

[jQuery] File download with jQuery.

2007-12-10 Thread lagos.tout
Hi, Anyone know how to force the browser to treat the data returned by the server in response to $.get( ) as a file, not text or html or xml? I'm using the correct mime-type and know that the file is being returned when I use an href on a link, rather than jQuery. I could stick with that, but

[jQuery] Re: jQuery Magnifier for multiple divs

2007-12-10 Thread David Decraene
I think the problem might be the styling setting on the second div, you are making a box of 150 * 150 (and therefore images are on two lines). The images seem to enlarge if you hover a couple of pixels below the image instead of on top of the image (perhaps corresponding more to the middle of the

[jQuery] Drag and Drop running very slowly

2007-12-10 Thread mdw77
Hi everyone, I am writing a drag and drop day-planner application. I have got it working as I want but it is very very slow. this seems to be due to the sheer number of draggable and dropable elements on the page (when I delete them all but a handfull, everything speeds up to a reasonable speed).

[jQuery] Re: Cluetip newbie questions

2007-12-10 Thread Shawn
Apparently my other post regarding my blunder didn't make it through. Or I accidently sent it to Karl directly. The trick I needed was the ajaxProcess function Karl suggested, as well as the ajaxSettings parameter. between the two of these, I was able to do what I needed. Then I turfed the

[jQuery] Non-standard port error

2007-12-10 Thread Akve
Hi there! We use JQuery in an enterprise application, and run across the following problem. We deployed to a new server, and aaccess the site with non-80 port, like http://the.site.com:81/ And the error is. JQuery, only for IE 6, asks the URL http://:/; and IE stops working. The reason why I

[jQuery] Element not appended in IE7

2007-12-10 Thread Giovanni Battista Lenoci
Hi, can anyone help me understand why in this case the element is not appended in IE7: for(var i=0; i lista_files.length; i++) { $a = $('a').appendTo($container); $a.addClass('expander_link'); $a.attr({ 'id':'exp_link_1',

[jQuery] delay problem on kreypress with ie

2007-12-10 Thread hcvitto
hi everybody, just joined this group:) I've been using jquery for some weeks so i'm not an expert. This is my problem: i'm using yahoo autocomplete. On choosing an option from the dropdown div a function is triggered whether the choice is made with the mouse (click event) or with the return

[jQuery] Re: Element not appended in IE7

2007-12-10 Thread Giovanni Battista Lenoci
It seems that on certain elements, this syntax is preferred by IE $a = $('a/a').appendTo($element); It's right? There'is an explanation? Thank you

[jQuery] Re: autocomplete bug when focus called

2007-12-10 Thread Shelane Enos
OK, so I would think that with the default matchSubset being true and the default cacheLength as 10, that a second ajax call wouldn't be necessary. What I notice with the ajaxQueue plugin is that if I type Mod then hit delete, it never looks up Mo. I put the plugin on this page:

[jQuery] Re: Element not appended in IE7

2007-12-10 Thread bingo
hi Giovanni, have you tried $a = $('a').appendTo($element). I guess this should also work perfectly in both IE and FF On Dec 10, 9:49 am, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: It seems that on certain elements, this syntax is preferred by IE $a = $('a/a').appendTo($element);

[jQuery] problem with keypress delay and ie

2007-12-10 Thread hcvitto
hi everybody, just joined this group:) i'm using yahoo autocomplete and jquery (i'm not an expert, just using jquery for some weeks now). I've got the autocomplete which trigger a function on choosing an option both via mouse or keyboard. The click event works fine but if i use the return event

[jQuery] Exception with tablesorter+pager when table is empty

2007-12-10 Thread Francesco Vivoli
Hi all at jquery.tablesorter.pager.js:149 I have this line $(this).trigger(appendCache); which causes this to be executed (jquery.tablesorter.js:243) var c = cache, r = c.row, n= c.normalized, totalRows = n.length, checkCell = (n[0].length-1), tableBody = $(table.tBodies[0]), rows = [];

[jQuery] Re: Cross domain photo gallery using get().

2007-12-10 Thread Andy Matthews
Aldur... That's how I'm doing it now. The JS resides on my server, as does the data file which generates all of the HTML. The problem is that if I reference the data file locally (as if it was on MY server) the JS tries to look on the user's website for data.cfm. If I reference it absolutely, I

[jQuery] Dropdown box (select list) with images?

2007-12-10 Thread Peter Bremer
Is there a jQuery tool that allows me to create a downdown list (SELECT in HTML terms) where I can have images in the list? For example a select language downdown, with a flag before every language. I guess this would technically be a DIV that is displayed when you click a dropdown icon, but

[jQuery] [SITE SUBMISSION] Shooting For A Cause Charity site

2007-12-10 Thread Jason Levine
For the past few months, I've been working on a project for charity and just had to add some JQuery to the site. The project is a series of four calendars to benefit The National Center for Missing and Exploited Children. These calendars contain photographs on various subjects (Earth and Sky,

[jQuery] Re: jEditable Callback Function

2007-12-10 Thread Mika Tuupola
On Dec 9, 2007, at 3:26 PM, bhays wrote: I'm using jEditable within a table that uses tableSorter. Currently, when data within the table is updated, the sorting of the table is off. Calling trigger.(update) fixes that, but I am unable to get the call to function properly at the end of an

[jQuery] IE7 odd bug with val()

2007-12-10 Thread MarcelloP
Hi all! I've a strange errore that happens ONLY in IE7 but not in FF, and I can't get the solution!!!. Having an html like this: td id=contentPane spanColonna Centrale/span div class='pageLayout-module' input type='hidden'

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread Dave Methvin
in the showSectionActionsDialog function IE give the error Object doesn't support this property or method when trying to get the value of the actions variable Make sure that $(input.sectionAction, $(el)) is actually returning an element. The code for .val() assumes there is an element in

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread Dave Methvin
The code for .val() assumes there is an element in the jQuery object and will generate an error similar to the one you describe if there is no element selected. Let me correct myself here; .val() returns undefined if there is no element in the current jQuery object.

[jQuery] What is the best way to remove an element from a jQuery array?

2007-12-10 Thread George
Bit of a brain block today, maybe I'm being daft but... How do we remove the element referenced by $myElem from a list of elements in $myElements ? Scenario: We have one element in a variable named $myElem (a jQuery array of one element). This element may also exist in another variable named

[jQuery] Re: What is the best way to remove an element from a jQuery array?

2007-12-10 Thread Jonathan Sharp
$myCollection = $myCollection.not( $myElem ); Cheers, -Jonathan On Dec 10, 2007 12:00 PM, George [EMAIL PROTECTED] wrote: Bit of a brain block today, maybe I'm being daft but... How do we remove the element referenced by $myElem from a list of elements in $myElements ? Scenario: We have

[jQuery] Re: Dropdown box (select list) with images?

2007-12-10 Thread Benjamin Sterling
Peter, There was one a while back, but I think it was only compatible with v1.1. I just check the old plugin list and could not find it. I will look in my archives, I think I download it at one point. On 12/10/07, Peter Bremer [EMAIL PROTECTED] wrote: Is there a jQuery tool that allows me to

[jQuery] Re: File download with jQuery.

2007-12-10 Thread Jonathan Sharp
Hi LT, I don't think you can force a file download with an Ajax request. You may be able to (not certain) with an embeded IFrame that has your url as it's source. Cheers, -Jonathan On Dec 10, 2007 4:06 AM, lagos.tout [EMAIL PROTECTED] wrote: Hi, Anyone know how to force the browser to treat

[jQuery] Re: validation in IE6

2007-12-10 Thread Jörn Zaefferer
[EMAIL PROTECTED] schrieb: Hi Guy, i solved the 2 matters: 1) The validation in IE6 is solved by the new 1.2 version. I found that in the jorn repository files. 2) maybe I lost something but i was using an old metadata plugin but i really did not see in any place a notice for a new release.

[jQuery] Re: Why won't this validation run?

2007-12-10 Thread Jörn Zaefferer
Rick Faircloth schrieb: Hi, all… I can’t get a simple form to validate or calculate a mortgage. Could someone please take a look at this code and see why, when the form is submitted, not validation occurs, the form seems to just submit back to the page it’s on, and also appends the form

[jQuery] jqModal and triggering DOM element

2007-12-10 Thread mmesh
Hi! I have a need to do something everytime jqModal window is closed. Reading documentation revealed that I could use onHide callback. Calling this function works correctly but I need to retrieve id of the element that triggered jqModal in it and I don't know how to do it. I tried: var

[jQuery] [PLUGINS] Preview: buildBreadcrumb

2007-12-10 Thread Alexander Graef
This is a preview of the breadcrumbs plugin I am currently working on. I will have the first release ready soon. http://dev.portalzine.de/index?/buildBreadcrumb Cheers Alexander - portalZINER- innovation uncovered http://www.portalzine.de dev.

[jQuery] Re: Element not appended in IE7

2007-12-10 Thread Haingotiana A. RAKOTONJANAHARY
$a = document.createElement('a'); $(a).appendTo($container);

[jQuery] IE and the Funky Overflow

2007-12-10 Thread Robert-CFL
This is my first jQuery post, and may I just say that jQuery (like so many others) has changed the way I program. Ok so I'm developing a completely ASP.net jQuery website. My problem is that when I use css overflow in IE7 it doesn't really overflow when I widen a div using jQuery().animation;

[jQuery] jqModal and onHide callback

2007-12-10 Thread mesh
Hi!br I have a need to do something everztime jqModal window is closed. Reading documentation revealed that I could use onHide callback. Calling this function works correctly but I need to retrieve id of the element that triggered jqModal in it and I don't know how to do it.br brI tried:br code

[jQuery] How do I run a function on my selected items?

2007-12-10 Thread [EMAIL PROTECTED]
Here is my selection: $(.myClassName) Here is my function: function myFunction { alert( $ (this).attr('id'); } So, foreach selected element in my selection I want to run myFunction on it. Does that make sense? Thanks!

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Jörn Zaefferer
Hi Rick, $(#MC_Form) returns nothing. Thats why the validation doesn't work. Jörn

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread sawmac
in the showSectionActionsDialog function IE give the error Object doesn't support this property or method when trying to get the value of the actions variable Marcello, I tried the snippet you sent and IE 7 didn't spit out any errors. Do you have a page online that's causing the errors

[jQuery] Re: Change messages in Jörn's va lidator plugin

2007-12-10 Thread Jörn Zaefferer
tcollogne schrieb: Hello, I am experimenting with the validator plugin from Jörn. I found an example where you can pass custom messages to the validator. I was wondering now if it is possible to define new default messages, so that I don't have to specify them for each validator. I tried

[jQuery] Re: File download with jQuery.

2007-12-10 Thread tlphipps
If you just use a regular link, doesn't the browser just pop-up the file download window and the original page still stay viewable in the browser? I'm not sure why you would need to submit the request via AJAX for an AJAX-like feel to the app. On Dec 10, 4:06 am, lagos.tout [EMAIL PROTECTED]

[jQuery] Re: IE and the Funky Overflow

2007-12-10 Thread Karl Swedberg
Hi Robert, This sounds like a CSS issue, probably having to do with z-index. Make sure that the element you want to cover the other element has a higher z-index and that its position is set to relative (or absolute). --Karl _ Karl Swedberg www.englishrules.com

[jQuery] Re: Element not appended in IE7

2007-12-10 Thread Jean
i have the same problem, but this doesnt work too =/ t On Dec 10, 2007 3:55 PM, Haingotiana A. RAKOTONJANAHARY [EMAIL PROTECTED] wrote: $a = document.createElement('a'); $(a).appendTo($container); -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com

[jQuery] Re: [PLUGINS] Preview: buildBreadcrumb

2007-12-10 Thread Rafael Santos
What's the point of this plugin? Because it can be done with css only. On Dec 10, 2007 3:28 PM, Alexander Graef [EMAIL PROTECTED] wrote: This is a preview of the breadcrumbs plugin I am currently working on. I will have the first release ready soon.

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Rick Faircloth
What would be the cause of that? Does it have to do with the fact that the form variables are being attached to the URL? That doesn't happen in the other validation implementation... I can't see what to change to make it work. Got any ideas on how to fix it? Thanks for the look and the help,

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Jörn Zaefferer
You've just got a typo. Its $(#MC_form). Jörn

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Josh Nathanson
Javascript is case-sensitive, so $(#MC_form) != $(#MC_Form). -- Josh - Original Message - From: Jörn Zaefferer [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Monday, December 10, 2007 1:13 PM Subject: [jQuery] Re: Validation Plug-in Problem You've just got a typo. Its

[jQuery] XML filter

2007-12-10 Thread akedsi
Hello people, i'm in very trouble to make a filter on a XML document, comingo from a AJAX method ($.post()). I need to show some filtered itens of the XML documents, but i don't know how. Can anyone give me a help? Thanks a lot

[jQuery] Re: How do I run a function on my selected items?

2007-12-10 Thread SyLon
You should probably do something like: $(.myClassName) .each(function (){ alert( $(this).attr('id') ); }); Leon. On Dec 10, 7:34 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Here is my selection: $(.myClassName) Here is my function: function myFunction { alert( $ (this).attr('id'); }

[jQuery] .click() issue

2007-12-10 Thread SyLon
Hello everyone! Could someone please explain me how could this be?? Works: $(.flag).hide(); Doesn't work (wont alert): $(.flag).click(function (){ alert(hello); }); WORKS: $(.flag).click(function (){ alert(hello); }).click(); It seems like the browser just doesn't see the click event!

[jQuery] Event handling - capture an event and trigger it upon confirmation?

2007-12-10 Thread Eric Martin
I'm trying to write a app that watches for changed data, then if a user clicks on something else, it warns them that they have unsaved data with a modal dialog. I'm calling e.preventDefault on the event initially and then trying to make it so if they select yes, the event will be re-triggered.

[jQuery] Re: .click() issue

2007-12-10 Thread David McFarland
Works: $(.flag).hide(); Doesn't work (wont alert): $(.flag).click(function (){ alert(hello); }); WORKS: $(.flag).click(function (){ alert(hello); }).click(); It seems like the browser just doesn't see the click event! Weird.. What does the HTML look like? --dave

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread MarcelloP
Thanks Dave, I've assigned an id and a name attr to my html, so now it validate. But with IE7 stil doesn't work. On Dec 10, 6:59 pm, Dave Methvin [EMAIL PROTECTED] wrote: The code for .val() assumes there is an element in the jQuery object and will generate an error similar to the one you

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread MarcelloP
Searching on the net for simila problems, I've found this: http://www.webdeveloper.com/forum/showthread.php?t=100586 and so I've changed my code: previous: sectionId = $(input.sectionId, $(el)).val(); actions = $(input.sectionAction, $(el)).val(); // HERE IE7 goes mad!!!

[jQuery] Re: IE7 odd bug with val()

2007-12-10 Thread MarcelloP
Thank you Dave, but for now I can't put the page online, the code is stil under heavy development. On Dec 10, 6:26 pm, sawmac [EMAIL PROTECTED] wrote: in the showSectionActionsDialog function IE give the error Object doesn't support this property or method when trying to get the value

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Rick Faircloth
Thanks, Jorn and Josh... I've just *got* to get used to the case-sensitive nature of js... Thanks a *lot*... my headache may start to subside now. I think an Oreo-Cookie Blizzard (Large) will help. :o) Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL

[jQuery] Easing plugin and IE

2007-12-10 Thread Jay Hankins
Using the easing plugin located at http://gsgd.co.uk/sandbox/jquery/easing/ , I have set up a web site that uses scrolling effects to scroll left to right. This works fine in Firefox, but lo and behold does not work in IE (I only have IE7, but I assume it will not work in any version of IE).

[jQuery] Re: Make an entire div clickable

2007-12-10 Thread Myster
excelent, that's perfect. thanks :-) On Dec 10, 10:53 pm, mit [EMAIL PROTECTED] wrote: try thishttp://www.ollicle.com/2007/oct/23/jquery_link_plugin.html

[jQuery] Re: Easing plugin and IE

2007-12-10 Thread Sam Sherlock
Don't know if I see the same issue as you. I see differences which could be fixed with a ie stylesheet in ie conditionals. I have never seen use of a ie6 tag Its working in ie6 win2k but there are display differences in ie huge space occupied by the logo On 10/12/2007, Jay Hankins [EMAIL

[jQuery] Re: Dropdown box (select list) with images?

2007-12-10 Thread [EMAIL PROTECTED]
Peter, I just found this http://dev.jquery.com/~cbach/demos/selectbox/ On Dec 10, 1:43 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Peter, There was one a while back, but I think it was only compatible with v1.1. I just check the old plugin list and could not find it. I will look in my

[jQuery] Input Type of Submit Event not working in IE

2007-12-10 Thread Raymond
I am trying to add a click event to all form input's that are type of submit. The following works great in Opera and FF but does not work in IE. I have tried numerous various without success. $('[EMAIL PROTECTED]submit]').click(function () { //do stuff }); I have a very similar type of

[jQuery] Re: Easing plugin and IE

2007-12-10 Thread Jay Hankins
Ok, so how would I use IE conditionals, and what would I put in my stylesheet? I would also like to know which site it is that takes your site and tries it on different OS's and browsers. I cannot remember it off the top of my head. Thanks, Jay

[jQuery] Re: Input Type of Submit Event not working in IE

2007-12-10 Thread Karl Rudd
That should work. You could try the shortcut, instead of $('[EMAIL PROTECTED]submit]') you can use $(':submit'). Karl Rudd On Dec 11, 2007 12:55 PM, Raymond [EMAIL PROTECTED] wrote: I am trying to add a click event to all form input's that are type of submit. The following works great in

[jQuery] JQuery Performance Issue

2007-12-10 Thread qualityking
Dear All, I found a very sever performance issue with jQuery load time Please user sample code below: page 1 HTML HEAD TITLE New Document /TITLE /HEAD BODY Scenario 1: lt;A HREF=page2 target=”_balnk”gt;TEST PAGE LOAD TIME DEMO 1 Scenario 2:lt;A HREF=page2 target=”myframe”gt;TEST

[jQuery] odd behavior with toggle

2007-12-10 Thread aquaone
I've had a minor issue with a function I'm using to toggle a large number of rows (200+) in a large table (300+ rows, 20+ columns). Initially I tried the following code (forgive any typos, typing this at home, not work, so I may have some minor issues) am am curious why it doesn't work the

[jQuery] Re: How do I run a function on my selected items?

2007-12-10 Thread aquaone
http://docs.jquery.com/Utilities/jQuery.each $(.myClassName).each(function(){alert($(this).attr('id'));}); I believe... aquaone [EMAIL PROTECTED] wrote: Here is my selection: $(.myClassName) Here is my function: function myFunction { alert( $ (this).attr('id'); } So, foreach selected

[jQuery] Yet another page I can't get to work with validation! Aaarggghh!

2007-12-10 Thread Rick Faircloth
Does anyone have a clue why this page is not responding to Jorn's validation plug-in? http://bodaford-homes.wsm-dev.com/cfm/military_relocation.cfm I made sure the case was correct with the form name! The page just submits back to itself, but nothing happens at all. Maybe I'm just not meant to