[jQuery] Smart Banner Modification Needed

2009-09-22 Thread MauiMan2
On the site I am almost finished developing at http://www.murphytx-online.com/murphy/eating-out-american.php I am using the Smart Banner jQuery script from http://www.webresourcesdepot.com/smart-floating-banners/ This script keeps the content of the two sidebars always visible as the visitor

[jQuery] Re: Get rid of long-running script dialog box ?

2009-09-22 Thread Jonathan Vanherpe (T T NV)
Machin Pouet wrote: Hello all, I'd like to know if you have a way to disable the long-running script dialog boxes, as one can see many in this article : http://www.nczonline.net/blog/2009/01/05/what-determines-that-a-script-is-long-running/ I can hardly split my processing into smaller

[jQuery] Re: position of js code

2009-09-22 Thread Xi Shen
i like MorningZ's answer haha~~~ i think by convention, people put it in the head. but there's performance problem with IE, i do not know if other browsers have similar issue, that is IE can d/l one JS file at a time. The consequence is that is you have many JS file, or a big one, it would take

[jQuery] 'this' keyword in a custom object

2009-09-22 Thread Alex Wibowo
Hi... I'm trying to write object-oriented style javascript as follows: - function HtmlFormUtil(formId){ this.formId=formId; this.dirtyInputs=new Array(); } HtmlFormUtil.prototype.trackForChanges=function(){ $(:input,#+this.formId).change(function(){

[jQuery] Sliding list items -- missing bullets?

2009-09-22 Thread Mark Nottingham
I'm having issues with using slideUp/slideDown on lists; when list items reappear, their bullets are missing, both in Safari and Firefox. See example at: http://www.mnot.net/test/slide-list.html Is this a known issue? Thanks, -- Mark Nottingham http://www.mnot.net/

[jQuery] [Autocomplete]autocomplete in textarea

2009-09-22 Thread td liao
hi guys i had used jQuery autocomplete in a textarea i want the suggest results show in where i'm typing, not outside the textarea. i checked jQuery autocomplete source code, finding in line 722 is the core code. show: function() { var offset = $(input).offset(); element.css({

[jQuery] variable keys in a Ajax post call

2009-09-22 Thread bartb
Hi, How do I pass a variable as a key in a key/value pair in Ajax? For example, this does NOT work: function DoAjaxCall(columnname, value) { $.post(_callerquery, { columnname: value }, function(data, textStatus) { alert(data+ ' '+ textStatus); },

[jQuery] [jcarousel] Can't make it scroll

2009-09-22 Thread Simon Justesen
Hi! I'm having some troubles with the jCarousel by Jan Sorgalla. I'm loading the carousel dynamically and the images display. But I'm unable to make them scroll. There are no errors according to Firefox. The code I'm using is a replica of the one used for the vertical scroller with minor

[jQuery] ajax arraylist

2009-09-22 Thread jonathan1212
hello i need your help ..i have this code ..servlet protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub ArrayList serviceUnit = new ArrayList();

[jQuery] [Autocomplete]autocomplete in textarea

2009-09-22 Thread td liao
hi guys i had used jQuery autocomplete in a textarea i want the suggest results show in where i'm typing, not outside the textarea. i checked jQuery autocomplete source code, finding in line 722 is the core code. show: function() { var offset = $(input).offset(); element.css({

[jQuery] Re: Recommend a JS enabled/browser growler script/plug-in?

2009-09-22 Thread Sam Doyle
$.browser On Sep 21, 5:38 pm, ldexterldesign m...@ldexterldesign.co.uk wrote: Cheers man. And the browser detection..? Thanks, On Sep 21, 5:14 pm, Liam Potter radioactiv...@gmail.com wrote: use noscript and conditional comments. ldexterldesign wrote: // This site works best with

[jQuery] Re: jQuery(window).width() not registering sizes lower than 497 in Firefox.

2009-09-22 Thread Sam Doyle
I just ran this: script type=text/javascript !-- $('body').css('width','100px'); $('body').append('br /'+$('body').width()); -- /script and it yielded the correct result in firefox 3.5.3 On Sep 21, 8:03 pm, indigo0086 indigo0...@gmail.com wrote: I'm working on implementing a

[jQuery] Tablesorter is not sorting numbers correct

2009-09-22 Thread Fons
I am sure I am overlooking something simple, but can't seem to find the needle in the haystack. I am parsing an XML file and extract 2 parameters These are put in a sortable table as I did for some many other tables now. Sorting on names works like expected.(first column) sorting on numbers

[jQuery] Re: variable keys in a Ajax post call

2009-09-22 Thread Mike Alsup
How do I pass a variable as a key in a key/value pair in Ajax? For example, this does NOT work: function DoAjaxCall(columnname, value) {         $.post(_callerquery, {             columnname: value         }, function(data, textStatus) {             alert(data+ ' '+ textStatus);        

[jQuery] Re: 'this' keyword in a custom object

2009-09-22 Thread RobG
On Sep 22, 8:17 pm, Alex Wibowo alexwib...@gmail.com wrote: Hi... I'm trying to write object-oriented style javascript as follows: - function HtmlFormUtil(formId){     this.formId=formId;     this.dirtyInputs=new Array();}

[jQuery] Re: 'this' keyword in a custom object

2009-09-22 Thread RobG
On Sep 22, 9:04 pm, RobG robg...@gmail.com wrote: [...] e.g. something like  function addOne() {     numChanged++;  }  var numChanged = 0;  var inputs = document.getElementsByTagName('input');  var i = inputs.length;  while (i--) {   inputs[i].onchange = numChanged; Ooops:

[jQuery] Re-Loading jquery function on click

2009-09-22 Thread scotthaslehurst
Hi, Bit of a newb to jquery. I have got a jquery slider effect nestled in some tabs. Each tab has one slider in it. When the page initially loads it loads the effect in the first tab only. On clicking the second tab the function isn't called and remains displayed without the effect. The

[jQuery] Bezier curves and animation

2009-09-22 Thread weepy
Hey I just released a plugin that allows multidimensional animation for jQuery. This is useful for Bezier Curvers among other things. Article is here http://blog.parkerfox.co.uk/2009/09/22/bezier-curves-and-arcs-in-jquery/ Demo is here http://weepy.github.com/jquery.path/ Code is actually

[jQuery] Jquery ClientSide validation

2009-09-22 Thread Vardhini
Hi, I'm using Jquery client side validation to validate my controls on the form. I want to throw validations only for controls visible on the page, right now, it is throwing validation errors for non-visible controls on the page. How do i fix this problem? Thanks. Vardhini.

[jQuery] (validate) How do I raiz error/

2009-09-22 Thread SirShurf
I have a login form Only in Js it works fine, but I have more checks that I am doing in my PHP file... How di I raiz error according to ajax responce code? var v = jQuery(#login_frm).validate({ submitHandler: function(form) {

[jQuery] Re: Blocking UI for synchronous ajax calls

2009-09-22 Thread nomen
Hi Mike: Finally I changed the calls to asynchronous. It looks good now. Thanks for your help. On 16 sep, 10:16, nomen gaston...@gmail.com wrote: Hi Mike:   Thank you for your answer.    I have understand what do you mean between lock the browser and block th UI.    To test it I

[jQuery] Re: Bug? Jumping show/hide in Chrome and Safari

2009-09-22 Thread Merlin
Does nobody have an idea what is causing this? On Sep 21, 9:39 pm, Merlin ngro...@fastmail.fm wrote: Hi there, I am building a simple show/hide list with the help of jquery. It works great on IE and Firefox but inChromeand Safari the closing menuitems shift the whole menu to the left for

[jQuery] Re: Tablesorter is not sorting numbers correct

2009-09-22 Thread narayanis
It looks like Tablesorter is treating it as an alpha instead of a digit field. Try telling it the field is numeric in the th tag of that column: th class={sorter: 'digit'}. Hope this helps, Nicholai

[jQuery] (validation) removal of error message problem

2009-09-22 Thread chief7
the validation error message isn't removed/hidden after i fix an invalid input. If I make the input invalid again another error message is appended below the first error message. error messages are added/removed appropriately on all other pages. this problem is only occurring on one page.

[jQuery] Way to convert DOM event to jQuery event?

2009-09-22 Thread WalterGR
I want to take advantage of jQuery's cross-browser Event object, but via an onclick event handler. For example: a href=# onclick=showTextNearThisLink(convertToJQueryEvent(event), 'foobarbaz');show details/a Is something like this possible? I may be thinking about the problem wrong. I

[jQuery] [tablesorter.pager] Does it work with dynamic tables?

2009-09-22 Thread Zé Ricardo
Hi, I have two tables in my page. One, static, works perfectly with tablesorter and its pager plugin. The other is filled through Ajax calls. I'm using the trigger (update) method, as described in the tablesorter docs, but the pager just does not work. Does anyone know what it can possibly be?

[jQuery] Re: Validating Submit from Image Button (Validate)

2009-09-22 Thread Dakuwan
Tracked it down to the rules area, there was an unclosed }. On Sep 21, 4:47 pm, Dakuwan daku...@gmail.com wrote: I am having the following issue, when I try using an image to post I cannot get the validation to run.  When I click the button the form submits and nothing is checked.  I've been

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-22 Thread Liam Potter
or this a href=# rel=foobarbazshow details/a $(a).click(function(){ var rel = $(this).attr('rel'); } now you have passed foobarbaz to jquery. WalterGR wrote: I want to take advantage of jQuery's cross-browser Event object, but via an onclick event handler. For example: a href=#

[jQuery] Re: variable keys in a Ajax post call

2009-09-22 Thread bartb
ah, sweet... thank you! Bart On Sep 22, 12:57 pm, Mike Alsup mal...@gmail.com wrote: How do I pass a variable as a key in a key/value pair in Ajax? For example, this does NOT work: function DoAjaxCall(columnname, value) {         $.post(_callerquery, {             columnname: value

[jQuery] Load images ondemand (onscroll)

2009-09-22 Thread MartinBorthiry
Hello: I wrote a simple script based on jquery to load images onscroll event. It is very easy. http://code.google.com/p/jquery-images-ondemand/ enjoy

[jQuery] Re: Bezier curves and animation

2009-09-22 Thread bartb
Wow, that looks great! Bart On Sep 22, 2:05 pm, weepy jonah...@gmail.com wrote: Hey I just released a plugin that allows multidimensional animation for jQuery. This is useful for Bezier Curvers among other things. Article is here

[jQuery] Re: Bezier curves and animation

2009-09-22 Thread ryan.j
that's rather nice :) On Sep 22, 1:05 pm, weepy jonah...@gmail.com wrote: Hey I just released a plugin that allows multidimensional animation for jQuery. This is useful for Bezier Curvers among other things. Article is here

[jQuery] Re: Jquery ClientSide validation

2009-09-22 Thread km
Vardhini, Please post your code. Krishna ~~~ On Tue, Sep 22, 2009 at 9:18 PM, Vardhini vardhini...@gmail.com wrote: Hi, I'm using Jquery client side validation to validate my controls on the form. I want to throw validations only for

[jQuery] Re: How do I extract a part of received data

2009-09-22 Thread Frederik
Thanks for your reply Rodrigo. On Sep 21, 10:57 am, Rodrigo Sebastián Alfonso rodrigo.s.alfo...@gmail.com wrote: let's say you have World in data, you have to do this: $(div).find(p).html($(div).find(p).html() + data); so your html would look like: divpHelloWorld/p/div On Mon, Sep 21,

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Liam Byrne
Maybe because 'rel=external' doesn't have any meaning or functionality ? The proper syntax with functionality would be a target=_blank href=http://www.google.com;google/a but that's just HTML; it has nothing to do with jQuery Liam Lord Gustavo Miguel Angel wrote: Hi, Why this code not

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Sam Doyle
$(document).ready(function(){ $(a rel='external').attr(target,_blank); });

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Liam Potter
Except that target=_blank is deprecated in xhtml 1.1, so to make sure you're markup validates, you need to use javascript to make links open in a new window/tab. One way to do it is like this. $(a[rel='external']).click(function(){ this.target = _blank; }); Liam Byrne

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Sam Doyle
$(document).ready(function(){ $(a [rel='external]').attr(target,_blank); }); Sorry

[jQuery] Re: Bug? Jumping show/hide in Chrome and Safari

2009-09-22 Thread Merlin
HI, I broke the problem down into the fact that somehow jQuery is not able to handle show/hide of Lists inside a talbe correctly with Safari/ Chrome. Using fadeIn and fadeOut works though, but I really would like to use show/hide as the effect is much nicer. Here is an example code that

[jQuery] issue regarding live event

2009-09-22 Thread g...@iec
Hi all, I had encounter a situation in which 'live' seems to be not working in ie but nworking fine in ff. $('a.start').mousedown(function(){ {some code} }); this code is written in js file. in another js file , $('a.start').live('mousedown', function(){ {some code} }); is

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Rick Faircloth
Now why would target=_blank be deprecated without a suitable HTML substitute, requiring coders to have to resort to js for the functionality? Odd... Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Liam Potter Sent: Tuesday,

[jQuery] Chaining animation effects on different elements...

2009-09-22 Thread ryan.j
Hi guys, been playing around with something for a bit this afternoon but i can't find a programatically 'nice' way of achieving the effect i'm after. I have a bunch of elements assigned a class that don't necessarily have anything in common beyond the class. I want to fadeto them in randomly but

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Liam Potter
I have no idea, I think it was a stupid choice, I believe the reason behind it was that people should be able to choose how to open a link, and forcing a new window removes this choice, and confuses the user, because the back button stops working. I prefer external sites to open in a new

[jQuery] Re: Chaining animation effects on different elements...

2009-09-22 Thread Liam Potter
I'd count how many elements have the class, and also add an id to each one, incrementing with each count. Then I would write a function, passing it a randomly generated number (within range of the element count) which would fade in the given id, with a known animation time. I would then

[jQuery] Re: Bug? Jumping show/hide in Chrome and Safari

2009-09-22 Thread ryan.j
the handling of lists may be slightly buggy - i had a similar sounding problem in IE with the fade/slide functions breaking margin-top. worked fine in everything else but it seemed to be caused in IE by moving the mouse off the element that triggered the animation before it completed.

[jQuery] Re: Bug? Jumping show/hide in Chrome and Safari

2009-09-22 Thread Merlin
thank you for the reply. I finally solved it by using slideToggle followd by hide. regards, merlin On Sep 22, 4:56 pm, ryan.j ryan.joyce...@googlemail.com wrote: the handling of lists may be slightly buggy - i had a similar sounding problem in IE with the fade/slide functions breaking

[jQuery] Re: Chaining animation effects on different elements...

2009-09-22 Thread ryan.j
cheers for that liam, i'd thought about assigning incremental ids on the fly since i'm already using the element's id to select them in the slab'o'crap being eval'd, but afaik xhtml elements can only have one attrib type ID can't they? since it's just a fluffy graphical thing i don't really want

[jQuery] Re: Tablesorter is not sorting numbers correct

2009-09-22 Thread Fons
Sorry to say it did not solve my issue please have a look @ http://www.prodigiumguild.com/xml/guildomatic.php for the result of the script. (and tick my fingers where i have been screwing up) /Fons On Sep 22, 3:30 pm, narayanis nicholai.bur...@gmail.com wrote: It looks like Tablesorter is

[jQuery] Re: Chaining animation effects on different elements...

2009-09-22 Thread Liam Potter
ahh, didn't know you had id's already assigned, you could use the data method to store it in the dom rather then in the id? ryan.j wrote: cheers for that liam, i'd thought about assigning incremental ids on the fly since i'm already using the element's id to select them in the slab'o'crap

[jQuery] Suggest a pop up window..

2009-09-22 Thread Erik R. Peterson
Can anyone suggest to me a good jquery pop up window script. Thanks. Erik

[jQuery] Re: Suggest a pop up window..

2009-09-22 Thread Liam Potter
Depends what you need one for. Erik R. Peterson wrote: Can anyone suggest to me a good jquery pop up window script. Thanks. Erik

[jQuery] i18n for 30000 entrys - cool ?

2009-09-22 Thread Christopher
hei list! I was wondering if the i18n table is still state of the art for about 30 000 entrys (cities) in a model (=180 000 entrys in i18n). Or is there a better solution like using a table prefix for different languages (de_cities, en_cities,)? thankYouVeryMuch chris!

[jQuery] Re: issue regarding live event

2009-09-22 Thread waseem sabjee
hi there i here is a work arround i made up for the live event with an AJAX call basically i made an ajax call and injecting HTML into a div - a live() click event was not executing only on IE7 for some odd reason so i included my click event within the success : function of that AJAX call at it

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread Loony2nz
Check out this example: http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validation-with-Selects On Sep 22, 9:35 am, ripcurlksm kevin.mccorm...@cox.net wrote: I have a How did you hear about us? with a series of checkboxes that is working great, however there is an option for

[jQuery] jQuery plugin for managing user sessions? Which CMS is easier to use with jQuery?

2009-09-22 Thread Ivan
Hi All I've just started using jQuery and already love it! I'm working now on project, that will give some services to wide community after registration. I'm going to use: - jQuery with Ajax and UI plugins on the client side - Perl (or PHP) + MySQL on server side - (may be) some good CMS in

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Ricardo
I don't. That's the reason :) What you should do is indicate when a link leads to a external site, via an icon or formatting, like Wikipedia articles. In XHTML 1.0 Transitional target is still valid. -- ricardo On Sep 22, 11:47 am, Liam Potter radioactiv...@gmail.com wrote: I have no idea, I

[jQuery] Re: Blocking UI for synchronous ajax calls

2009-09-22 Thread Mike Alsup
Hi Mike:    Finally I changed the calls to asynchronous.    It looks good now. The web thanks you.

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
oohh that is just plain wonderful. thank you very much :) On Sep 22, 9:56 am, Loony2nz loony...@gmail.com wrote: Check out this example: http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validat... On Sep 22, 9:35 am, ripcurlksm kevin.mccorm...@cox.net wrote: I have a How did

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
Im trying to implement this and Im not sure if there is a syntax difference in returning a value of a checkbox vs a dropdown menu. Is (return $(#referrer).val() == 'Other') the proper way to test the value of a checkbox? It certainly works for dropdown menus.. Here is my new code, mimicking the

[jQuery] Re: i18n for 30000 entrys - cool ?

2009-09-22 Thread Angel
Sent from my iPhone On Sep 22, 2009, at 9:00 AM, Christopher cpiet...@gmail.com wrote: hei list! I was wondering if the i18n table is still state of the art for about 30 000 entrys (cities) in a model (=180 000 entrys in i18n). Or is there a better solution like using a table prefix

[jQuery] Re: Suggest a pop up window..

2009-09-22 Thread ryan.j
'popup windows' in the true sense of the word - a new browser window being opened - are simple enough to do with javascript with window.open (http://www.w3schools.com/HTMLDOM/met_win_open.asp) but if you want a dialog-type element displayed on screen i'd suggest the popular thickbox

[jQuery] Re: i18n for 30000 entrys - cool ?

2009-09-22 Thread ryan.j
Typed on my keyboard On Sep 22, 7:48 pm, Angel angel.marq...@gmail.com wrote: Sent from my iPhone On Sep 22, 2009, at 9:00 AM, Christopher cpiet...@gmail.com wrote: hei list! I was wondering if the i18n table is still state of the art for   about 30 000 entrys (cities) in a model

[jQuery] Re: Single page application and jQuery

2009-09-22 Thread Phaedra
So, no one looking at this topic? or no one know nothing about?

[jQuery] Re: i18n for 30000 entrys - cool ?

2009-09-22 Thread ryan.j
as far as internationalising you stuff goes, maybe take a peek at g11n if you're into that sort of thing. On Sep 22, 5:00 pm, Christopher cpiet...@gmail.com wrote: hei list! I was wondering if the i18n table is still state of the art for about 30 000 entrys (cities) in a model (=180 000

[jQuery] Re: Suggest a pop up window..

2009-09-22 Thread ryan.j
Erik sorry if any of that seems a bit rudimentary, it's not entirely clear what you actually want. stick some more details up and i'm sure we'll be able to provide you with a more detailed breakdown. ( last time i underestimated the level of technical detail a poster wanted on here, some weirdo

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
I'm getting close to finding a way to give a boolean result if the other checkbox is selected (id chkStatus5)... still not working though referrerother: { required: function(element){

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
Wow I finally got it... updated code here: referrerother: { required: function(element){ if ($('#chkStatus5').is(':checked')){ return true;

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread Michael Geary
You can simplify this part: if ($('#chkStatus5').is(':checked')){ return true; } else { return false; } to: return $('#chkStatus5').is(':checked'); As you can see, that's almost the same as your previous attempt; the only thing missing was the return. -Mike On

[jQuery] Datepicker and IE7

2009-09-22 Thread Vitor Santos
I searched all IE7 FAQs and tips but I could not find the solution. Basically the Datepicker doesn't work at all in IE7. It does not appear and most disturbing, IE7 doesn't show any Javascript error. Works just fine in FF3. My code is: script type=text/javascript $(function() {

[jQuery] Re: Tablesorter is not sorting numbers correct

2009-09-22 Thread jlcox
You'll need to include the metadata plugin if you want to do like that. See the bottom of the tablesorter download page.

[jQuery] Re: (validation) removal of error message problem

2009-09-22 Thread chief7
looks like this issue is caused by the name of the input. the name is orders[5].elements[2].Value which an attribute selector won't find (ie. $(input[for=orders[5].elements[2].Value])), but if the name is elements[2].Value it works fine. the 'for' attribute selector is used on line 630 of

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-22 Thread WalterGR
On Sep 22, 6:38 am, Liam Potter radioactiv...@gmail.com wrote: or this a href=# rel=foobarbazshow details/a $(a).click(function(){         var rel = $(this).attr('rel'); } now you have passed foobarbaz to jquery. This works only if I don't already need to use rel. I feel like there

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-22 Thread Scott Trudeau
What about using the metadata plugin and storing data in the class attribute? A little hackish (in HTML5 can use the data attribute, which is more proper...): http://plugins.jquery.com/project/metadata In addition to rel, you could also use the title attribute on the anchor, no? Scott On Tue,

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
thanks! On Sep 22, 1:09 pm, Michael Geary m...@mg.to wrote: You can simplify this part:     if ($('#chkStatus5').is(':checked')){         return true;     } else {         return false;     } to:     return $('#chkStatus5').is(':checked'); As you can see, that's almost the same as

[jQuery] Re: (validation) removal of error message problem

2009-09-22 Thread chief7
fyi - using jquery.validate.js version 1.5.2 On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote: looks like this issue is caused by the name of the input.  the name is orders[5].elements[2].Value which an attribute selector won't find (ie. $(input[for=orders[5].elements[2].Value])), but if the

[jQuery] Re: (validation) removal of error message problem

2009-09-22 Thread Jörn Zaefferer
Please update to 1.5.5 - also, please provide a testpage, otherwise I can't help. Jörn On Tue, Sep 22, 2009 at 11:08 PM, chief7 chi...@gmail.com wrote: fyi - using jquery.validate.js version 1.5.2 On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote: looks like this issue is caused by the

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-22 Thread Ricardo
This doesn't make any sense. If you're already using jQuery why keep your handler in the HTML? I'll try to help anyway. a ... onclick=showTextNearThisLink(e, 'foobarbaz');.../a function showTextNearThisLink(e, sheez){ e = jQuery.event.fix(window.event || e); // e is your new jQueryized

[jQuery] Re: After tab through menu - it disappears

2009-09-22 Thread Jeremy
The following sample will demonstrate what I mean. ul liSample Item 1/li li ul class=sf-menu lia href=#Menu Item 1/a /li lia href=#Menu Item 2/a /li /ul /li /ul On Sep 21, 11:16 am, Jeremy jmadd...@gmail.com wrote: I

[jQuery] Vertical Text

2009-09-22 Thread a1anm
Is it possible to rotate text so that is displays vertically using jQuery? Thanks!

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-22 Thread WalterGR
On Sep 22, 4:35 pm, Ricardo ricardob...@gmail.com wrote: This doesn't make any sense. If you're already using jQuery why keep your handler in the HTML? Because I need to pass additional information to the event handler in a clean way. (i.e. rather than hacks using various attributes on the

[jQuery] Re: Vertical Text

2009-09-22 Thread Karl Swedberg
On Sep 22, 2009, at 7:39 PM, a1anm wrote: Is it possible to rotate text so that is displays vertically using jQuery? Thanks! You might find this article useful: http://snook.ca/archives/html_and_css/css-text-rotation --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Vertical Text

2009-09-22 Thread a1anm
thanks. this is the method I'm using but it doesn't work in opera. going to try and fix that using jquery... On Sep 22, 7:45 pm, Karl Swedberg k...@englishrules.com wrote: On Sep 22, 2009, at 7:39 PM, a1anm wrote: Is it possible to rotate text so that is displays vertically using

[jQuery] Draggable isn't switched on in cloned div?

2009-09-22 Thread Olav Stetter
Hi everyone, spent the whole day trying to locate the problem here, so I would really appreciate any ideas you might have on this one: We have several modules in some sort pool (actually called pool) and want to drag them into a selection box (auswahl) where we change the CSS class from

[jQuery] jquery/validate and jquery.form not playing well

2009-09-22 Thread bernardo.zun...@gmail.com
Wondering if anyone know why the 2 plugins (validate and form) would be causing a problem? Required fields will not validate when using the form plugin for an ajaxForm, and the form does not validate when clicking submit, will even submit empty. Here is my js code(taken mostly form the examples

[jQuery] ajaxQueue not aborting ajax calls with Autocomplete

2009-09-22 Thread jmunning
Hi all, I am using the bassistance autcomplete plugin version 1.1 along with the bundled ajaxQueue.js file. When text is inputted into the autocomplete, it seems to be keeping the ajax calls open and loading even though they never resolve -- as shown by a loading indicator which is stuck and in

[jQuery] Re: Single page application and jQuery

2009-09-22 Thread Josh Nathanson
Hi Phaedra, Probably, most people don't pay much attention to memory leakage when they are creating applications, or they don't test on IE. A quick scan of the jQuery bug tracker shows a few bug reports that relate to the leakage in IE. It doesn't look like they've been resolved. You might

[jQuery] Re: Way to convert DOM event to jQuery event?

2009-09-22 Thread Pikadude No. 1
FYI, when I need to attach metadata to a non-empty element, I do it with an invisible child element. This results in some extra HTML, but I think that's as elegant as it can get until HTML5 becomes mainstream. style type=text/css .metadata { display: none; } /style a href=#show detailsspan

[jQuery] if opera...... else

2009-09-22 Thread a1anm
Hi, I would like to output the followin content if the browser isn't opera: ul id=navigation li class=homelink onclick=homeSlide()home/li li class=aboutlink onclick=aboutSlide()about/li li

[jQuery] Re: if opera...... else

2009-09-22 Thread MorningZ
While it's recommended to look for features/support more than actual browser type, jQuery.browser is still in the library http://docs.jquery.com/Utilities/jQuery.browser On Sep 22, 9:25 pm, a1anm alanmoor...@gmail.com wrote: Hi, I would like to output the followin content if the browser

[jQuery] Re: if opera...... else

2009-09-22 Thread a1anm
it's a css property so I'm not sure if checking to see if it is supported if possible. The link you posted did the trick though. thanks. On Sep 22, 9:37 pm, MorningZ morni...@gmail.com wrote: While it's recommended to look for features/support more than actual browser type, jQuery.browser is

[jQuery] (Validate)Is it slower to add all rules with rules.add verus by doing it in $(#id).validate({....})?

2009-09-22 Thread chobo2
Hi I have 2 forms with identical validation rules so I am trying to use the same jquery.validate() to cut down on duplicate code and make the code smaller and easier to read. So they only way I can figure out how to do is this by adding everything with the jquery.addRules method. But I am

[jQuery] Re: issue regarding live event

2009-09-22 Thread g...@iec
Hi, i can't put code on success of AJAX call because that method is used at various places. So suggest me how should i make it work without modifying that method. On Sep 22, 9:18 pm, waseem sabjee waseemsab...@gmail.com wrote: hi there i here is a work arround i made up for the live event

[jQuery] Re: issue regarding live event

2009-09-22 Thread waseem sabjee
I would have to see your script in order for me to suggest something to you. On Wed, Sep 23, 2009 at 7:11 AM, g...@iec abhi.pur...@gmail.com wrote: Hi, i can't put code on success of AJAX call because that method is used at various places. So suggest me how should i make it work without