[jQuery] Re: .html(val) not working properly in IE6 - suggestions?

2008-02-12 Thread Klaus Hartl
On Feb 13, 2:03 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > It's not really a question of IE6 liking that code or not. It's invalid > HTML, so all bets are off. > > The real thing to mark for future reference should be: > > http://validator.w3.org/ > > When things are acting strange, run your

[jQuery] Re: OT: FCK editor now double spaces with enter key?

2008-02-12 Thread andrea varnier
On Feb 12, 8:32 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > We've been using FCK editor for a while now. It used to create a single > return when hitting the enter button. We recently upgraded to a newer > version (2.5 I think) and now it creates a double space instead. shift + enter = singl

[jQuery] Re: how to set the value of an input after selecting an option in a list

2008-02-12 Thread andrea varnier
On Feb 12, 10:13 pm, bractar <[EMAIL PROTECTED]> wrote: > I want to put the result of 'index.php/get/s_document_loadFields/' in the > input field  $('#newDoc_name') after selecting a value in the list > $('#newDoc_select') > > The following code doesn't work for me >  $('#newDoc_name').load('index

[jQuery] Re: Uploader 0.9 beta

2008-02-12 Thread Gilles (Webunity)
I'll set up a fourth demo, with total progressbar, also i'll try to visualise what is going on, on each page by creating a flow diagram... Oke?

[jQuery] [treeview] How to force a branch open.

2008-02-12 Thread sozzi
I love the plugin and it does its job perfectly. Especially the persist: "location" trigger makes my life so much easier. But I don't quite know how to open a branch in reverse. I.e. I use it for navigation and it works all the way down to the category level using persist:location. But on the sing

[jQuery] VS 2008 HotFix improves jQuery intellisense

2008-02-12 Thread Jeffrey Kretz
http://weblogs.asp.net/scottgu/archive/2008/02/08/vs-2008-web-development-ho t-fix-roll-up-available.aspx For those of you who would be interested, the javascript intellisense tool in VS 2008 (which was previously not compatible with jQuery AT ALL) has been hotfixed (along with some other items

[jQuery] Re: Release: Validation plugin 1.2.1

2008-02-12 Thread jason
Thanks, Jörn, this sounds fantastic! - jason On Feb 12, 3:16 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > The 1.2.1 release for the validation plugin > (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) is out! > Among bugfixes related to remote validation and message display

[jQuery] Re: OT: FCK editor now double spaces with enter key?

2008-02-12 Thread Jack Killpatrick
I haven't used that rev, but happen to be looking at an older rev and there's a config setting for UseBROnCarriageReturn. Maybe that could get you going down the right path. - Jack Andy Matthews wrote: We've been using FCK editor for a while now. It used to create a single return when hitti

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-12 Thread Josh Nathanson
Huh...well even when I look at that page in FF the positioning is off...the div pops up off the top of the screen. What I'd do for starters is strip off the code where you are positioning the clockpick div manually, that is this part: > var posTop = event.pageY+340; > var posLeft = event.p

[jQuery] Re: .html(val) not working properly in IE6 - suggestions?

2008-02-12 Thread Michael Geary
It's not really a question of IE6 liking that code or not. It's invalid HTML, so all bets are off. The real thing to mark for future reference should be: http://validator.w3.org/ When things are acting strange, run your code through the validator. Valid HTML will help you get more consistent re

[jQuery] Re: Selecting Descendents of This

2008-02-12 Thread Karl Rudd
Remember that, inside an event handler function (like 'click'), "this" is a _raw_ DOM node. To select the descendants you need to "wrap" it in a jQuery object: $(".treeHeader").click(function(){ $(this).find("ul").toggle(); }); Or, in this case, you can use the raw "this" as the "context":

[jQuery] Trouble applying .show() to descendants

2008-02-12 Thread Nick P
I'm trying to use the show function to display elements in a jQuery object that contains a block of code I cloned. I'm having trouble getting the show function to apply to all the descendants of the code in the object. It's probably better if I show an example than try to describe everything: T

[jQuery] Re: .html(val) not working properly in IE6 - suggestions?

2008-02-12 Thread Slantedview
Thanks for the response, though unfortunately it didn't work. So, after another 2 hours of debugging I found what the problem was. I had a line in my HTML that apparently IE6 didn't like, and was preventing IE6 from properly wiping out my div tag: That line wasn't even in my div tag, just some

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-12 Thread pedalpete
Hi Josh, I do have the latest release. I can't point you to my actual page with the error as it is behind a login, but i've put up a bunch of similar code and it is showing the same behavior. Here's a link. http://zifimusic.com/testing/clockpick-ie.php I find it incredibly strange that the aler

[jQuery] Re: Moving DIVs up/down

2008-02-12 Thread Hamish Campbell
You can use 'insertBefore' to do this very easily. For example: $(document).ready(function(){ $('.smallDiv').click(function(){ $(this).insertBefore($(this).prev()); }); }); This will swap a 'smallDiv' element up by one when you click it. If it is already the first one, $(this)

[jQuery] Selecting Descendents of This

2008-02-12 Thread studiobl
I'm having trouble selecting descendents of "this" So, this works to initially hide uls: $(".treeHeader ul").toggle(); But this doesn't work to toggle them: $(".treeHeader").click(function(){ $(this +" ul").toggle(); });

[jQuery] Re: controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-12 Thread Sean Ronan (Activepixels)
Hi Jannik, How would your example be adapted to use mouseovers and then hide the div once the mouse is off either the li or the div. I posted a question earlier today "show/hide flyout menu panel" and it seems your approach gets me half way there. The application is a flyout menu - using divs t

[jQuery] Re: Updated API browser

2008-02-12 Thread paulj
Great work Remy! On 12 Feb, 22:56, Rey Bango <[EMAIL PROTECTED]> wrote: > Remy, > > Can you make this downloadable so it can be run locally? > > Rey > > >>> Hi all, > >>> Ever since jQuery 1.1.3 the old API browser hasn't been updated due to > >>> incompatibilities in the documentation (though th

[jQuery] Re: Sortserialize returns nothing!

2008-02-12 Thread bjorsq
I'm using interface 1.2 with jquery 1.2.2, and this is what works for me: $(document).ready(function(){ $("#myList").Sortable({ accept : "sortableitem", onStop : function(e, ui) { serialize("myList"); } }); }); function serialize(s) {

[jQuery] Re: Cannot trigger mouseout for function bound by hover.

2008-02-12 Thread Gerlando
Please disregard this post. I had an obvious error in logic elsewhere, I must have been zoning :) On Feb 12, 1:46 pm, Gerlando <[EMAIL PROTECTED]> wrote: > I'm using hover to bind methods to a DOM object. Triggering the > mouseover event works as expected, but when using mouseout/mouseleave > not

[jQuery] jQuery Accordion Plugin

2008-02-12 Thread Andrej
Hi, I am having some issues implementing the Accordion plugin with tertiary menus from: http://bassistance.de/jquery-plugins/jquery-plugin-accordion/ My issues are, mainly to do with the hidden (closed) ul's inheriting the height of the previously visible (open) ul's. This seems like a bug in A

[jQuery] Re: A Very jQuery App

2008-02-12 Thread John Resig
Looks great, Brice - keep up the great work! --John On Feb 12, 2008 6:38 PM, Brice Burgess <[EMAIL PROTECTED]> wrote: > > I thought I'd write in to let the community know that there's an open > source mailing application whose interface is *heavily* based on jQuery. > > Nearly all JavaScript was

[jQuery] Re: A Very jQuery App

2008-02-12 Thread Alexandre Plennevaux
hey Brice! I didn't know you were behind poMMo ! i've been following its dev since a few months now but didn't catch up the latest updates. It's improving a lot! On Feb 13, 2008 12:38 AM, Brice Burgess <[EMAIL PROTECTED]> wrote: > > I thought I'd write in to let the community know that there's an

[jQuery] A Very jQuery App

2008-02-12 Thread Brice Burgess
I thought I'd write in to let the community know that there's an open source mailing application whose interface is *heavily* based on jQuery. Nearly all JavaScript was refactored in the PR16 release of poMMo following an upgrade to jQuery 1.2. I hope the resulting source serves as a useful

[jQuery] Re: div index

2008-02-12 Thread Feijó
I'm working with divs When a image is clicked, I clone the first criteria, clear it, and append to the main div. It goes to the bottom, its ok so far, no problem. But, in some criteria, if in a combobox is selected a specific item, it will trigger the above clone code, know it need to insert b

[jQuery] Moving DIVs up/down

2008-02-12 Thread [EMAIL PROTECTED]
Hi, Let's say I have a large DIV with class "largeDiv" and inside it, a bunch of smaller DIVs, each with its own unique ID and class "smallDiv". Given an arbitrary DIV with class "smallDiv", if I want it to switch places with the DIV immediately above it, how do I achieve the switch? Keep in mi

[jQuery] Re: Determine if mouse is over a specific element

2008-02-12 Thread Smith, Allex
$('#element').mouseover(function(){ alert('Hover!'); }); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of debussy007 Sent: Tuesday, February 12, 2008 3:13 PM To: jquery-en@googlegroups.com Subject: [jQuery] Determine if mouse is over a spe

[jQuery] Re: Determine if mouse is over a specific element

2008-02-12 Thread Alexandre Plennevaux
Hi debussy007, see the tutorials section on events bubbling: http://docs.jquery.com/Tutorials:AJAX_and_Events example: $(document).ready(function() { $('body').click(function(event) { if ($(event.target).is('h3')) { $(event.target).toggleClass('highlighted'); } }); }); On Feb 13

[jQuery] Determine if mouse is over a specific element

2008-02-12 Thread debussy007
Hi, is it possible to know wether the mouse is over a specific element or not ? Thank you for any help ! :thinking: -- View this message in context: http://www.nabble.com/Determine-if-mouse-is-over-a-specific-element-tp15445464s27240p15445464.html Sent from the jQuery General Discussion mai

[jQuery] Re: Updated API browser

2008-02-12 Thread Rey Bango
Remy, Can you make this downloadable so it can be run locally? Rey Hi all, Ever since jQuery 1.1.3 the old API browser hasn't been updated due to incompatibilities in the documentation (though that's mostly assumptions). Although the new docs is comprehensive, I've always liked the quick acc

[jQuery] Re: jQuery Field Plug-in - Ajax Post Data

2008-02-12 Thread Dan G. Switzer, II
Mike, >Thanks a lot. It worked perfectly. >I was trying something similar without the eval: >data: {mydata}, > >...but that errored too. I guess because of the { }. I assumed >it was always needed. Probably because I don't really know what >it's used for. The {} notation is creating a structure.

[jQuery] Re: "Feed" history/remote

2008-02-12 Thread Klaus Hartl
Hi Frizzle, I'm sorry to say that stuff like that is not supported... --Klaus On Feb 12, 8:20 pm, frizzle <[EMAIL PROTECTED]> wrote: > Hi there, > > I was wondering if it's possible to directly feed History/Remote: > say the hash is > >     #/this_dir/another_dir/ > > Then i'd like to load > >

[jQuery] Re: Counting DIVs with class "x" within a larger DIV

2008-02-12 Thread Karl Rudd
For all children (including grandchildren): $('#data .x').length For just children: $('#data > .x').length Karl Rudd On Feb 13, 2008 9:07 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Sure this is simple, still trying to get a handle on the basics of > JQuery. Given a

[jQuery] Re: Counting DIVs with class "x" within a larger DIV

2008-02-12 Thread Erik Beeson
Untested, but should work: $('#data .x').length --Erik On 2/12/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > Sure this is simple, still trying to get a handle on the basics of > JQuery. Given a DIV with id = "data", how would I count the number of > DIVs with class = "x", withi

[jQuery] Counting DIVs with class "x" within a larger DIV

2008-02-12 Thread [EMAIL PROTECTED]
Hi, Sure this is simple, still trying to get a handle on the basics of JQuery. Given a DIV with id = "data", how would I count the number of DIVs with class = "x", within the larger DIV "data"? Thanks, - Dave

[jQuery] Re: clock pick in ajax loaded form - ie error

2008-02-12 Thread Josh Nathanson
Do you have the latest release? You will want to get 1.2.1. I think there was an IE issue in earlier releases. If you could post a link as well that would be helpful. -- Josh - Original Message - From: "pedalpete" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, Februa

[jQuery] Cannot trigger mouseout for function bound by hover.

2008-02-12 Thread Gerlando
I'm using hover to bind methods to a DOM object. Triggering the mouseover event works as expected, but when using mouseout/mouseleave nothing happens. What am I doing wrong? newRollHandler = new rollHandler(this); $(this).hover(newRollHandler.over,newRollHandler.off); $(this).trigger("mouseover"

[jQuery] Re: jQuery Field Plug-in - Ajax Post Data

2008-02-12 Thread MikeP
Dan, Thanks a lot. It worked perfectly. I was trying something similar without the eval: data: {mydata}, ...but that errored too. I guess because of the { }. I assumed it was always needed. Probably because I don't really know what it's used for. Thanks, Mike

[jQuery] jQuery Image Swap Works in FF, not IE

2008-02-12 Thread Derek M.
Hi all, I have a little jQuery function that toggles a window on click and changes the background image of a span (to toggle an up/down arrow). It works fine in FF, but in IE, it is delayed. For example, in IE, you click once and the arrow stays the same (in the closed position). When you click t

[jQuery] Re: Updated API browser

2008-02-12 Thread Yansky
Thanks remy. :) On Feb 13, 3:25 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > it's very neat! would be nice to turn it into an AIR applicaiton, that > runs on my desktop as an app available offline. > > another suggestion: provide a way to add comments a la php doc ? > Always found it s

[jQuery] jQuery Image Swap Works in FF, not IE

2008-02-12 Thread Derek M.
Hi all, I have a little jQuery function that toggles a window on click and changes the background image of a span (to toggle an up/down arrow). It works fine in FF, but in IE, it is delayed. For example, in IE, you click once and the arrow stays the same (in the closed position). When you click t

[jQuery] jqModal Element Blocking

2008-02-12 Thread Adam
Is it possible to only block elements (such as DIVs) using the jqModal plugin? This would be similar to what the BlockUI plugin does, but I need more options than BlockUI offers in modal dialogs.

[jQuery] clock pick in ajax loaded form - ie error

2008-02-12 Thread pedalpete
I've been using the clockpick plugin (it's awesome) and I load the form which uses the plugin via an ajax call. The plugin works perfectly in FF and Safari, but in ie 6&7, it only shows a grey box at the bottom of the page. I've look through other comments here in the jquery groups, but the other

[jQuery] Re: div index

2008-02-12 Thread motob
Can you post a little more info? Maybe some of your html code that goes along with what jquery is working with? Are you trying to add a new criteria text box to a search form when #new-criteria is clicked? Are you working with table cells or divs? On Feb 12, 3:14 pm, Feijó <[EMAIL PROTECTED]> wro

[jQuery] Re: [validate] spinner - loading

2008-02-12 Thread José Pablo Orozco Marín
Thank you Jörn . // set this class to error-labels to indicate valid fields $("#UserRegisterForm").bind("ajaxSend", function(){ alert("Send!"); }).bind("ajaxComplete", function(){ alert("Complete!"); }); Now im going to use some div to show or hide. I love your plugin, is a piece of art.

[jQuery] Re: how to set the value of an input after selecting an option in a list

2008-02-12 Thread bractar
hi thank you for your help but I still have a problem. I want to put the result of 'index.php/get/s_document_loadFields/' in the input field $('#newDoc_name') after selecting a value in the list $('#newDoc_select') The following code doesn't work for me $('#newDoc_name').load('index.php/get/s

[jQuery] "Feed" history/remote

2008-02-12 Thread frizzle
Hi there, I was wondering if it's possible to directly feed History/Remote: say the hash is #/this_dir/another_dir/ Then i'd like to load index.php?explore=/this_dir/another_dir/ into So the hash would be the complete variable to load, also it wouldn't have to look for a certai

[jQuery] Re: loading content from a remote file and appending it into DOM element

2008-02-12 Thread Alexandre Plennevaux
simple and dirty: append an empty element to the div#dataDiv, and have the loaded data inserted into it: $('').appendTo('#dataDiv').load('process_data.php?id=2'); or in fact you could simply use the $.get $.get('process_data.php?id=2',function(data){ $(data).appendTo('#dataDiv'); }); On Feb

[jQuery] Re: loading content from a remote file and appending it into DOM element

2008-02-12 Thread Smith, Allex
Warning... This may be a poor method, but it works: // store the old content var $old = $("#dataDiv").html(); // run your load function $("#dataDiv").load("process_data.php?id=2",function(){ // prepend old content $(this).prepend($old); }); -Original Message- From: jq

[jQuery] loading content from a remote file and appending it into DOM element

2008-02-12 Thread [EMAIL PROTECTED]
Hi, I would like to load content from "process_data.php?id=2" and then append that data into the DIV with id="dataDiv", how would I do this? I have seen the ".load" directive, but seems to erase any data previously in the DOM element whereas I want to append on to what is already there. Thanks f

[jQuery] Re: Problem on IE with jqModal

2008-02-12 Thread Alexandre Plennevaux
check your CSS and compare it to the CSS provided on jqmodal. it seems you have some margin / padding set to the body element. make sure it is set to 0. On Feb 12, 2008 5:32 PM, eyal <[EMAIL PROTECTED]> wrote: > > Hello! > I'm using jqModal on my website. When It's running on Firefox it works >

[jQuery] Release: Validation plugin 1.2.1

2008-02-12 Thread Jörn Zaefferer
The 1.2.1 release for the validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) is out! Among bugfixes related to remote validation and message display a few handy improvements landed: The delegate dependency is now bundled with the plugin (it was always required

[jQuery] Re: Is it possible jQuery do similar actions width $("this") such as selectors like $("DIV A")

2008-02-12 Thread George
Further to the other responses... You can squeeze out a slight performance boost by using the child selector or children() method. (Most noticable when find() is faced with searching a deep DOM, or perhaps when this search is one of many in a loop.) Eg: $(this).children("DT") or $(this).find(">DT

[jQuery] overlaying jqModal over other divs

2008-02-12 Thread pere roca
dear jquery list, here come again wondering if someone can give me a little clue to what's going wrong when trying to overlay a draggable window (jqModal) over another div (containing a map application). The problem is when you put the jqModal over the map and try to interact with it; it zoo

[jQuery] OT: FCK editor now double spaces with enter key?

2008-02-12 Thread Andy Matthews
We've been using FCK editor for a while now. It used to create a single return when hitting the enter button. We recently upgraded to a newer version (2.5 I think) and now it creates a double space instead. Does anyone know if this is a setting that can be changed? andy

[jQuery] Re: Some sort of template for displaying validation errors in a div using validation framework?

2008-02-12 Thread Jörn Zaefferer
rickcr schrieb: I apologize, I found the answer to question1 below. It was in the options documentation here: http://docs.jquery.com/Plugins/Validation/validate#options (There only seemed to be one link to those options from the docs page in the validate method, and I kept missing it. As a sma

[jQuery] div index

2008-02-12 Thread Feijó
How can I get the index of one of my class? I'm reading all in docs.jquery.com and found nothing     $("#new-criteria").click(function(){         $last = $('#thefilter .qz-tablefield:eq(1)')             .clone(true);        index = 1; // here, how to get the index of "this"?         $('#qz-cr

[jQuery] Re: [validate] spinner - loading

2008-02-12 Thread Jörn Zaefferer
Josoroma schrieb: Hi! Thanks for all your help with validate plugin, my last questions ara about: #1 The way of showing a spinner or loading gif while the remote validation is asking for data? So far you can use jQuery's ajax events to display something: http://docs.jquery.com/Ajax_Events

[jQuery] Re: Help With Modifying Treeview

2008-02-12 Thread Jörn Zaefferer
studiobl schrieb: I'm trying to modify treeview. I want to eliminate the plus and minus boxes, and use the section labels as hit areas. A tree of two main sections would just be "Section One" and "Section Two". Clicking on either one of these would expand it, and clicking a second time would c

[jQuery] Re: [validate] Adding custom behaviours following validation

2008-02-12 Thread Jörn Zaefferer
kapowaz schrieb: Excellent! That works nicely. The method names might benefit from being a bit more obvious (and documented on docs.jquery.com?) though. Pass and Fail come to mind. Both are documented here: http://docs.jquery.com/Plugins/Validation/validate pass/fail doesn't quite fit becau

[jQuery] Re: question on determining scrollTop delta after onscroll

2008-02-12 Thread Karl Swedberg
If you're talking about the browser scrollbars, I'm not sure how to listen for someone clicking on them. But if you can figure that part out, you can use the scrollTop property of a DOM element before and after the click. Note, while it works in FF and IE, I'm not sure what it does in Saf

[jQuery] Re: Some sort of template for displaying validation errors in a div using validation framework?

2008-02-12 Thread rickcr
I apologize, I found the answer to question1 below. It was in the options documentation here: http://docs.jquery.com/Plugins/Validation/validate#options (There only seemed to be one link to those options from the docs page in the validate method, and I kept missing it. As a small recommendation,

[jQuery] Problem on IE with jqModal

2008-02-12 Thread eyal
Hello! I'm using jqModal on my website. When It's running on Firefox it works great but when it's on IE it's looks like the screenshot attached to this message. http://www.nabble.com/file/p15433219/screenshot.jpg How can I solve that? (I'm using the latest IE version - IE7) Thanks! Eyal

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-12 Thread cbmtrx
Just rediscovered the beauty of thickbox: http://jquery.com/demo/thickbox/ This might be all I need, and with some added pizazz courtesy of jquery! On Feb 12, 10:04 am, cbmtrx <[EMAIL PROTECTED]> wrote: > Thanks Tim, but I'm actually trying to pass variables the *other* > direction. > > I have

[jQuery] Re: Form Plugin: sender

2008-02-12 Thread Jerome Jaglale
Wonderful! Thank you Mike! On Feb 12, 5:23 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > The form (wrapped in a jQuery object) is passed to your success callback: > > $('.inlineForm').ajaxForm({dataType:'json', success:process}); > > function process(data, status, $form) { > // do stuff > > }

[jQuery] [validate] spinner - loading

2008-02-12 Thread Josoroma
Hi! Thanks for all your help with validate plugin, my last questions ara about: #1 The way of showing a spinner or loading gif while the remote validation is asking for data? #2 (remote ajax call to know if user exist)The remote ajax call is executed each time a wrote a character, can i do some

[jQuery] Re: Reading in the contents of a file.

2008-02-12 Thread tstrokes
Well I did find this example:http://alex.dojotoolkit.org/?p=532. I'm not a big fan of dojo so I was wondering if you could do anything like this in jQuery. --tstrokes On Feb 11, 9:32 pm, alfredwesterveld <[EMAIL PROTECTED]> wrote: > This can't be done with javascript (client-side) because javascr

[jQuery] Help needed with AutoScroll plugin

2008-02-12 Thread [EMAIL PROTECTED]
Hi, Has anyone done any messing about with the AutoScroll plugin? (http:// jdsharp.us/jQuery/plugins/AutoScroll/) I'm looking to tweak it a bit but don't understand JavaScript / jQuery enough to wrap my head around it on my own. The behavior currently scrolls the entire window and does so only w

[jQuery] Help with AJAX behavior

2008-02-12 Thread Erik Lorimor
I'm having some trouble with getting some events to fire correctly upon AJAX completion. Basically what I am doing is going through a for loop that fires off an ajax call for each element in an array. When the results come back, if it is successful I want to change an image from an hourglass (wa

[jQuery] Re: Newbie question about Radio Buttons

2008-02-12 Thread PKJ
Hi everyone, I found one way to do this, and it is only a few lines. This is my first use of JQuery so can anyone comment on whether there is a better way? $(document).ready(function() { $("input:radio").click(function() { thisClass = $(this).attr("class");

[jQuery] Re: Can we detect whether images are turned off?

2008-02-12 Thread [EMAIL PROTECTED]
It works perfectly! Thank you very much for your explanation, Richard. I'm learning loads! Cherry :) On Feb 12, 10:13 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: >>> > If you're interested, here's the equivalent in jQuery: > > $('http://www.google.com/intl/en_ALL/images/logo.gif'+ '#' + > M

[jQuery] Re: jQuery won't recognise attribute names containing [square brackets]

2008-02-12 Thread Dave Stewart
I knew about :input, but my brain just pre-supposed it meant only input elements so I had kind of disregarded them somewhat. So thanks for pointing that out!

[jQuery] Re: Updated API browser

2008-02-12 Thread Alexandre Plennevaux
it's very neat! would be nice to turn it into an AIR applicaiton, that runs on my desktop as an app available offline. another suggestion: provide a way to add comments a la php doc ? Always found it super useful On Feb 12, 2008 3:30 PM, Remy Sharp <[EMAIL PROTECTED]> wrote: > > Hi all, > > Ever

[jQuery] Re: Uploader 0.9 beta

2008-02-12 Thread Alexandre Plennevaux
hi guys, just wanted to point you to my personal efforts in improving jquploader. It's far less advanced but i'm taking another approach: super hyper easy "for mum" interface, because i've yet to come across a client that needs "multiple file upload at once - manage upload queue" stuff. The reque

[jQuery] Re: help,about the selectors

2008-02-12 Thread Karl Swedberg
hi zero, try this... var compenonts= $('Components > Component', response); --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 12, 2008, at 10:30 AM, zero args wrote: my code: $.ajax({ url: "test.do", dataType: "xml", success:paint }); var

[jQuery] Re: Handling Event Bubbling in JQuery

2008-02-12 Thread Karl Swedberg
with jQuery 1.2.2 you can avoid event bubbling problems related to mouseout by using this: .bind("mouseleave", function() { // do stuff here }); See here for more info: http://docs.jquery.com/Release:jQuery_1.2.2#.bind.28.22mouseenter.22.29_.2F_.bind.28.22mouseleave.22.29 --Karl __

[jQuery] Re: plugin to upload files

2008-02-12 Thread Benjamin Sterling
Dave, have a look at http://blog.360.yahoo.com/blog-qCsFWG45eqF9lZ05AZldsUC.?p=58. You can't upload a file the ajax way, but this will be close. On 2/12/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, That is good if the flash fails gracefully. What I'm looking for > is a way for user

[jQuery] Re: Uploader 0.9 beta

2008-02-12 Thread Benjamin Sterling
> > > The third example, uses sessions and forms. So the form is validated, > and the uploaded files are placed in a session object. Hmmm... Not entirely sure how that would work. I will do some test tonight to see exactly how you are doing things. Can't picture how I would hook into a process

[jQuery] Re: .html(val) not working properly in IE6 - suggestions?

2008-02-12 Thread Karl Swedberg
not sure what is causing the problem, but one alternative approach would be to use empty() and append() $("#myDivId").empty(); $("#myDivId").append(val) maybe that will work better? --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 11, 2008, at 7:

[jQuery] Re: Compressing javascript files in one file, problems with some plugins (dropshadow.js)

2008-02-12 Thread Karl Swedberg
it might have something to do with the the lack of line breaks. another thing that might work to fix your problem is to put a semicolon at the beginning of each plugin file. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 12, 2008, at 6:47 AM, a

[jQuery] Re: plugin to upload files

2008-02-12 Thread [EMAIL PROTECTED]
Hi, That is good if the flash fails gracefully. What I'm looking for is a way for users to upload files such that they can continue to do other activities instead of having to wait for the entire file to be uploaded. An Ajax upload would seem to satisfy this. - Dave On Feb 11, 12:37 pm, "Benj

[jQuery] Re: jQuery.SerialScroll

2008-02-12 Thread Ariel Flesler
Hi Feed, thanks. The plugin has an option called 'cycle' which is similar but not equal to jCarousel's option. The first and third examples have it activated, the scrollshow doesn't. It won't just go on endlessly, instead it will return once it goes over the limit. This approach seems cleaner for

[jQuery] Re: in IE, cannot copy from draggable modal layer

2008-02-12 Thread asle
I also have the same problem but also in Firefox. I cannot set a handle. The whole div is draggable and I cannot select text even though I have a "handle" property. Tried to upgrader to jquery 1.1.3 but no help. On Feb 11, 3:09 pm, Schmitt <[EMAIL PROTECTED]> wrote: > Hi, we have a draggable form

[jQuery] help,about the selectors

2008-02-12 Thread argszero
my code: $.ajax({ url: "test.do", dataType: "xml", success:paint }); var paint = function(response){ var compenonts= $(response).find("Component"); // what expression should be here?? compenonts.each(function(index, compenont_ele){ var compenont = $(compenont_ele); var name=

[jQuery] Help With Modifying Treeview

2008-02-12 Thread studiobl
I'm trying to modify treeview. I want to eliminate the plus and minus boxes, and use the section labels as hit areas. A tree of two main sections would just be "Section One" and "Section Two". Clicking on either one of these would expand it, and clicking a second time would collapse it. I can s

[jQuery] onclick to page

2008-02-12 Thread Michael
Hi, I'm trying to fade out my page using jQuery, by clicking on one link. This link links to a php script that changes the stylesheet, but what I want to achieve is when the user clicks 'change css' the page fades out, once this is done the pages goes to my php script, the script changes the style

[jQuery] [validate] Re: Some sort of template for displaying validation errors in a div using validation framework?

2008-02-12 Thread rickcr
To possibly be more specific and to add one extra question: 1) The bottom line is I want to display the messages defined in the messages section in an 'errorDiv' but I want to make sure the messages in the div shows up in a nice format (in a list.) The docs mention using "errorLabelContainer" wh

[jQuery] help,about the selectors

2008-02-12 Thread zero args
*my code:* $.ajax({ url: "test.do", dataType: "xml", success:paint }); var paint = function(response){ *var compenonts= $(response).find("Component"); // what expression should be here?? * compenonts.each(function(index, compenont_ele){ var compenont = $(compenont_ele); var nam

[jQuery] Re: Is it possible to send javascript vars TO a jquery function??

2008-02-12 Thread cbmtrx
Thanks Tim, but I'm actually trying to pass variables the *other* direction. I have many divs on a page, and I need some mechanism of toggling these from different links and buttons within the page. There is no predictable parent-child relationship to these divs. What I was hoping to do was to us

[jQuery] Re: [validate] Adding custom behaviours following validation

2008-02-12 Thread kapowaz
Excellent! That works nicely. The method names might benefit from being a bit more obvious (and documented on docs.jquery.com?) though. Pass and Fail come to mind.

[jQuery] Re: localScroll Problem

2008-02-12 Thread George GSGD
It would certainly help track down the problem if you listed which plugins you're using. Only thing I can see from what's been posted so far is that you've got "E.easing[...]". What're you using the E object for? It's telling you it can't find the easing function in E.easing On Feb 12, 12:49 pm,

[jQuery] Updated API browser

2008-02-12 Thread Remy Sharp
Hi all, Ever since jQuery 1.1.3 the old API browser hasn't been updated due to incompatibilities in the documentation (though that's mostly assumptions). Although the new docs is comprehensive, I've always liked the quick access the old API browser gave. As such, I've got about my own way re-bui

[jQuery] How to select last leaf of a tree?

2008-02-12 Thread Matias
Hi, I have an unordered list like this Item 1 Item 1.1 Item 1.1.1 Item 2 Item 2.1 Item 3 and I want to select only the leaf nodes (in this example namely Item 1.1.1, Item 2.1 and Item 3) I was wondering if there was an easy way to use

[jQuery] Re: controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-12 Thread Jannik
Try this: $(document).ready(function (){ $('div.page').hide(); $('#menu li').click(function (){ $('div.page').hide(); $('#div'+$(this).attr('id')).show(); }); }); Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem i

[jQuery] Re: jQuery Field Plug-in - Ajax Post Data

2008-02-12 Thread Dan G. Switzer, II
Mike, >I'm using the jQuery Field Plus-in v0.7. I'm doing an ajax post to >another page. I was trying to pass all the name/value pairs at one >time but I'm runnilng into a problem. > >My current post data looks like this: >data: >{problemid:frm.problemid.value,problemTitle:frm.problemTitle.value}

[jQuery] Re: Uploader 0.9 beta

2008-02-12 Thread Dan G. Switzer, II
I'd love to see an example that has a combined multi-file progress bar. Something that shows two progress bars--one for the current file and another for the total upload process. I think this is a common implementation and an example would make it clear that it's possible to do. -Dan >-Orig

[jQuery] Re: controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-12 Thread Klaus Hartl
On Feb 12, 2:37 pm, schnuck <[EMAIL PROTECTED]> wrote: > hi guys, > > hope someone can give me a hint for this. if i had an unordered list > as shown below, where the li-items had unique IDs - is there any way > that we check which li-items has been clicked so depending on that, we > could show/an

[jQuery] Re: jQuery.SerialScroll

2008-02-12 Thread Feed
Awesome Ariel, thanks for yet another great plugin. I have a request though: can you add an option to make it "circular" (like jCarousel)?

[jQuery] controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-12 Thread schnuck
hi guys, hope someone can give me a hint for this. if i had an unordered list as shown below, where the li-items had unique IDs - is there any way that we check which li-items has been clicked so depending on that, we could show/animate a corresponding, unique DIV (each li-items would have its ow

[jQuery] Re: localScroll Problem

2008-02-12 Thread Ariel Flesler
I'm sure that code by itself would work. There's something else that needs to be affecting it. I'd say you should try removing different scripts to see if there's one messing things up. Also, if you are not using jQuery 1.2.3 and you can update, that could fix it. Cheers Ariel Flesler On 12 feb

  1   2   >