[jQuery] Sortable treeview

2008-09-24 Thread pedramphp
Dear folks, does any one know how could we have a nested sortable treeview , as what jorn has did !! Regards Pedram

[jQuery] Re: text() as a wrapped set?

2008-09-24 Thread Balazs Endresz
I think the easiest way is to write another plugin: $.fn.$text=function(){ return $( document.createTextNode( this.text() ) ) } $("a").$text().appendTo("#sanbox"); but you can extend the String prototype too: String.prototype.jqueryify=function(){ return $( document.createTextNode( this )

[jQuery] Re: JSON data issue in IE | Language Translation

2008-09-24 Thread Arif
I have resolved this :) Thanks Mohammed Arif http://www.mohammedarif.com On Sep 22, 2:24 pm, Arif <[EMAIL PROTECTED]> wrote: > Even I got the issue, it's not been rendering because of French > accented characters in IE. > > So what do I need to change the JSON character encoding? > > P.S: I don'

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread Eric
Does #produtos_contato have any padding added to it? If so, IE could be calculating the width of the overall element as more than "350px", causing it to get bumped to the next line. On Sep 24, 5:05 pm, Alex Weber <[EMAIL PROTECTED]> wrote: > sorry i just took a look at the code and its a fadeIn(

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread Eric
I'm a little concerned by the line: $ ('#produtos_links').fadeIn(resize); Does that work? The Events documentation (http://docs.jquery.com/Effects/ fadeIn#speedcallback) says the signature of the function is: fadeIn( speed, [callback] ) Which would imply to me that the speed is a mandatory argu

[jQuery] Re: why is this code inefficient?

2008-09-24 Thread Dave Methvin
If you're using id attributes correctly, there is only one occurrence of any particular id in the document. So, $('.dateTable#'+dividedID+':first') $('.dateTable#'+dividedID+':first td#'+dayOfWeek) is the same as $('#'+dividedID+':first').show(); $(''#'+dayOfWeek) If dayOfWeek is really ju

[jQuery] Checking if text input is fully entered

2008-09-24 Thread regent
I'm writing an application whereby a barcode is scanned into a text field. This barcode becomes the benchmark and a new text field is inserted underneath. Every time a new barcode is scanned, it is compared to the benchmark and a message displays whether it matched it or not, and then another te

[jQuery] Re: why is this code inefficient?

2008-09-24 Thread pedalpete
Thanks Karl, Not sure why i had never done that before, but now I'm going through my code and adding the appropriate starting tag throughout my jquery. This did speed things up quite a bit. On Sep 24, 2:56 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > For a start try using  $('div.divideDate').

[jQuery] Re: Click event for anchor tag goes to url in href attribute

2008-09-24 Thread Karl Rudd
Put the following at the end of the "click" function: return false; This tells the browser that it should not "do what it normally does" when a link it clicked (it works for other events too). Karl Rudd On Thu, Sep 25, 2008 at 6:04 AM, cnu <[EMAIL PROTECTED]> wrote: > > Hi, > I have an ancho

[jQuery] Re: Add Class to matched href location Click to flag this post

2008-09-24 Thread jrutter
I figured it out with the help of a good friend - jason-palmer.com var path = location.pathname; $("a[href='" + path + "']").parents("li").each(function() { $(this).addClass("selected"); }); On Sep 24, 7:52 pm, jrutter <[EMAIL PROTECTED]> wrote: > Im having trouble getting this to work,

[jQuery] Re: Add Class to matched href location Click to flag this post

2008-09-24 Thread jrutter
I figured it out with the help of a good friend - jason-palmer.com var path = location.pathname; $("a[href='" + path + "']").parents("li").each(function() { $(this).addClass("selected"); }); On Sep 24, 7:52 pm, jrutter <[EMAIL PROTECTED]> wrote: > Im having trouble getting this to work,

[jQuery] Re: Using variables in selectors

2008-09-24 Thread Scott
Haha! Thanks! :P On Sep 19, 6:19 pm, MorningZ <[EMAIL PROTECTED]> wrote: > var pageName = "foobar.html"; > var link = $("a[href$='" + pageName + "']"); > link.addClass('selected');

[jQuery] Re: Comment posting using Jquery

2008-09-24 Thread Xmode
This is what i was doing with mootools... and it worked flawless in FF and Safari but not in IE after a week of trying to make it work I saw my friend using jquery and I liked it. So i switched to jquery to do my next project and now I need some help... to start understanding more jquery FORM:

[jQuery] Cant get a rich textarea value (using tinymce)

2008-09-24 Thread Fourat ZOUARI
I'm trying to add a 'save as draft' button to a mail sending form, when the user clicks on that button, i send the form data to the server by ajax to save it, but my problem is there's a rich edit that i cant get its value. Here's my textarea: Using this code: console.log($('#i_body').val()); It

[jQuery] Re: Comment posting using Jquery

2008-09-24 Thread Xmode
this is what i had in mootools so far working on FF and Safari... FORM: Mensaj

[jQuery] Re: Superfish v1.4.8 using two menus one under another

2008-09-24 Thread Rick Faircloth
Hi, Ilya... Trying increasing the z-index on the top menu and see if that helps. Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ilya > Sent: Wednesday, September 24, 2008 3:44 PM > To: jQuery (English) > Subject: [jQuery] Superfish v1

[jQuery] Re: treeController [treeview]

2008-09-24 Thread GARIL
Thanks, Jörn. I finally got my code working. -- On Sep 21, 7:16 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > See sample #3:http://jquery.bassistance.de/treeview/demo/ > or here:http://dynamicdrive.com/dynamicindex1/treeview/ > > Jörn > >

[jQuery] Trying to create a function in flashembed that launches facebox - need syntax help

2008-09-24 Thread Dave
This is the function: function onClipDone(clip) { jQuery.facebox(function(){ jQuery.html('#capturePane') }); }; The facebox loads, but then the HTML string will not render. Any ideas? You can see it live here: http://ui.davemerwin.com/video-surprise/

[jQuery] Add Class to matched href location Click to flag this post

2008-09-24 Thread jrutter
Im having trouble getting this to work, I feel like Im really close. Does anyone have any idea? var path = location.pathname.substring(1); if ([EMAIL PROTECTED] == path]) { $('.nav ul#example li.addClass('active')); }

[jQuery] Click event for anchor tag goes to url in href attribute

2008-09-24 Thread cnu
Hi, I have an anchor tag like delete I have attached a click event to the tag which does a POST request to the url by doing $("a.delete").click(function () { $.post(url, {"id":id}, function(data){ console.log(data.msg); }); }); The POST request goes throught, but after that - a GET

[jQuery] *Superfish* Drop Shadow Problem

2008-09-24 Thread GrandGouda
First, a big thanks to Joel Birch for his Superfish CSS and JS, great stuff. I'm using the SuperSubs and have modified the CSS to do some repositioning, sizing, coloring, etc. Only problem is that the drop shadows on the submenus stop short (i.e. they appear on the bottom, but not on the right s

[jQuery] Re: why is this code inefficient?

2008-09-24 Thread Andrew Hedges
I suggest giving jQuery a more specific context in which to search for the elements in question. If the set of elements you want is (or can be put) inside an element with an ID, that is the most efficient. Selectors like: $('#some-element .a-bunch-of-elements') ...are way faster than selectors

[jQuery] Getting the xml string after a jquery ajax call

2008-09-24 Thread ml1
I am retrieving an xml file and using jquery to parse it, which is all working wonderfully. My problem is that I need to pass the same xml as a string on to some other parts of my system. I can't figure out how to get jquery to give me the string version, so I tried to change the dataType of the

[jQuery] jEditable Plugin question

2008-09-24 Thread 3apo
I am using jEditable and have run into some issues. I have two different classes of editable areas, say edit_1, and edit_2. and want to toggle between the two edits based upon some criterion. So if do a $(this).removeClass('edit_1'); $(this).addClass('edit_2'); This doesnt really propagate thru,

[jQuery] validate

2008-09-24 Thread Aaron
I noticed today that if I type in say 01/01/2001 it will validate correctly.. which it should... however if I type in 01/01 2001 it also will... which it shouldn't... thanks

[jQuery] Superfish v1.4.8 using two menus one under another

2008-09-24 Thread Ilya
Hello, I'm trying to use Superfish v1.4.8 with two menus located one under another. Everything looks almost great except for IE6 -- the dropdowns from the top menu open behind the bottom menu items. Does anyone know if there is a fix for this issue? Thank you.

[jQuery] Scale back to original size using percent or?

2008-09-24 Thread David
Hello, I'm using the scale effect and after scaling up, I'd like to scale back down to the original size of the image. I haven't found a way that will get me back to the original image size using "percentage." I've tried something like this: var scaleFactor = 3.5; unscaledImgWidth = $(".img").w

[jQuery] Add Class to matched href location

2008-09-24 Thread jrutter
Im having trouble getting this to work, I feel like Im really close. Does anyone have any idea? var path = location.pathname.substring(1); if ([EMAIL PROTECTED] == path]) { $('.nav ul#example li.addClass('active')); }

[jQuery] Form submitted twice in IE ?

2008-09-24 Thread MichaelE
I have a fairly complex jquery-based form in a ColdFusion back-end app, with a tabbed interface that fires validation on each tab change, as well as on submit. Lots of moving parts. I don't think there's anything wrong here, works fine... The problem is that in IE, the form is getting submitted t

[jQuery] Sort of like tabs... need to start with a random div and swap it out when clicking a link

2008-09-24 Thread illtron
I think I'm pretty close to getting this to work, but it's not quite. This is essentially tab functionality, but the initially showing div needs to be randomly chosen. I can either show the random div initially, but then the links don't work. Alternatively, I can make the links work, but then I c

[jQuery] Re: ready() function different when inside a frame?

2008-09-24 Thread ricardobeat
As the jQuery instance is from the parent window, you have to specify that you want an element from the iframe: $ = window.parent.$; $(function() { $("#test", frames['thisframe']).click(function() { // element in iframe $("#hold").append('Inserted from iFrame '); // element in parent frame

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-24 Thread ricardobeat
Hi, This works for me (FF3) (code running in the parent frame): $('#test',frames[0].document).click(function(){ //bind function to event from element *inside iframe* $('TESTE').appendTo('body').click(function(){ // append element to the *parent frame* and assing a click handler to it

[jQuery] Re: why is this code inefficient?

2008-09-24 Thread Karl Rudd
For a start try using $('div.divideDate'). This means that jQuery can just check "div" elements for the divideDate class rather than every element on the page. Karl Rudd On Thu, Sep 25, 2008 at 5:01 AM, pedalpete <[EMAIL PROTECTED]> wrote: > > I thought I was getting the hang of jquery and java

[jQuery] Re: IE issue... load order, DOM, event handling... ? help please!

2008-09-24 Thread ricardobeat
the onload event is not very reliable, maybe using the old way (I don't have IE6 to test it out: (function($) { $.fn.pageOpening = function(path) { $("#loadingGal").show(); var imageObj = new Image(); $(imageObj).attr("src",path)[0].onload = funct

[jQuery] Re: support newbie: DOM & tablesorter questions. time sensitive

2008-09-24 Thread MorningZ
"what the best resource would be for on-the-fly question/answer sort of thing: irc channel(s)?" This isn't "operators are standing by"... groups/forums like this are people, other users, helping out for the sake of

[jQuery] support newbie: DOM & tablesorter questions. time sensitive

2008-09-24 Thread c.s
Hello jquery community, So I'm still wadding around jquery/dom/js but had to dive into the deep end to support under-resourced projects. I have a couple code questions and was also wondering what the best resource would be for on-the-fly question/answer sort of thing: irc channel(s)? I'm hoping t

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread Alex Weber
sorry i just took a look at the code and its a fadeIn() not a show() but really it doesn't change anything.. here's the code: $('#produtos_contato').css('width','350px'); $('#produtos_links').fadeIn(resize); where resize() is a function that stretches the left menu panel as far down or up as the

[jQuery] Re: autosuggest help

2008-09-24 Thread allan2008
Thanks for the help guys! I understand this much better now. I really appreciate your work Jorn, thanks for sharing with us!

[jQuery] Re: Listen for location anchor change?

2008-09-24 Thread ricardobeat
Implement it yourself: function onhashchange(){ //do stuff }; $('a').click(function(){ if (this.href.indexOf('#')+1) onhashchange(); }); - ricardo On Sep 24, 5:33 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > I think he's looking for something more along the lines of IE8's > "onhashc

[jQuery] Re: jQuery Cycle - Get Current Slide Number

2008-09-24 Thread Phillip
That worked perfectly. Thank for your help, I was completely stumped. On Sep 24, 11:51 am, dlimpid <[EMAIL PROTECTED]> wrote: > try this: > > $(function() { >   $('*').filter(function() { return this.id.match(/^s\d+$/); }) >     .each(function(n) { >       $(this).cycle({ >         timeout: 0, >

[jQuery] Re: Listen for location anchor change?

2008-09-24 Thread mario
Thank you all, yes I was looking for something along the lines of what Aaron said. Well at least now I'm certain it "can't be done"... On Sep 24, 3:33 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > I think he's looking for something more along the lines of IE8's > "onhashchange" event[1]. Unf

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread ricardobeat
There is no way a css() and show() could happen in the wrong order, as the second one only executes after the first one returns the object. Is it an animated resize? On Sep 24, 3:59 pm, Alex Weber <[EMAIL PROTECTED]> wrote: > yeah bud thats a given i just wanted to confirm that there wasn't a > c

[jQuery] Re: text() as a wrapped set?

2008-09-24 Thread ricardobeat
text() is really meant to retrieve text content as a string, and append() is for appending elements, it's probably going through a lot more hoops than just using text(). So it looks like the first way is the best way to do it, enjoy the beauty of jQuery: extend it! $.fn.textCopy = function(sourc

[jQuery] Re: Need help with jQuery array

2008-09-24 Thread Jim Davis
Rene, Thanks for your help. Your solution works great. Jim On Wed, Sep 24, 2008 at 6:54 AM, Rene Veerman <[EMAIL PROTECTED]> wrote: > > Give your tag an id 'menu', and replace your document.ready code > with this: > $(document).ready(function() { > >$('ul#menu li a').each (function () { >

[jQuery] Re: Listen for location anchor change?

2008-09-24 Thread Aaron Heimlich
I think he's looking for something more along the lines of IE8's "onhashchange" event[1]. Unfortunately, this is something that, to my knowledge, no other browser implements. [1] http://msdn.microsoft.com/en-us/library/cc288209(VS.85).aspx On Wed, Sep 24, 2008 at 3:27 PM, Andy Matthews <[EMAIL PRO

[jQuery] Re: element creation using wrap behaves oddly

2008-09-24 Thread ricardobeat
I believe you can't assing an event handler to an element before it is added to the DOM. This works for me: $('b').wrap($('').click(function(){ alert("foo"); }); Or if you want the click event assigned to and not $('b').wrap($('').parent().click(function(){ alert("foo"); }); - ricard

[jQuery] Re: Listen for location anchor change?

2008-09-24 Thread Andy Matthews
Javascript has the built in property location.hash that will return the value of the anchor along with the # sign. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mario Sent: Wednesday, September 24, 2008 3:09 PM To: jQuery (English) Subje

[jQuery] Listen for location anchor change?

2008-09-24 Thread mario
Hi, I was just wondering if there is anyway to listen for changes on the location bar when a link sets an anchor on the same page. Example: current location: www.something.com/ I click on a link and it takes me to: www.something.com/#someanchor Is there anyway to listen for this change/event

[jQuery] autocomplete and scrolling with IE7

2008-09-24 Thread Shelane
If you click on the scroll bar and try to click anywhere else on the page without selecting an item, the results never go away in IE7. It works fine in other browsers. Example: http://education.llnl.gov/jquery/ Click the Auto Complete on the left and type "Mod" into field. Is this a known bug?

[jQuery] Re: Cycle plugin newbie question

2008-09-24 Thread Mike Alsup
> this should be pretty easy to answer. im a complete newbie to jquery > and javascript, but id like to use the cycle plugin (http://malsup.com/ > jquery/cycle/) on my website to animate a few images. i know html and > css but i could not find clear steps or documentation on the website > as to ho

[jQuery] Re: why is this code inefficient?

2008-09-24 Thread MorningZ
Do you have a live page to show this in operation? because with that little bit of code it's very difficult to point you in the right direction One piece of advice right off the top:you have to keep under control how many divs with class "divideDate" are on the page

[jQuery] Re: Find() doesn't want to find anything out of the body

2008-09-24 Thread MindstormsKid
Karl Swedberg-2 wrote: > > Try this for the success parameter: > > success: function(html) { > var $html = $(html); > var title = $html.filter('title').text(); > alert(title); > } > > Basically, you have to use .filter() inste

[jQuery] why is this code inefficient?

2008-09-24 Thread pedalpete
I thought I was getting the hang of jquery and javascript, but then i wrote this small function, and it is really taking a long to run - like 15+ seconds. The purpose of the function is that i have a list of concerts ordered by date. I want to show the date when the date changes, so for all conce

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread Alex Weber
yeah bud thats a given i just wanted to confirm that there wasn't a callback and why not. thanks for all the replies! ajpiano wrote: > that sounds like an issue that needs debugging, not a (superfluous) > change to the library core... > > > > On Sep 24, 1:06�pm, Alex Weber <[EMAIL PROTECTED]> wr

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread ajpiano
that sounds like an issue that needs debugging, not a (superfluous) change to the library core... On Sep 24, 1:06 pm, Alex Weber <[EMAIL PROTECTED]> wrote: > i realize that... i just needed this in a rare case where jquery is > showing an element before resizing it, even though the resize > sta

[jQuery] Cycle plugin newbie question

2008-09-24 Thread ehab
this should be pretty easy to answer. im a complete newbie to jquery and javascript, but id like to use the cycle plugin (http://malsup.com/ jquery/cycle/) on my website to animate a few images. i know html and css but i could not find clear steps or documentation on the website as to how to imple

[jQuery] jquery callback issue

2008-09-24 Thread msk
hi, i am using jquery in drupal i have a list like car1 (edit) car2 (edit) edit=(edit) that was link define behind edit caption. now in jquery: $(".edit").click(function(){ add_new_room(); return false; }) function add_new_room(){ ...defination of function

[jQuery] element creation using wrap behaves oddly

2008-09-24 Thread darren
i just want to bring this up for discussion to see what people have to say about it and to further my understanding of how jquery works and why it works that way. maybe its a bug? imagine the base code Hello World! // fails to assign click handler: $("b").wrap($("").click(function(){ alert("

[jQuery] text() as a wrapped set?

2008-09-24 Thread 703designs
Because the text method returns a string, it's missing appendTo and other methods. Now, of course I can do this: $("#sandbox").text($("a").text()); But I'd prefer to do this: $("a").text().appendTo("#sanbox"); What goes between text and appendTo? Or is the first example the best way to do this

[jQuery] element creation using wrap behaves oddly

2008-09-24 Thread darren
i just want to bring this up for discussion to see what people have to say about it and to further my understanding of how jquery works and why it works that way. maybe its a bug? imagine the base code Hello World! // fails to assign click handler: $("b").wrap($("").click(function(){ alert("

[jQuery] Re: Traversing table

2008-09-24 Thread Jayzon
Hi again! I tried to get the script done by myself since no one unfortunately answered my last entry - this is the bit of code i managed to get done: $(document).ready(function() { $("input").change(function() { var char_count = $(this).val;

[jQuery] Re: datepicker plugin: question regarding date range

2008-09-24 Thread pedalpete
I've just started using the javascript .addMonth(1) function for adding a month to the selected date. It is working flawlessly so far. I took a look for a subtractDay() function, but haven't found much. Apparently you can use a php type date function in javascript [code] d = new Date(d.getYear(),

[jQuery] Re: Lightbox balupton

2008-09-24 Thread Snef
Also tried to remove the show_linkback option in the construction (read it in bug report). Now I only have the files option in the constructor. Also tried to use the non-packed version. Snef schreef: > Hi, > > Playing around with the lightbox. Works nice! > Only one 'little' problem though: > >

[jQuery] Re: add regex in $('.class')

2008-09-24 Thread jeremyBass
Nevermind... got it.. but I would welcome any help on improving this thanks for the help $('[class^=Round_gen]').filter(function(){ return /Round_gen[0-9]+/.test( $(this).attr('class') ); }).each(function(){ $(this).each(function() {var $this = $(this); var params = $(this

[jQuery] Re: add regex in $('.class')

2008-09-24 Thread jeremyBass
Ok little by little this does output the alerts but I can't seem to target the embed... function doSomething() { var NEWheight = self.childNodes[1].offsetHeight; var NEWwidth = self.childNodes[1].offsetWidth; alert ("NEWwidth"+NEWwidth); alert ("NEWheight"+NEWheight); $(thi

[jQuery] Lightbox balupton

2008-09-24 Thread Snef
Hi, Playing around with the lightbox. Works nice! Only one 'little' problem though: When using it with IE6, the browser locks an the computer is having a hard time. I already tried to explicitly add ie6_support: true. I used css to hide the info box (and close link), that couldn't cause the pro

[jQuery] Scrolling link menu - jQuery version?

2008-09-24 Thread R. Rajesh Jeba Anbiah
I vaguely remember that I have seen a jQuery version of this http://web.archive.org/web/20030405135609/http://www.scriptbreaker.com/examples/scroll_menu.asp (unobtrusive unordered list to menu transformation script) But, can't get that by googling. Has anyone bookmarked such plugin? TIA -- Em

[jQuery] Re: add regex in $('.class')

2008-09-24 Thread jeremyBass
So tring to work this out... I did this function doSomething() { var self = this; var NEWheight = $("self").contents("embed").offsetHeight; var NEWwidth = $("self").contents("embed").offsetWidth; alert ("NEWwidt"+NEWwidth); alert ("NEWheight"+NEWheight); $(this).contents(

[jQuery] Re: bug: jquery and writing an flv player flash object on windows (vista)

2008-09-24 Thread Robert Koberg
And further FWIW, Actually, I think the thing that made it work on windows was supplying the base param for the object... http://theserver.com/app/"/> There went about 16 hours down the tube... it has been a great conversation. On Sep 24, 2008, at 1:23 PM, Robert Koberg wrote: FWIW,

[jQuery] Processing.js Google Group Now Formed!

2008-09-24 Thread Joe
Head here: http://groups.google.com/group/processingjs And discuss! I already have one question and don't want to post it here on the jQuery board so I figured I'd go ahead and create the group. Cheers. Joe

[jQuery] Re: Any plug-ins that deal with formatting text?

2008-09-24 Thread kgosser
Do you or anyone else have any suggestions, or experience with any of the options? On Sep 23, 9:37 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > If you're looking for formatting in an actual textarea (not a rich > editor/iframe), look no further than markItUp!: > > http://markitup.jaysalvat

[jQuery] Re: bug: jquery and writing an flv player flash object on windows (vista)

2008-09-24 Thread Robert Koberg
FWIW, After trying jquery html() and similar methods, myDiv.innerHTML, document.write, and every library available for writing out a flash object that can coexist with jquery (and thickbox) and work on windows, here is the only one that worked: http://www.featureblend.com/javascript-flas

[jQuery] Re: add regex in $('.class')

2008-09-24 Thread jeremyBass
Here is another go... the problem is that It's not erroring out at all... I need to figure this out... I just don't have the time under my belt to do this right... I'v only beed working with javascript for less then a year, and jquery for like 3 months ~may-be... any help would be great... thank y

[jQuery] Re: Find() doesn't want to find anything out of the body

2008-09-24 Thread Karl Swedberg
Try this for the success parameter: success: function(html) { var $html = $(html); var title = $html.filter('title').text(); alert(title); } Basically, you have to use .filter() instead of .find(); Here's a demo page: http://test.learningjque

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread Alex Weber
i realize that... i just needed this in a rare case where jquery is showing an element before resizing it, even though the resize statement (css) is before the show()... On Sep 23, 9:05 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Yeah, it's just like doing > > $('color','red'); alert('color chan

[jQuery] Re: add regex in $('.class')

2008-09-24 Thread jeremyBass
Hello... here is another thry to work around this issue... any ideas on this... $(this).contents("[childNodes=0]").not(".readME").addClass("sizeME"); var $size = $(".sizeME"); var $read = $(".readME"); function doSomething() { var NEWheight = $read.offsetHeight; var NEWwidth = $read.offsetW

[jQuery] Re: Problem manipulating data in part loaded by AJAX

2008-09-24 Thread aimhier
I found the solution on your forum. Sorry for bothering.

[jQuery] Re: General JavaScript opitmization question

2008-09-24 Thread Rene Veerman
i usually use the first method you described; a global var maintained by 2 functions, start and stop. the other way is too complicated imo :) AdamV wrote: > I'm writing an AJAXy application and when I start doing an ajax call, > I want to block the UI and show a loading graphic until the loading

[jQuery] Re: Remove comment script

2008-09-24 Thread Rene Veerman
johhnnyboy wrote: > Hello, > > Im looking for a jquery script that allowes removing comments (which > are placed in divs) for the site with an animation and then removes it > also from my database. > > Something similar to hyves comments system. > > that's a bunch of things working together...

[jQuery] Re: jQuery Cycle - Get Current Slide Number

2008-09-24 Thread dlimpid
If my first message was not an "e-mail to an author" and it is moderated before revealed public, my second message was a real mistake. If so, please just delete my second message and this. I'm sorry again for my many mistakes. I'll learn how to use this group properly. On Sep 24, 6:54 am, Phillip

[jQuery] PengoWorks' Calculation plugin

2008-09-24 Thread [EMAIL PROTECTED]
Just a heads-up that I got the help I needed on this topic from PengoWorks' Calculation plugin at http://www.pengoworks.com/workshop/jquery/calculation/calculation.plugin.htm

[jQuery] Re: cross domain XML with ajax

2008-09-24 Thread Rene Veerman
http://www.phpfour.com/blog/2008/03/06/cross-domain-ajax-using-php/ * @linkhttp://www.phpfour.com */ // The actual form action $action = $_REQUEST['url']; // Submission method $method = $_REQUEST['method']; // Query string $fields = ''; // Prepare the fields for query string, don't

[jQuery] Iframe onload safari

2008-09-24 Thread Wesley
Hello, I'm trying to output an alert box on load of an iframe. Here is the code I am using: $(document).ready(function() { $(window.frames[0]).load(function() { alert('done loading'); }); }); It works in Firefox, but not in Safari. Any ideas as to why? Thank

[jQuery] Re: cross domain XML with ajax

2008-09-24 Thread Josh Rosenthal
I'm in much the same boat. I've been using openLayer's python based proxy, but wouldn't mind seeing a more secured php based one, if you'd be willing to post. Of course, I'm currently limited to php4, so I may not be able to use it, but... still curious. Also, phil?, what are you querying again

[jQuery] Re: Need help with jQuery array

2008-09-24 Thread Rene Veerman
Give your tag an id 'menu', and replace your document.ready code with this: $(document).ready(function() { $('ul#menu li a').each (function () { $(this).append (''); var $span = $('> span.hover', this).css('opacity', 0); $(this).hover (function () { $s

[jQuery] Re: jQuery Cycle - Get Current Slide Number

2008-09-24 Thread dlimpid
try this: $(function() { $('*').filter(function() { return this.id.match(/^s\d+$/); }) .each(function(n) { $(this).cycle({ timeout: 0, speed: 500, fx: 'fade', prev: '#s' + (n + 1) + '_prev', next: '#s' + (n + 1) + '_next', after: functio

[jQuery] Re: jQuery Cycle - Get Current Slide Number

2008-09-24 Thread dlimpid
Oops, I'm sorry. I think I sent a mail instead of posting the messages. I'm not a good hand at this site, so I made a mistake. Please don't get me wrong. Sorry. On Sep 24, 6:54 am, Phillip <[EMAIL PROTECTED]> wrote: > Thanks for the reply. I gave it shot, but still no dice. The good news > is opt

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-24 Thread hubbs
Hi Ricardo, I am not appending an iframe, it is hardcoded. I am trying to append to the parent document from within the iframe, and have the event in the parent bound to the appended element from the iframe. On Sep 23, 11:49 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Hi, I can't test anything

[jQuery] Problem manipulating data in part loaded by AJAX

2008-09-24 Thread aimhier
I am using a form statement. Consider, a form with an input statement with id="id1" statement. When the value of id1 changes ajax is fired which loads a modified form with a new textfield with id say id2. Now, the js fragment in the file which was $ ('#id2').blur("Actions..") is not executed.

[jQuery] Re: superfish menu only drops down

2008-09-24 Thread tsnj
It's now on the test server and working. However, I had to use superfish1.4.1.js instead of 1.4.8. It works in all of the browsers mentioned above. In IE6 there is overlap where the hovered menu is behind the one to the right of it. For those who have js turned off, I'll have to include an ext

[jQuery] Re: IE issue... load order, DOM, event handling... ? help please!

2008-09-24 Thread [EMAIL PROTECTED]
no taker? On Sep 23, 12:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all. I'm working on a site where id like an image to fade in as > the page shows up. The tricky part (i think) is that you can't trace > the load of a background image. So ive made a new image dynamically > and

[jQuery] Re: autocomplete

2008-09-24 Thread Jörn Zaefferer
Sure, but if he can just switch to a query parameter its trivial to resolve. And from a URL design viewpoint he obvioulsy IS dealing with a parameter... Jörn On Wed, Sep 24, 2008 at 4:02 PM, MorningZ <[EMAIL PROTECTED]> wrote: > > But isn't the fact that he is trying to use that "extra parameter

[jQuery] bug: jquery and writing an flv player flash object on windows (vista)

2008-09-24 Thread Robert Koberg
Hi, Clicking a link and writing an FLV Flash player object: Test function changeFLV() { //$("#playerContainer").html( document.getElementById("playerContainer").innerHTML = "data='FLVPlayer_Progressive.swf' height='1' type='application/x- shockwave

[jQuery] howto integrate callback into a plugin

Hello jquery-Group, i would like to integrate a callback into the lightbox-plugin. May somebody can give me a hint how to do that? I dont need all the image- stuff from the plugin, but want to use the overlay-method and load forms via ajax into the overlay by a callback. Thx in advance Boris

[jQuery] Re: jQuery and Rails Block

I ended up doing something very similar to this, and was able toget it working.. Thank you kindly for your comments they are much appreciated. Its nice to know there are a lot of resources in the community.. On Sep 22, 2:35 pm, Eric <[EMAIL PROTECTED]> wrote: > If I understand your question corr

[jQuery] Re: need to sort european data in tabledsorter plugin

ok thanks a lot...your code was working and it was just a fault of mine in writing the date!! Thanks again!! Vitto On 24 Set, 16:00, MorningZ <[EMAIL PROTECTED]> wrote: > Working example of above: > > http://paste.pocoo.org/show/86103/

[jQuery] Re: Dynamic created element doesn't respond to event

Thank you very much, will look into it :D On Sep 23, 9:30 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > See > > http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_ev... > > It contains a couple of workarounds. > > - Richard > > On Tue, Sep 23, 2008 at 8:03 PM, mario <[EMAIL

[jQuery] Re: autocomplete

But isn't the fact that he is trying to use that "extra parameter" as the driving force behind what URL to hit mean that this situation cannot be fixed by using the extraParams option?

[jQuery] Re: need to sort european data in tabledsorter plugin

Working example of above: http://paste.pocoo.org/show/86103/

[jQuery] Re: autocomplete

You can use the extraParams-option with a function to set that value as a query parameter. Jörn On Wed, Sep 24, 2008 at 9:38 AM, Kristaps <[EMAIL PROTECTED]> wrote: > > Hi, at first I would like to know if there's any reason why > documentation of autocomplete have been removed from UI documentat

  1   2   >