[jQuery] Re: jScrollPane, hide dragscroll... possible?

2008-09-24 Thread expanism
You really helped me out here! Thanks!!! On 24 sep, 07:32, Sam Sherlock [EMAIL PROTECTED] wrote: I used firebug console to test removing the jscrollbar my code is like this             div id=updates                 h2Updates #045; Recent Additions to this Site/h2                 div

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

2008-09-24 Thread ricardobeat
Hi, I can't test anything right now, but are you setting up the ready() function after appending the iframe? On Sep 23, 9:11 pm, hubbs [EMAIL PROTECTED] wrote: Yeah, this really is not working.  Could someone please help me to understand how to make multiple frames use the same jquery instance

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

2008-09-24 Thread ricardobeat
Right at the start: $('[class^=Round_gen]').filter(function(){ return /Round_gen[0-9]+/.test( $(this).attr('class') ); }).each(function(){ // at this point $(this) is a single element var $this = $(this); var params = $(this).attr('rel').split(':'); etc, etc. /*** you don't need this,

[jQuery] Re: How to bind Window Resize with richFaces?

2008-09-24 Thread alee amin
I have got the solution and sharing with you people so that someone may get help from it .. rich:jQuery selector=window name=windowResize query=bind('resize', function(){jQuery('#MySplitter').trigger('resize');}).trigger('resize') timing=onload/ ..alee http://techboard.wordpress.com On Wed,

[jQuery] Re: Reset Validation with new rules

2008-09-24 Thread Jörn Zaefferer
Give this a try: var validator = $(#form1).validate({rules:...}); validator.settings.rules = { newrules... }; Jörn On Fri, Sep 19, 2008 at 2:49 AM, MACE [EMAIL PROTECTED] wrote: The problem: I have a form that changes its validation rules based on user input. I have tried:

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

2008-09-24 Thread jeremyBass
Rock on.. that made more sense... I was not understanding why I needed that line... but I get it now as far as the rest... it's just a trageting issue I think this is the latest try (the last part) this.innerHTML = 'div class=clear_children readME'+this.innerHTML +'/divdiv

[jQuery] Re: autosuggest help

2008-09-24 Thread Jörn Zaefferer
You can't query a MySQL database from JavaScript. There has to be some serverside script to execute a query and return the results. Thats what search.php is supposed to do. Jörn On Tue, Sep 23, 2008 at 8:51 PM, allan2008 [EMAIL PROTECTED] wrote: Hello. I'm trying to figure out the

[jQuery] Re: [autocomplete] + [ajaxqueue] confusion

2008-09-24 Thread Jörn Zaefferer
Expect the feature of ajaxQueue necessary for autocomplete to be merged into autocomplete some time in the feature. That should clear out the current confusion. Jörn On Tue, Sep 23, 2008 at 11:32 PM, D.Kreft [EMAIL PROTECTED] wrote: On Sep 20, 5:33 am, Jörn Zaefferer [EMAIL PROTECTED] wrote:

[jQuery] Re: autosuggest help

2008-09-24 Thread BB
Here just a little example how you can do this: // index.htm ... script $(#autocomplete).autocomplete(search.php); /script ... // search.php ?php mysql_connect(localhost, user, pass); mysql_select_db(mySearchTable); $query = mysql_query(SELECT * FROM T_Search WHERE name LIKE ' . $_REQUEST[q] .

[jQuery] need to sort european data in tabledsorter plugin

2008-09-24 Thread hcvitto
hi i'm using the tablesorter plugin and i need to sort a data column in this format dd.mm. (which i think is the european way) I read another thread about this in which european data was formatted like this 1. -MM-DD and YY-MM-DD Anyone implemented this kind of sorting? Thanks vitto

[jQuery] cycle plugin causing container to be thrown to the right ( in IE6 IE7 )

2008-09-24 Thread palam
I'm using the cycle plugin on this page: http://oliverstephenson.in/home If you disable JS and check, it'll be positioned properly. But once the JS is applied, the container (#features) is thrown off to the right, outside the page (causing a horizontal scroll bar), only in IE6 and IE7. Works

[jQuery] autocomplete

2008-09-24 Thread Kristaps
Hi, at first I would like to know if there's any reason why documentation of autocomplete have been removed from UI documentation? However my real problem is to change url option dynamicaly, when change event is triggered: my html code: - form action=

[jQuery] jQuery (English) | Google Groups

2008-09-24 Thread sexy jenilia
jQuery (English) | Google Groups Activity: High activity. Language: English. Group categories: Computers Software ... how to add elements to a jQuery object without copying it ... @

[jQuery] jquery cycle - accessing attributes

2008-09-24 Thread vsl888
afternoon all how do i go about accessing the value of the cycle's variables, namely the value 'cyclePause'. i am trying to call the pause, resume functions from a click event, and need to get the cycle's current status to call the appropriate function. cheers vince

[jQuery] [validate]jQuery plugin: Validation 1.4. Bug to support name array

2008-09-24 Thread macromarship
I have several textbox with same name liTitle[]. But when validate, only the first one will be validate. I search validatation's source code. Here is the problem and my fix: L404: elements: function() { var validator = this; //

[jQuery] Comment posting using Jquery

2008-09-24 Thread Xmode
Hello guys I'm a php programmer and I love the idea of jquery not to have to load page after page for each thing that happens in a website, I've look into it and I want to try it out. The fisrt script i want to make using jquery is a comment form, that submits the comment and if the comment is

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

2008-09-24 Thread MorningZ
Give this custom parser a shot $.tablesorter.addParser({ id: 'DD-MMM-YY', is: function(s) { return false; }, format: function(s) { s = '' + s; //Make sure it's a string

[jQuery] Re: Comment posting using Jquery

2008-09-24 Thread MorningZ
I'm not sure you want/need to start looking at Plugins right away for such an easy task My suggestion is to head over to the docs (http://docs.jquery.com), pull up the Ajax section and take a load at the $.ajax and $.load methods to start with

[jQuery] Re: superfish menu only drops down

2008-09-24 Thread tsnj
Thanks Joel, I found this: http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test.zip Is this the latest version that was worked on? I'll play with it a bit today.

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

2008-09-24 Thread hcvitto
hi i tried the code, no effect though.. On 24 Set, 13:39, MorningZ [EMAIL PROTECTED] wrote: Give this custom parser a shot $.tablesorter.addParser({                     id: 'DD-MMM-YY',                     is: function(s) {                         return false;                     },      

[jQuery] Re: superfish menu only drops down

2008-09-24 Thread tsnj
Thanks Joel, I found this: http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test.zip Is this the latest version that was worked on? I'll play with it a bit today.

[jQuery] Re: superfish menu only drops down

2008-09-24 Thread tsnj
Just a quick look at the test page shows that it appears to work fine in both Firefox 3.01 and IE8 beta2, but not at all in Opera 9.52. I haven't put it on the test server yet though.

[jQuery] Re: New jQuery logo usage on tshirts and stuff

2008-09-24 Thread Aaron Barker
thanks So will you guys be providing tshirts, hats, etc to purchase at some point? I know people going to the jQuery conference thing in boston get a shirt, but what about the rest of us poor schlubs? On Sep 23, 10:23 am, Rey Bango [EMAIL PROTECTED] wrote: Hi Aaron, The logo you're linking

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

2008-09-24 Thread hcvitto
in the plugin code there's this shortdate parser, ts.addParser({ id: shortDate, is: function(s) { return /\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s); }, format: function(s,table) { var

[jQuery] Re: superfish menu only drops down

2008-09-24 Thread tsnj
Just a quick look at the test page shows that it appears to work fine in both Firefox 3.01 and IE8 beta2, but not at all in Opera 9.52. I haven't put it on the test server yet though.

[jQuery] Re: How to unbind and rebind cluetips plug-in?

2008-09-24 Thread ngadde
I set ajaxCache to false but problem did not resolve. Here is the problem. When page load cluetip binding all it's URL's then caching all these. On my page based on user action I need to rebuild these URL's. but cluetip using whatever it's initially build. These URL's has query string so Query

[jQuery] Re: New jQuery logo usage on tshirts and stuff

2008-09-24 Thread Rey Bango
Yep. We're planning on doing that after the conference. Rey... Aaron Barker wrote: thanks So will you guys be providing tshirts, hats, etc to purchase at some point? I know people going to the jQuery conference thing in boston get a shirt, but what about the rest of us poor schlubs? On Sep

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

2008-09-24 Thread MorningZ
Well, for one, i copied and pasted that code from another post i made a month ago that was *very* similar... in doing so, i didn't change the name of the parser that got wired up, that would be one reason why it may not work (get wired up), but i can tell you that the sorting parser itself most

[jQuery] Re: autocomplete

2008-09-24 Thread Jörn Zaefferer
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 documentation?

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

2008-09-24 Thread MorningZ
Working example of above: http://paste.pocoo.org/show/86103/

[jQuery] Re: autocomplete

2008-09-24 Thread MorningZ
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: Dynamic created element doesn't respond to event

2008-09-24 Thread mario
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 PROTECTED]

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

2008-09-24 Thread hcvitto
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: jQuery and Rails Block

2008-09-24 Thread Bob O
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

[jQuery] howto integrate callback into a plugin

2008-09-24 Thread casavecchio
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] 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: pa href=# onclick=changeFLV()Test/a/p div id=playerContainer /div script type=text/javascript function changeFLV() { //$(#playerContainer).html( document.getElementById(playerContainer).innerHTML = object

[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 as

[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 traced

[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

[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: 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] 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

[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

[jQuery] Re: Need help with jQuery array

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

[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:

[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/ ?php /** * Transport for Cross-domain AJAX calls * * This is an implementation of a transport channel for utilizing cross-domain * AJAX calls. This script is passed the data through AJAX along with two special * hidden

[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: script type=text/javascript $(document).ready(function() { $(window.frames[0]).load(function() { alert('done loading'); }); }); /script It works in Firefox, but not in

[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: 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

[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: 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: 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.offsetWidth;

[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

[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:

[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

[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:

[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!:

[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: 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... param name=base value=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

[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);

[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 --

[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

[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);

[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 =

[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: When

[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

[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] 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 bHello World!/b // fails to assign click handler: $(b).wrap($(a href='#'/).click(function(){

[jQuery] jquery callback issue

2008-09-24 Thread msk
hi, i am using jquery in drupal i have a list like Div class='room' car1 (edit) car2 (edit) /div edit=(a href=javascript:void(0) class=editedit/a) that was link define behind edit caption. now in jquery: $(.edit).click(function(){ add_new_room(); return false; }) function

[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

[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

[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] wrote:

[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

[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() instead of

[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: 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 how to

[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] 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

[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)

[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($('a href=#/a').click(function(){ alert(foo); }); Or if you want the click event assigned to a and not b $('b').wrap($('a href=#/a').parent().click(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

[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 UL tag an id 'menu', and replace your document.ready code with this: $(document).ready(function() { $('ul#menu li a').each (function () {

[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 =

[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

[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].

[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 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 onhashchange

[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: 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

[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

[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] 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 =

[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

[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* $('bTESTE/b').appendTo('body').click(function(){ // append element to the *parent frame* and assing a click handler to it

[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('a href=#Inserted from iFrame/a br /'); // element in

[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

[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

  1   2   >