[jQuery] Re: 1.2.5 and 1.2.6 not working at all for me - what am I missing?

2008-05-28 Thread John Resig
Victor: That shouldn't be the case (if you're using noConflict). Note that the code he presented worked with 1.2.3. --John On Wed, May 28, 2008 at 4:41 AM, Victor [EMAIL PROTECTED] wrote: Kape: Just read your post again. You are using prototype. I believe that it conflicts with 1.2.5 and

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread Kelvin Luck
Hi, It looks like you are converting the Date object to a string by adding a space to the start of it. Instead you should use the methods available on the Date object itself. So something like this should work: $('.holdDate').html(selectedDate.asString()); (the asString method is defined

[jQuery] Tablesorter plugin and widthFixed property

2008-05-28 Thread [EMAIL PROTECTED]
Hi folks, I'm playing around with the Tablesorter plugin and I'm a little confused about the widthFixed property. I downloaded and included the Dimensions plugin and set widthFixed to true like so: /* Table Sorter */ $(#mytable).tablesorter({ widthFixed: true, widgets: ['zebra'],

[jQuery] Re: Load specific id on click

2008-05-28 Thread Sid
Load the entire page and then parse it with $(#div_you_want).html(); This will return everything within div_you_want including HTML tags. Use .text() if you need only the text stripped of HTML. Note: Since ur loading the page dynamically, jQuery will not automatically update the DOM, so use a

[jQuery] customizing superfish ?

2008-05-28 Thread Ettiene
Hi guys, I'm new to jquery and have just implemented superfish on a website I'm busy working on. But my manager wants some customization done with regards to positioning of the submenu's (i.e. where they fly out from). I also installed the supposition plugin that helps a bit with the positioning

[jQuery] Re: .length doesn't work in Firefox

2008-05-28 Thread steve_f
You need to use val() as you are looking for the value attribute of the input not the html. var len = content.val().length On May 28, 9:47 am, vladv [EMAIL PROTECTED] wrote: Hello, Have some strange behavior with Firefox, can someone please help me with this? This is the code (without

[jQuery] Opacity Problems in IE 6 and IE 7 with 1.2.5 and 1.2.6

2008-05-28 Thread M_Freeman
Once I upgraded to 1.2.5 and 1.2.6 there seems t be a problem with the way that jQuery sets the opacity filter in IE, specifically for items that on the initial render are 'display:none' At first I thought it was my plugins involved (jqgalviewii , jqmodal, and idtabs) but once I dived into the

[jQuery] Re: Load specific id on click

2008-05-28 Thread IschaGast
I tried something like this and that works: $('#content_main div.weblog_archive li a').click(function() { $('div.article').load(http://ischagast.nl/janhekmanschool/ nieuwsbrief/archief_maand/2008/05/ div.article); return false }); But that url

[jQuery] Selector help needed

2008-05-28 Thread andyGr
Hi All, This is my DOM structure: tr class=child1 td class=titleCellFirst Name:/td td class=fieldCellinput class=inputbox value=John //td /tr tr class=child1 td class=titleCellMiddle Name:/td

[jQuery] Re: Loading help with contextmenu plugin.

2008-05-28 Thread Eric Ongerth
Mauricio, This sounds like a good place to use the livequery plugin: http://docs.jquery.com/Plugins/livequery Its purpose: keeping events properly bound to elements that satisfy a selector even when the elements are loaded later, or loaded dynamically. Good luck. On May 27, 5:47 pm, Mauricio

[jQuery] Re: superfish z-index problem with ie7

2008-05-28 Thread Joel Birch
Hi Vincent, This sounds like the IE z-index bug. Here are a few previous threads from this list which address it. http://groups.google.com/group/jquery-en/browse_thread/thread/826e8157b5fcf6a1/2dffd08fb21309fe?lnk=gstq=ie+z-index+bug+superfish#2dffd08fb21309fe

[jQuery] superfish z-index problem with ie7

2008-05-28 Thread Vincent Majer
Hi, I'm trying to put a superfish menu online, and i have issues with IE 6 and 7.. it's visible on this site : http://www.voyagemotion.com/ but, it's in the members area.. so, i'll try to give the concerned code, here.. i'm using jquery 1.2.3, hoverIntent, and then call superfish.. I've

[jQuery] Query z-index problem in IE6 with 1.2.5 and 1.2.6

2008-05-28 Thread Tony
To reproduce the problem var aa = jQuey(#content).css('z-index'); var bb = (/^\d+$/.test($(#content).css('z-index'))); 1.2.6 FF - aa - auto; bb - false IE6 -aa - 0 ; bb-true 1.2.3 FF - aa - auto; bb - false IE6 -aa - undefined ; bb-false the element div id=content some content here /div in

[jQuery] .length doesn't work in Firefox

2008-05-28 Thread vladv
Hello, Have some strange behavior with Firefox, can someone please help me with this? This is the code (without irrelevant info): var content = $('#TextField'); //this is ASP.NET TextField var len = content.html().length; //same result with text() if(len == 0) { return false; } else {

[jQuery] Re: Display loading image while alternate image loads.

2008-05-28 Thread Richard W
Afterwhich, if you want to check if the image has been downloaded/ cached before displaying it you can use the Image.complete attribute eg: // timer var loadImg = 0; // create image, start caching image var $img = $(img/).attr(src, /img/yourimage.jpg); if (!$img[0].complete) { // show

[jQuery] Re: Grouping Definition list items

2008-05-28 Thread Scott Sauyet
macgregor wrote: I have a survey marked up with a definition list like so: dl [ ... ] dtQuestion 2/dt ddAnswer 1input type=radio //dd ddAnswer 2input type=radio //dd dd class=commentsAnswer 3input type=radio //dd dd class=feedback

[jQuery] How to get element's number of position, mean eq()

2008-05-28 Thread mtest
Hello again:) My qгestion is: I have several attention block: div class=Attention.../div And there are button close in this blocks How I can get number, in which attention block clicked on the button? $('.Attention .Close').bind(click, function(){ alert($(this).eq()); }); How I can get

[jQuery] Safari unable to get width and height of image.

2008-05-28 Thread rbjaanes
Trying to use elem.height(); and elem.width(). Safari: 3.1.1 jQuery: 1.2.6 Element is set as draggable ... might have something to do with it.

[jQuery] Re: Selector help needed

2008-05-28 Thread PeterAce
did you try $(.child1 input[value=Gary])? On May 28, 11:51 am, andyGr [EMAIL PROTECTED] wrote: Hi All, This is my DOM structure:         tr class=child1                         td class=titleCellFirst Name:/td                         td class=fieldCellinput class=inputbox value=John

[jQuery] Re: Tablesorter plugin and widthFixed property

2008-05-28 Thread [EMAIL PROTECTED]
Nevermind, I used CSS width property to set the width of the table cell. But, I'm still confused as to what widthFixed is supposed to do. Anyone have any explanation? Thanks! On May 28, 3:12 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi folks, I'm playing around with the Tablesorter

[jQuery] How to get element's number of position, mean eq()

2008-05-28 Thread mtest
Hello again:) My qгestion is: I have several attention block: div class=Attention.../div And there are button close in this blocks How I can get number, in which attention block clicked on the button? $('.Attention .Close').bind(click, function(){ alert($(this).eq()); }); How I can get

[jQuery] Detecting pressed keys (not keypress, but if it's already pressed)

2008-05-28 Thread Charles Sexton
Hi guys and girls, I don't know if this is possible, but I'm aiming to detect whether or not a key is pressed, as in the key is already pressed when the page loads. My application changes the page when Ctrl+arrow is pressed, but without being able to detect whether Ctrl is still pressed when

[jQuery] What is the white area area behind text using sIFR on jQuery Media Plugin?

2008-05-28 Thread zeckdude
Hello Everybody, I am using the jQuery Media Plugin and I am using a .swf font file that I made via an online generator. When I use the script supplied at http://www.malsup.com/jquery/media/sifr.html http://www.malsup.com/jquery/media/sifr.html , I get a white area behind the sIFR text and I

[jQuery] Re: Selector help needed

2008-05-28 Thread andyGr
I have fixed it as $j('tr.child1 td:eq(1) input') The only question is how to select ALL inputboxes valies of tr.child1. Now it selects only the 1st tr.child. Any ideas? -- View this message in context: http://www.nabble.com/Selector-help-needed-tp17508515s27240p17510366.html Sent from the

[jQuery] Re: What is the white area area behind text using sIFR on jQuery Media Plugin?

2008-05-28 Thread malsup
I am using the jQuery Media Plugin and I am using a .swf font file that I made via an online generator. When I use the script supplied athttp://www.malsup.com/jquery/media/sifr.htmlhttp://www.malsup.com/jquery/media/sifr.html, I get a white area behind the sIFR text and I cannot control

[jQuery] Re: ajax and XML - issue with file extensions?

2008-05-28 Thread hagalaz
Ariel was right. I changed the headers sent by php to txt/xml and Ajax() works.

[jQuery] Re: How to get element's number of position, mean eq()

2008-05-28 Thread rbjaanes
I believe you can use $('.Attention .Close').index(this); But if you are trying to retrieve to object you could ... $('.Attention .Close').click(function(){ alert $(this); }); I might be wrong though :) On May 28, 1:49 pm, mtest [EMAIL PROTECTED] wrote: Hello again:) My qгestion is: I

[jQuery] [Tooltp 1.2] above tooltip: offset according to dimensions?

2008-05-28 Thread binocle
Hi all, First, please excuse my english;-) I am completely new to javascript and jquiery. I discovered all this last week and I am trying to use some cool stuff in a new website project. The tooltip plugin fits perfectly to the project's design and you could see it in action here:

[jQuery] Re: 1.2.5 and 1.2.6 not working at all for me - what am I missing?

2008-05-28 Thread kape
Thanks for all the replies. I appreciate when a support forum is actually useful. Believe it or not, I think Victor is right, 1.2.6 definitely doesn't work with prototype. In particular something in prototype's effects.js library is causing jQuery to act up. This is the test I performed:

[jQuery] mark a td when left mouse button is pressed

2008-05-28 Thread melwood
Hi, how can i mark/unmark (toggleClass) a td when: a) I press the left mouse button b) Press the left mouse button and move over all tds (fast selection) a) is not so much of a problem, but how would I realize b) and in a way it is not interffering with a) melwood

[jQuery] Versions 1.2.5 and 1.2.6 not working with prototype

2008-05-28 Thread kape
The latest releases of jQuery, i.e. 1.2.5 and 1.2.6 do not work in conjunction with prototype. I particular, the effects.js library of prototype and something in jQuery are not compatible. Below is an example of how to reproduce: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

[jQuery] Re: Help learning...

2008-05-28 Thread Aaron
ok here is the html: html LINK REL=StyleSheet HREF=cpro.css TYPE=text/css MEDIA=all script src=c:\chillenvillenstuff\jquery-1.2.3 type='text/ javascript'/script script src = c:\chillenvillenstuff\menu.js type=text/javascript/ script title Users profile/title div id=imagebd img id=imagebd

[jQuery] Re: Selector help needed

2008-05-28 Thread Ariel Flesler
$('tr.child1 input.inputbox') or just $('tr.child1 input:text') The last allows you to put aside the classes if you don't need them for something else. And actually, if you have no other inputs.. then you can remove the .inputbox / :text parts. You should add type=text to the inputs. Cheers

[jQuery] Re: jQuery History Plugin

2008-05-28 Thread timothytoe
Ajax History doesn't seem to be working for me. I'm including the file (which I've thrown into my jQuery directory... script type=text/javascript src=jQuery/ jquery.history_remote.js/script And I've initialized the history (right after document.ready)...

[jQuery] Re: Display loading image while alternate image loads.

2008-05-28 Thread Ariel Flesler
I think this is the easiest tool you can use. jQuery.Preload: http://flesler.blogspot.com/2008/01/jquerypreload.html It has all you need. You send the img tag to the preloader and using the options 'find' and 'replace' you generate the replacement url. Using the option 'placeholder' you to set

[jQuery] Re: jQuery Not Adding Class/Attributes in IE

2008-05-28 Thread Ariel Flesler
I'm with Karl. I remember IE dying on me when I tried to set an expando called 'all', go figure... So.. use another attribute, jQuery.data or try setAttribute. jQuery('ul.nav a').addClass('scrollover').each(function(){ this.setAttribute( 'type','scrollover' ); }); Not sure whether it will

[jQuery] Re: Help learning...

2008-05-28 Thread mdrisser
Can you post a link to the page? Just taking a quick look at your code I noticed that the extension is missing off of your call to the jQuery library: script src=c:\chillenvillenstuff\jquery-1.2.3 type='text/ javascript'/script I realize that on Windows the extensions are hidden so try: script

[jQuery] jQuery UI Tutorials

2008-05-28 Thread mdrisser
Hi all, I just posted the second part in my jQuery UI Tutorials, this one is on the tabs widget, let me know what you think. I value your feedback. http://mdrisser.r1designs.net/blog

[jQuery] Re: Versions 1.2.5 and 1.2.6 not working with prototype

2008-05-28 Thread kape
I upgraded prototype from 1.5.1.1 to 1.6.0.2 and effects, builder, and dragdrop from 1.7.1b3 to 1.8.1 and everything seems to be working now. So if anyone is experiencing the same problem, upgrade to the latest versions of everything. On May 28, 11:21 am, kape [EMAIL PROTECTED] wrote: The

[jQuery] Re: 1.2.5 and 1.2.6 not working at all for me - what am I missing?

2008-05-28 Thread kape
I upgraded prototype from 1.5.1.1 to 1.6.0.2 and effects, builder, and dragdrop from 1.7.1b3 to 1.8.1 and everything seems to be working now. So if anyone is experiencing the same problem, upgrade to the latest versions of everything. On May 28, 9:58 am, kape [EMAIL PROTECTED] wrote: Thanks

[jQuery] jqModal and dynamic Ajax

2008-05-28 Thread Chag
Hi, I have a page with a dropdown list (select) and when I select an element in the list, I'd like a modal window to open with the datas related to the element I selected. To do so, I tried 2 things : 1) Classic method : $('#unitInfos') .jqDrag('.jqDrag')

[jQuery] Re: :contains ... troubling behavior

2008-05-28 Thread EuGeNe
it does the job but I still find the behavior unexpected :P thanks EuGeNe -- http://www.3kwa.com On May 28, 12:27 am, Karl Swedberg [EMAIL PROTECTED] wrote: Hi there, I suspect that the problem has to do with putting an HTML string   inside thecontainsparens, when it is supposed to take

[jQuery] Re: Versions 1.2.5 and 1.2.6 not working with prototype

2008-05-28 Thread Rey Bango
Kape, I created a test using your exact code to check it out using the most recent version of Prototype and Scriptaculous and it appears to work correctly even with effect.js loaded: http://intoajax.com/pttest/index-s.htm I tried both the version of PT from the Prototypejs.org and also the

[jQuery] Re: 1.2.5 and 1.2.6 not working at all for me - what am I missing?

2008-05-28 Thread Rey Bango
Thanks for letting us know kape. I had just posted a demo using the the latest jQuery, PT Scriptaculous libs and everything worked. Rey.. kape wrote: I upgraded prototype from 1.5.1.1 to 1.6.0.2 and effects, builder, and dragdrop from 1.7.1b3 to 1.8.1 and everything seems to be working

[jQuery] submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread cfdvlpr
I'd like to use an image to submit a form. Is there an easy way to do this using jQuery?

[jQuery] Re: Shadow jQUery

2008-05-28 Thread owen
Is this obsolete? http://docs.jquery.com/UI/Shadow -- Owen

[jQuery] Animate() background colours

2008-05-28 Thread fambi
It looks like animate() doesn't take too well to background colours. Does anyone know a way of animating an objects colour from one to another?

[jQuery] Re: Safari unable to get width and height of image.

2008-05-28 Thread rbjaanes
Seems as if Safari doesn't know the required info before the image is done loading. The functions work fine in debug console, and later events. The image properties are NOT set in styles or anything. That might be part of the issue, but I can't do more testing atm. On May 28, 1:32 pm, rbjaanes

[jQuery] corners plugin works in IE but fails in Firefox

2008-05-28 Thread JP
Can somebody help with why this example works in IE 7 but fails to show corners in Firefox 2 ? http://paste.pocoo.org/show/55276/

[jQuery] Re: Safari unable to get width and height of image.

2008-05-28 Thread Ariel Flesler
You're calling the methods inside a document.ready, right ? -- Ariel Flesler http://flesler.blogspot.com On 28 mayo, 13:47, rbjaanes [EMAIL PROTECTED] wrote: Seems as if Safari doesn't know the required info before the image is done loading. The functions work fine in debug console, and

[jQuery] Re: Shadow jQUery

2008-05-28 Thread Glen Lipka
The demo doesn't seem to work. Not sure. Glen On Wed, May 28, 2008 at 9:35 AM, owen [EMAIL PROTECTED] wrote: Is this obsolete? http://docs.jquery.com/UI/Shadow -- Owen

[jQuery] Re: submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread cfdvlpr
Here's what I figured out so far to code this that seems to work. Anyone see a problem with this? $('img#button').click(function() { var queryparam1 = $('#input1').val(); var queryparam2 = $('#input2').val(); window.location= '/processFormSubmission.cfm?

[jQuery] Re: jQuery Not Adding Class/Attributes in IE

2008-05-28 Thread Chris P
I'm with Karl. I remember IE dying on me when I tried to set an expando called 'all', go figure... So.. use another attribute, jQuery.data or try setAttribute. Not sure whether it will fail as well or not. Sorry for the spamming of the list. I actually figured out why it didn't work. The

[jQuery] Re: corners plugin works in IE but fails in Firefox

2008-05-28 Thread Angel Marquez
ALSO when I use the corners plugin and try to re-use the div the effect only applies to the first div in the chain. Any Idea on how to apply the rounded corners to multiple div's of the same id or class? best, a On Wed, May 28, 2008 at 10:15 AM, JP [EMAIL PROTECTED] wrote: Can somebody help

[jQuery] Re: submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread Pyrolupus
On May 28, 12:45 pm, cfdvlpr [EMAIL PROTECTED] wrote: I'd like to use an image to submit a form. Is there an easy way to do this using jQuery? Is there some reason you can't use input type=image /? Alternatively, img id=submitimg src=image.png / ::style:: #submitimg { cursor: pointer; }

[jQuery] Re: submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread malsup
Here's what I figured out so far to code this that seems to work. Anyone see a problem with this? $('img#button').click(function() {   var queryparam1 = $('#input1').val();   var queryparam2 = $('#input2').val();   window.location= '/processFormSubmission.cfm?

[jQuery] Re: corners plugin works in IE but fails in Firefox

2008-05-28 Thread malsup
Can somebody help with why this example works in IE 7 but fails to show corners in Firefox  2 ? http://paste.pocoo.org/show/55276/ That page works fine for me in FF2 and FF3 (Windows).

[jQuery] Re: corners plugin works in IE but fails in Firefox

2008-05-28 Thread malsup
when I use the corners plugin and try to re-use the div the effect only applies to the first div in the chain. Any Idea on how to apply the rounded corners to multiple div's of the same id or class? Corners work on the chain. See demo: http://www.malsup.com/jquery/corner/ This one line

[jQuery] Re: corners plugin works in IE but fails in Firefox

2008-05-28 Thread Angel Marquez
yes, I saw this example... I'm new to JQ and wasn't sure on how to remove the parameter from the p tag and feed it from the class. wait..maybe I just answered my own question... THE CHAIN!

[jQuery] Re: Loading help with contextmenu plugin.

2008-05-28 Thread Ken Gregg
Use livequery. I attach it to each row in a flexigrid ike this: $('tbody tr').livequery(function() { $(this).contextMenu('ctxMenu', { bindings: { 'map': function(t) { mlsnumber = t.id.split(_); href='/map_update.php?mlsnumber=' + mlsnumber[1]; $.openWin(href,

[jQuery] Entire jdMenu Hides / Disappears when menu item clicked

2008-05-28 Thread [EMAIL PROTECTED]
I am using jdMenu 1.4.1 with the latest jQuery. I just built a normal menu with some custom css, but no custom javascript. Everything is default as far as I know. The problem I am having is that whenever I click a link that does not have a sub-menu, the entire menu (main jd_menu UL)

[jQuery] Re: Animate() background colours

2008-05-28 Thread Alexandre Plennevaux
sure, use the color plugin: http://plugins.jquery.com/project/color regards, Alexandre Plennevaux *LAb[au]* *lab*oratory for *a*rchitecture and *u*rbanism http://www.lab-au.com Ph: +32 2 219 65 55 104 rue de Laeken 1000 Brussels Belgium On Wed, May 28, 2008 at 6:45 PM, fambi [EMAIL

[jQuery] Re: submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread cfdvlpr
Hey, you're absolutely right. I made this all way more complicated than it had to be. Thank you. On May 28, 11:16 am, malsup [EMAIL PROTECTED] wrote: If your image is within the form you don't need any scripting, just use markup like this: input type=image src=submit.gif / Mike

[jQuery] Re: Load specific id on click

2008-05-28 Thread IschaGast
At the moment this is my code: $('#content_main div.weblog_archive li a').click(function() { $('div class=weblog_articles_ajax/ div').insertAfter('div.article').load(this.href); $('div.weblog_articles_ajax div.article').livequery(function() { $(this).html();

[jQuery] jCarousel - Couple of 'External Controls' questions

2008-05-28 Thread [EMAIL PROTECTED]
Hi there, I've set up an example page here: http://www.sockandpow.com/Q2/media.html My questions are as follows: 1. Is there a way to customize how jcarousel references the external controls? i.e: I'd prefer not to have 1 Print :: 2 Broadcast :: 3 M.R.M etcetera. For example, can we use

[jQuery] Re: Case Insensitive Selector

2008-05-28 Thread Rafael Soares
OK, I got it, the only problem is that the value comes from a variable. Is there any way to use a variable as a regex? On Thu, May 22, 2008 at 12:28 PM, Scott Sauyet [EMAIL PROTECTED] wrote: Karl Swedberg wrote: I agree that a filter function is probably the way to go, but a regular

[jQuery] Superfish horizontal tiered menu question

2008-05-28 Thread strazi
First of all, excellent work on superfish, it really adds a lot to the usability to drop down menus. My question is regarding a horizontal drop down menu. I was wondering if there was any code adjustment needed to return the user to the current menu item when multiple tiers are involved. The

[jQuery] Re: Help learning...

2008-05-28 Thread Aaron
Ok I see, I added .js and looks like it's semi working, the list that I have in the html file before would show/display when the page loads but now after changing that error .js but still when my mouse moves over the image I still don't see the list fade in or anything. I can't really put

[jQuery] jquery compatibility test 01

2008-05-28 Thread arden liu
Hi, Today, I did some tests of compatibility among IE 7.0.5730.11, Firefox 2.0.0.14, Opera 9.27, Safari 3.1.1 The following JSP(includes Javascrpt) works fine under all these browser. Then I used JQuery to implement the same function, it works fine under IE/FF/Safari The submit function does not

[jQuery] Re: Grouping Definition list items

2008-05-28 Thread macgregor
Thanks, that worked perfectly. On May 28, 5:11 am, Scott Sauyet [EMAIL PROTECTED] wrote: macgregor wrote: I have a survey marked up with a definition list like so: dl [ ... ] dtQuestion 2/dt ddAnswer 1input type=radio //dd ddAnswer 2input type=radio //dd

[jQuery] Re: Case Insensitive Selector

2008-05-28 Thread Scott Sauyet
Rafael Soares wrote: OK, I got it, the only problem is that the value comes from a variable. Is there any way to use a variable as a regex? Yes. Something like this should work: $('something').filter(function() { return (new RegExp(value, i)).test($(this).attr('attribute'));

[jQuery] innerFade and delay? or Cycle and drupal 5.x ?

2008-05-28 Thread Mr.Morton
Hi, I have a question, i'm using innerFade (http://medienfreunde.com/lab/ innerfade/) to fade a number of images, I would actually prefer to use Cycle (http://www.malsup.com/jquery/cycle/) but for some reason it does not work with Drupal 5??. Anyway innerFade do work, but I need to specify a

[jQuery] Re: removeAttr for rowspan

2008-05-28 Thread kape
I encountered the same problem when I upgraded to 1.2.6 and using rowspan instead of rowSpan fixed it. I guess it was a bug fix. On May 27, 1:27 pm, snobo [EMAIL PROTECTED] wrote: Since upgrading to 1.2.5 (the same applies to1.2.6), an attempt to $ ('... td').removeAttr('rowSpan') triggers an

[jQuery] Re: submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread Pyrolupus
Why does it take four hours for my replies to show up? :( On May 28, 1:31 pm, Pyrolupus [EMAIL PROTECTED] wrote: On May 28, 12:45 pm, cfdvlpr [EMAIL PROTECTED] wrote: I'd like to use an image to submit a form.  Is there an easy way to do this using jQuery? Is there some reason you can't

[jQuery] Jquery browse dialog

2008-05-28 Thread Fred
Hi guys, I have to open a browse dialog window that allows selection of multiple files, basically for selection of multiple files to upload. Any ideas? Thanks.

[jQuery] Re: jquery compatibility test 01

2008-05-28 Thread Ariel Flesler
Reducing that to the real situation... you're setting a number as value to a text field. That did cause troubles (for selects) but was fixed on 1.2.6. I tried this (setting the val to a text field) and worked well. Maybe something else is failing ? try to remove all the irrelevant code and

[jQuery] Do something, ONLY if parent has children

2008-05-28 Thread hubbs
I am wondering how I could check if a parent element has children, and it it does not, I would like to hide the parent. I was looking at something like the following, but I am not sure how to get it to work how I want: $(#main *).hide;

[jQuery] Re: Do something, ONLY if parent has children

2008-05-28 Thread Michael Geary
I would do it by checking the DOM directly, just because it's reasonably straightforward and very efficient: var $main = $('#main'); if( $main[0] $main[0].firstChild ) $main.hide(); -Mike I am wondering how I could check if a parent element has children, and it it does not, I would

[jQuery] Re: innerFade and delay? or Cycle and drupal 5.x ?

2008-05-28 Thread malsup
I have a question, i'm using innerFade (http://medienfreunde.com/lab/ innerfade/) to fade a number of images, I would actually prefer to use Cycle (http://www.malsup.com/jquery/cycle/) but for some reason it does not work with Drupal 5??. Anyway innerFade do work, but I need to specify a

[jQuery] Re: innerFade and delay? or Cycle and drupal 5.x ?

2008-05-28 Thread jonathan
On May 29, 9:20 am, Mr.Morton [EMAIL PROTECTED] wrote: Does anybody have Cycle running with Drupal/Jquery ? I've got Jquery cycle working on Drupal 5.7, using: Drupal 5.7 Jquery Update module 5.x-1.0 jquery.cycle 2.20 It's working fine using the Fade transition and paging on Firefox and

[jQuery] Re: innerFade and delay? or Cycle and drupal 5.x ?

2008-05-28 Thread malsup
I've noticed that IE6 fails to render the demo athttp://www.malsup.com/jquery/cycle/pager.html The first image appears but no pager, and the javascript error is line 30 char 30 'console' is undefined Jonathan, Thanks for pointing that out. I had some Firebug debug code in there! :-)

[jQuery] Re: :contains ... troubling behavior

2008-05-28 Thread Dave Methvin
it does the job but I still find the behavior unexpected :P How could the documentation be changed to clarify the function so that you would expect its behavior? http://docs.jquery.com/Selectors/contains#text

[jQuery] [Tutorial] ColdFusion, jQuery, And AJAX File Upload Demo

2008-05-28 Thread Rey Bango
Ben Nadel has come up with a nice blog post on how to use jQuery ColdFusion to do a file upload. http://www.bennadel.com/index.cfm?dax=blog:1244.view Rey

[jQuery] Re: Do something, ONLY if parent has children

2008-05-28 Thread Hamish Campbell
You can do it with selectors: $('#main:not(:has(*))').hide(); Ie - 'select the element with the id main that does _not_ contain any other element'. Note that this is different from $('#main:empty') which includes text nodes. On May 29, 12:10 pm, Michael Geary [EMAIL PROTECTED] wrote: I would

[jQuery] Re: Do something, ONLY if parent has children

2008-05-28 Thread hubbs
Thanks Mike, Could you explain your if statement for me, what does the do? I am still learning js and jQuery. :) On May 28, 5:10 pm, Michael Geary [EMAIL PROTECTED] wrote: I would do it by checking the DOM directly, just because it's reasonably straightforward and very efficient:     var

[jQuery] Re: Do something, ONLY if parent has children

2008-05-28 Thread hubbs
Hey guys, I realized that I misstated my problem. I realized that the item I want to check for is NOT a child, but the element that comes AFTER a specific element. So, I have a list of specific elements, and if an element with a specific class does not come after the first element, hide the

[jQuery] Re: Do something, ONLY if parent has children

2008-05-28 Thread Hamish Campbell
Don't forget to check the jQuery documentation: http://docs.jquery.com/ The selector you want is 'prev + next': http://docs.jquery.com/Selectors/next#prevnext Eg, if I wanted to highlight in blue every paragraph object that comes after a h1 heading: $('h1 + p').css('color', 'blue'); On May

[jQuery] Re: Do something, ONLY if parent has children

2008-05-28 Thread hubbs
Thank you. So, if I wanted to check to see if there even were any p tags after an h1 tag, and I wanted to hide the h1 tag, I would do the following? $('h1 + p:not(:has(*))').hide(); On May 28, 7:22 pm, Hamish Campbell [EMAIL PROTECTED] wrote: Don't forget to check the jQuery

[jQuery] jQGrid Sample in Classic ASP

2008-05-28 Thread Nimrod
Hi, I found jQGrid very nice and useful. Can you provide samples in Classic ASP? Thanks, Nimrod

[jQuery] Opera IE Issue

2008-05-28 Thread Keri Henare
Opera 9.27 throws up this error: Event thread: click Error: name: TypeError message: Statement on line 80: Type mismatch (usually a non-object value used where an object is required) Backtrace: Line 81 of linked script file://localhost/Users/kerihenare/Sites/adhub2/skin/js/functions.js

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread pedalpete
that's great kevin, Thank you. i didn't realize the selectedDate wasn't a string, i thought if i put var x=xyz, that makes it a string. I'm still fairly new to programming and learning lots. Thanks for your help, I hope I understood that correctly. Pete