[jQuery] Re: Jquery gaming....

2008-08-26 Thread Paul Bakaus
Hi there, I do have some experience with it, building a isometric game engine in jQuery right now. Best you ask me your questions directly via email, since I don't often read the standard jQuery lists. Cheers, Paul On Aug 26, 8:15 pm, Aaron <[EMAIL PROTECTED]> wrote: > Hi I am currently working

[jQuery] Using keypress for key combination

2008-08-26 Thread hubbs
I have been looking for a way to have a key combination fire an alert, but searching the group I have not really found what I was looking for. There are some plugins that I have found, but I would rather just use jQuery without anything additional. So, I found this: $("input:text").bind("keypre

[jQuery] Re: ajax IE error - only loads parts of the response

2008-08-26 Thread MorningZ
Without really getting into your code too much (i've never seen someone try to split on a long string like that), have you considered using JSON (using the getJSON method) to retrieve this data instead? then you could say $('#popList').html(response.List); $('#holdBands').html(response.Bands);

[jQuery] Re: Turn off elements depending on current URL

2008-08-26 Thread Dave Methvin
Try putting your code inside a document.ready handler; otherwise it will run too soon.

[jQuery] Re: Superfish - Evenly spread menu through entire width of ul

2008-08-26 Thread Joel Birch
Hello, If for example you have 5 main menu items, you could set the top level li elements to width:20% (or an equivalent pixel measurement) so that the anchors, being display:block, expand to fill their li parent. You may also want to set text-align:center on those anchors. Good luck. Joel Birc

[jQuery] ajax IE error - only loads parts of the response

2008-08-26 Thread pedalpete
Hey Gang, I've got two problems with IE (6&7) on a page that works perfectly in Safari. The problem seems to be that when retrieving an ajax response, only parts of the response are properly loaded into the page. if you want to take a look, I've set up a test environment at http://zifimusic.com

[jQuery] Re: Disable jQuery Temporarily

2008-08-26 Thread MorningZ
Why not take the angle of fixing the Javascript error? show the code!

[jQuery] Ajax and Rails

2008-08-26 Thread s.ross
I'm totally sure this has been asked and answered 1_000_000 times, but Google has let me down on this one. I'm using a link to trigger an ajax call that create a row in the database. On successful completion, a row in the DOM is appended. Getting around to the question (you knew there was

[jQuery] Re: Plugin understanding question

2008-08-26 Thread Seungjin
Thank you so much guys. It really helped. On Aug 26, 2:34 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > Instead of > >    size() > > He meant: > >    this.size() which is the same as this.length > > Indeed!  Thanks for the correction, Ariel.

[jQuery] Disable jQuery Temporarily

2008-08-26 Thread Eureka DC
For some reason, I can't run a regular JavaScript prototype without a jQuery error saying something like "this.blah" is not a function. So, is there either a way to disable jQuery's trigger handler temporarily or disable jQuery entirely temporarily without removing the jQuery script? Thanks in a

[jQuery] Re: [autocomplete] Auto populate form input field based on another

2008-08-26 Thread VirusMinus
Hi Jorn, Is there a way to call a function when no results are returned by the input the user has typed into the autocomplete? This would be ideal as an option or a method for the autocomplete object. I've seen a few people ask for this on your site and also here. You mentioned including such f

[jQuery] Re: possible bug in each()? moving from 1.2.3 to 1.2.6

2008-08-26 Thread mausch
Thanks Ariel! On Aug 26, 3:43 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > You can either update Prototype/Scriptaculous to 1.8.x or try the > latest jQuery revision on the trunk. That should be 'patched'. > > -- > Ariel Fleslerhttp://flesler.blogspot.com > > On Aug 25, 1:59 pm, mausch <[EMAIL

[jQuery] Superfish - Evenly spread menu through entire width of ul

2008-08-26 Thread Ara
Quick question (hopefully quick). I'm trying to use superfish to create a nav bar style menu, this all works as advertised, however I've set the width of the to be 960px, I'd like all the li's to spread evenly through the entire 960px. The default behavior is squished to the left, I know I coul

[jQuery] UK salaries

2008-08-26 Thread Andrew Hedges
Hi all, Can anyone provide guidance on ranges for salaries in the UK for experienced jQuery / JavaScript / UI programmers? Cheers, -Andrew

[jQuery] Re: tablesorter.js default sort

2008-08-26 Thread me-and-jQuery
Hello. This is exactly what I also need (for specific row specific first-click order). But I found simple turnaround with writing own parser which add negative sign (-) at the begining (I know that css still shows wrong order, but ok, the main problem is solved with that). But I would love if we

[jQuery] Nesting Selector

2008-08-26 Thread CaCaEgg
Hello, i got a little problem with using selector, i want to using selector to select a range of element, can i use as following code? $(object:gt(lowerBound-1):lt(upperBound+1)).doFunction(); thx!

[jQuery] Re: Understanding event delegation

2008-08-26 Thread hubbs
Bummer that is has to be done this way. If I have a large block of code that is needed for the click event, I would have to put it twice in my code to account for the spans inside of my anchor. Even with doing this, and having more js, is it still a better idea to use event delegation rather tha

[jQuery] Re: Password and Equalto

2008-08-26 Thread Jörn Zaefferer
The demo is here: http://jquery.bassistance.de/validate/demo/ I just commited the proposed solution to svn, see http://dev.jquery.com/view/trunk/plugins/validate/demo/ Jörn On Wed, Aug 27, 2008 at 12:05 AM, MorningZ <[EMAIL PROTECTED]> wrote: > > "I noticed the same thing in the demo on the jquer

[jQuery] Re: Password and Equalto

2008-08-26 Thread MorningZ
"I noticed the same thing in the demo on the jquery example" Where is this example?

[jQuery] Re: [autocomplete] Auto populate form input field based on another

2008-08-26 Thread Jörn Zaefferer
The download includes demo PHP scripts that you can look at. Or check it online via http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/search.phps (linked from http://jquery.bassistance.de/autocomplete/demo/) Jörn On Tue, Aug 26, 2008 at 10:11 PM, Mattl <[EMAIL PROTECTED]> wrote: > > Tha

[jQuery] Re: Password and Equalto

2008-08-26 Thread Jörn Zaefferer
The plugin is unable to detect that scenario, and implementing support for it is not trivial. A workaround triggers validation on the confirm field when the password field is blurred. There is an example in the Marketo demo, second step: http://jquery.bassistance.de/validate/demo/marketo/step2.htm

[jQuery] Re: AutoComplete -bassistance

2008-08-26 Thread Jörn Zaefferer
Try this instead: $("#name").autocomplete("employeedirectory?command=ajax&limit=10"); Appending the parameter isn't your task - the plugin does handle that. Just as the event handling... I can highly recommend to read a few jQuery tutorials, eg. start with this http://docs.jquery.com/How_jQuery_

[jQuery] Re: Multiple FCKEditor instances & validate plugin problem

2008-08-26 Thread Diogo Abdalla
Well, at least Im not alone. Since Im on a very, very tight deadline (tomorrow), I guess I will try my luck with another editor, like that Tiny one. On Tue, Aug 26, 2008 at 4:34 PM, David Di Biase <[EMAIL PROTECTED]>wrote: > It would be so great if someone had an answer for this. I was strugglin

[jQuery] Re: Plugin understanding question

2008-08-26 Thread Mike Alsup
> Instead of >    size() > He meant: >    this.size() which is the same as this.length Indeed! Thanks for the correction, Ariel.

[jQuery] Re: Plugin understanding question

2008-08-26 Thread Ariel Flesler
> You will see an alert regardless of the selection criteria.  But if > you do this it will not alert: > > jQuery.fn.myPlugin = function() { >     if (size() > 0) >         alert ( 'hello world' ); >     return this; > }; Instead of size() He meant: this.size() which is the same as this.len

[jQuery] Re: Understanding event delegation

2008-08-26 Thread Ariel Flesler
Indeed, that's one of them (the worst I think). jQuery.Listen handles this special case successfully (elements inside a link, only 1 level). http://demos.flesler.com/jquery/listen/ -- Ariel Flesler http://flesler.blogspot.com On Aug 26, 6:01 pm, Brian Schilt <[EMAIL PROTECTED]> wrote: > > so

[jQuery] Re: Understanding event delegation

2008-08-26 Thread Brian Schilt
> so when you have an anchor set as > block, with a few spans to style text, it is hard to click on the > actual anchor to give it the class. Is this normal? That is a normal reaction when using event delegation and its one of the "difficulties" that Ariel was probably referring to. You'll need

[jQuery] Re: [autocomplete] Auto populate form input field based on another

2008-08-26 Thread Mattl
Thanks Jörn, Is there a tutorial or demo that shows what the php file that queries the db should look like, or in what format the results need to be returned in? ie what does 'my_autocomplete_backend.php' look like? I've not been able to find one. Thanks in advance, Matt On Aug 25, 11:32 pm, "

[jQuery] Re: slide()/show()/hide() does not expand across columns

2008-08-26 Thread J Junos
My first post was lacking a bit of info: This works fine in IE7 (7.0.5730.13) it does NOT work in Firefox 3 (3.0.1) You got it though Bob, show("slow") refused to work. And actually, continually hiding/showing the element would create an odd buffer between the two cells. Removing the "slow"

[jQuery] jQuery 1.2.X's .clean() mangles namespaced elements

2008-08-26 Thread Antonio Collins
The .clean() method tries to replace empty elements defined as with . Here's the code from .clean(): // Convert html string into DOM nodes if ( typeof elem == "string" ) { // Fix "XHTML"-style tags in all browsers elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front,

[jQuery] Re: Multiple FCKEditor instances & validate plugin problem

2008-08-26 Thread David Di Biase
It would be so great if someone had an answer for this. I was struggling with the issue this last week! Thanks, - David D. On Tue, Aug 26, 2008 at 12:59 PM, Diogo <[EMAIL PROTECTED]> wrote: > > Nobody? > > On Aug 25, 10:55 pm, Diogo <[EMAIL PROTECTED]> wrote: > > Hey all. > > > > Im having

[jQuery] Re: Understanding event delegation

2008-08-26 Thread hubbs
Hmmm, I take that back. It still seems like the is() is able to select child elements of the anchor, so when you have an anchor set as block, with a few spans to style text, it is hard to click on the actual anchor to give it the class. Is this normal? On Aug 26, 11:37 am, hubbs <[EMAIL PROTECT

[jQuery] Re: ui.dialog & Accessibility (Screen Readers)

2008-08-26 Thread Richard D. Worth
Please post this to the following lists: http://groups.google.com/group/jquery-ui http://groups.google.com/group/jquery-a11y Thanks. - Richard On Tue, Aug 26, 2008 at 1:20 PM, Shao Kang Tat <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a webpage that has multiple dialogs. Since our goal i

[jQuery] Re: Plugin understanding question

2008-08-26 Thread Mike Alsup
> I've come to a situation of making one .js file for many pages. > > So, some pages have certain divs and some don't. > > My situation is that whenever a plugin was defined for a certain div > in a certain page, > > I seem to see it being invoked even on pages that don't have that div. > > For ex

[jQuery] Re: slide()/show()/hide() does not expand across columns

2008-08-26 Thread Bob Gregg
I've previously implemented table row show/hide in a production app, so I went back to check - the main difference between your code and mine was that you're using 'slow' in your toggle() statement. When I eliminated that and just used toggle() (or show() / hide() ), your jQuery code seems to wor

[jQuery] Re:

2008-08-26 Thread [EMAIL PROTECTED]
I tried that and didnt work. Also, what you said put me down, heh. Thanks for the help! I will try to do some server side script then. On Aug 26, 11:53 am, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I want to make a script to search in a page for script src='http://* > > elements on a page for a

[jQuery] remove xml nodes

2008-08-26 Thread jjh
I have this issue in IE7 where I do an ajax call that returns a XML dataset. I would like to remove certain XML nodes before displaying it into the page. The remove() function works in Firefox but now in IE7. Example: $("award[id='3']",xmldata).remove(); //works in FF but not IE Can someone help

[jQuery] Plugin understanding question

2008-08-26 Thread Seungjin
Hi, I've come to a situation of making one .js file for many pages. So, some pages have certain divs and some don't. My situation is that whenever a plugin was defined for a certain div in a certain page, I seem to see it being invoked even on pages that don't have that div. For example if pa

[jQuery] Re: slide()/show()/hide() does not expand across columns

2008-08-26 Thread Bob Gregg
I've implemented show/hide of table rows in a production app, so I checked my own code; the primary difference is that you're using 'slow', and I wasn't. When I copied your code and removed the 'slow' parameter, it worked just fine. Maybe this is a bug in the implementation of fade effects speci

[jQuery] Re: detemine css properties?

2008-08-26 Thread J Junos
I believe you can simply do a if( $(".information").css("background-color") == "#fff" ) { // your code } else { // the rest of your code } http://docs.jquery.com/CSS/css#name This is probably a better way of checking for equality among css though Junos On Aug 26, 1:18 pm, weegekid <[

[jQuery] Jquery gaming....

2008-08-26 Thread Aaron
Hi I am currently working on a website getting close to finishing it so I wanted to try and get ready for my other project after the website is done and ready. I plan on making a online game. Is their any good place where I can learn how to use jquery for 2d adventure type games??

[jQuery] Password and Equalto

2008-08-26 Thread koolkat
I have two input boxes: password and password confirmation. The password confirmation has the following validation code: equalTo: "Please enter the same password as above" This works fine as long as the user enters the password first. However, if the reverse happens and the user enters the confir

[jQuery] Re: possible bug in each()? moving from 1.2.3 to 1.2.6

2008-08-26 Thread Ariel Flesler
You can either update Prototype/Scriptaculous to 1.8.x or try the latest jQuery revision on the trunk. That should be 'patched'. -- Ariel Flesler http://flesler.blogspot.com On Aug 25, 1:59 pm, mausch <[EMAIL PROTECTED]> wrote: > Nevermind, it was executing prototype's each() (I was also includi

[jQuery] Re: Something equivalent to Prototype's Class.create() ??

2008-08-26 Thread Ariel Flesler
As an alternative (unconventional) possibility, there's jQuery Collection: http://flesler.blogspot.com/2008/01/jquerycollection.html -- Ariel Flesler http://flesler.blogspot.com On Aug 25, 4:17 pm, Shao Kang Tat <[EMAIL PROTECTED]> wrote: > Hello all, > > I've googled this topic... > I found

[jQuery] Re: full blown news ticker

2008-08-26 Thread Ariel Flesler
The plugin SerialScroll can be used for news tickers like the one you show. It has prev, next, navigation 'at random' and auto sliding. Note that the animation is done via scrolling. http://demos.flesler.com/jquery/serialScroll/ -- Ariel Flesler http://flesler.blogspot.com On Aug 26, 4:32 am, A

[jQuery] Re: Understanding event delegation

2008-08-26 Thread hubbs
Thank you, that fixed it. Is the limitation of is() a javascript limitation, or a jQuery limitation? Would this be coming in a new version of jQuery? Also, with event delegation, would you recommending using it for all event instances on a page? I have a few places where a single click event i

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-26 Thread Ariel Flesler
http://docs.jquery.com/FAQ#Why_do_my_events_stop_working_after_an_AJAX_request.3F -- Ariel Flesler http://flesler.blogspot.com On Aug 26, 12:43 pm, Will <[EMAIL PROTECTED]> wrote: > Ok Diego, I found a plugin wich works perfectly : > "jquery live_bind" > > an example of use : > > $.live_bind("a.

[jQuery] Re: jQuery 1.2.X's .clean() mangles namespaced elements

2008-08-26 Thread Ariel Flesler
I haven't looked in detail, but it seems like a valid bug. Can you create and ticket on the tracker ? http://dev.jquery.com/newticket Thanks -- Ariel Flesler http://flesler.blogspot.com On Aug 26, 11:23 am, Antonio Collins <[EMAIL PROTECTED]> wrote: > The .clean() method tries to replace empty e

[jQuery] Re: Understanding event delegation

2008-08-26 Thread Ariel Flesler
Note that is() doesn't accept complex selectors (yet). The reason of your problems is probably this. Event delegation is surely the best approach, if you can live with its difficulties. -- Ariel Flesler http://flesler.blogspot.com On Aug 26, 2:31 pm, hubbs <[EMAIL PROTECTED]> wrote: > I am worki

[jQuery] detemine css properties?

2008-08-26 Thread weegekid
Hi, How (if it's possible) would I determine a specific css property for an element? For example, I have the following code on my page: .information {display:block; background-color: #FFF} ipsum lorem --- I'd then like to use jquery to determine the background-color of the element. So

[jQuery] slide()/show()/hide() does not expand across columns

2008-08-26 Thread J Junos
My issue is that I want to allow users to hide and show expanded data. Yet for some reason, when I implement this in jQuery, the expanded rows always seem to stay in a single column, instead of returning back to the full table width. I can get it to work in prototype, but jquery won't. Anyone els

[jQuery] Re: Multiple FCKEditor instances & validate plugin problem

2008-08-26 Thread Diogo
Nobody? On Aug 25, 10:55 pm, Diogo <[EMAIL PROTECTED]> wrote: > Hey all. > > Im having a hard time getting FCKEdtitor plugin and the "validate" > plugin to work along, so please, any advice is very welcome. Im using > the fckeditor plugin on all fckeditors, adding the to textareas using > the met

[jQuery] Understanding event delegation

2008-08-26 Thread hubbs
I am working to replace all of my uses of livequery with event delegation (is this even a good idea?) and have a few questions. I have a simple script that will add a "selected" class to a link when it is clicked. It does work using event delegation, but it seems that it is not limiting it to an

[jQuery] ui.dialog & Accessibility (Screen Readers)

2008-08-26 Thread Shao Kang Tat
Hello, I have a webpage that has multiple dialogs. Since our goal is to make the pages as Accessible as possible (we support the screen reader JAWS 9), each time a dialog comes up, we must place focus on something inside the dialog so that the screen reader knows where to continue reading from.

[jQuery] Re: Accordion open when opening a new page

2008-08-26 Thread GasGiant
I would like to do the same and have tried a few things, but it would be most helpful if Accordion would read a variable passed in the URL, such as ?accordionIndex=2. It already will read cookies to do this, so adding the reading of a GET should be pretty easy. Okay, so I haven't figured it out y

[jQuery] Re: Using instead of with Superfish

2008-08-26 Thread Joe
Just a note for anyone who tries to do the same thing as me: Be sure that the you use doesn't interfere with the that superfish puts in to hold the arrows. otherwise, everything will go all screwy and you'll be able to see both arrows. Alternately, if you remove the spans and use text like me

[jQuery] Re: How do I find out what the type of the HTML object?

2008-08-26 Thread Mike Alsup
> $(document).click(function(e){ >    var target = $(e.target); > > }) > > How do I find out what HTML object (A, SPAN, DIV...) the target var > is? var tag = e.target.tagName; :-)

[jQuery] How do I find out what the type of the HTML object?

2008-08-26 Thread temega
So I got this code: $(document).click(function(e){ var target = $(e.target); }) How do I find out what HTML object (A, SPAN, DIV...) the target var is? Thanks.

[jQuery] Re: AutoComplete -bassistance

2008-08-26 Thread kreiss
Jorn, Thanks for sticking w/ me...I almost have it! However below is the url i'm sending but the "q" value is not being recognized in my servlet...I'm I sending it over correctly? //JAVASCRIPT $(function() { $("#name").autocomplete("employeedirectory?command=ajax&q=" + document.forms[0].emp

[jQuery] jquery and ThickBox question

2008-08-26 Thread Spinn
I'm working on a free project, and having an issue. http://208.101.28.218/?page_id=3 - the Monday link SHOULD be popping up in a 300x300 ThickBox, but it's just popping up in the same page. I've loaded jquery, Lightbox and the CSS, so I'm stumped. Any ideas?

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Ok Diego, I found a plugin wich works perfectly : "jquery live_bind" an example of use : $.live_bind("a.popup_link", 'click', function(){ $("#"+popup+"_popup").css("margin-left","-"+ (width.substr(0,width.length - 2) / 2)+"px"); $("#"+popup+"_popup").fadeIn("slow"

[jQuery] slideToggle not working correclty in i.e.

2008-08-26 Thread [EMAIL PROTECTED]
Hi guys, I'm very confused because i had a solution working properly on both browsers ( firefox3. i.e.6/7). But suddenly its not working anylonger and i dont see why. I have some widgets in my page which can be toggled.. this is the html code for one of these widgets

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-26 Thread Paul Mills
Hi, I think you need to put the code for the second alert into the callback function of the load(). So event.js should look something like this: $(document).ready(function() { // to load the content.html $("a#b1").click( function() { $("#c").load("content.html",fu

[jQuery] Re: [ $(document).ready ] it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Hi On 26 août, 16:25, "diego valobra" <[EMAIL PROTECTED]> wrote: > Hi , i had the same problem and i solved it including the function you need > in the loaded page like this: Thanks Diego for your help, but i already thought about this... and there is still a problem... Indeed, if i want to ha

[jQuery] Re: input:empty and remember password

2008-08-26 Thread sperks
Resolved: Took what Karl suggested and reconfigured it into my original script. The key here was to change the assumption that the area would be empty with the page was ready, thus putting the background styling in onload rather than trying to remove it afterward. HTML: username

[jQuery] Re: Fade() Function not Working on Flash Objects in Firefox

2008-08-26 Thread Jim D
Correction: I am having the same problem in Safari

[jQuery] Re: jQuery Coding Standards

2008-08-26 Thread Eric Martin
Check out this "best practices" thread from a couple weeks ago: http://groups.google.com/group/jquery-en/browse_thread/thread/3d5f3ebd49158822/22278429aeaad489 -Eric On Aug 25, 11:46 pm, johannesf <[EMAIL PROTECTED]> wrote: > Hello > > I'm looking for "coding standards" for jQuery but find it di

[jQuery] Re:

2008-08-26 Thread Mike Alsup
> I want to make a script to search in a page for script src='http://* > elements on a page for a site full of malicious scripts (added through > a bug in the input form of the news system of a restricted area...), > so I can make the script remove them on a page load (yeah, why not fix > the secu

[jQuery]

2008-08-26 Thread [EMAIL PROTECTED]
Hi everybody, I want to make a script to search in a page for script src='http://* elements on a page for a site full of malicious scripts (added through a bug in the input form of the news system of a restricted area...), so I can make the script remove them on a page load (yeah, why not fix the

[jQuery] Re: Plugin: Validation: Error message order

2008-08-26 Thread caseyw
That did it for me. Thanks Jörn.

[jQuery] Fade() Function not Working on Flash Objects in Firefox

2008-08-26 Thread Jim D
Hello all, I have a page with an iframe inside of a div tag. In the iframe, I have a page with several flash objects. Each of the flash objects is a button that, when clicked, will load another page into the iframe. There is also functionality to show and hide the div containing the iframe. Th

[jQuery] Re: [ $(document).ready ] it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Hi Diego On 26 août, 16:25, "diego valobra" <[EMAIL PROTECTED]> wrote: > Hi , i had the same problem and i solved it including the function you need > in the loaded page like this: Thanks for this, but I thought about it before, I forgot to say it... Discovering this group, I found some guy who

[jQuery] Re: Multiple Callbacks within an load, post, get or Ajax Call (to get a more detailed progress)

2008-08-26 Thread pello1337
Nobody? On 22 Aug., 12:00, pello1337 <[EMAIL PROTECTED]> wrote: > Hi, > I am not a native englisch speaker so please excuse my language. > > I am developing a project which handles a lot of data. Yesterday I > thought about a progressbar, which indicates the actual status of an > Ajax Call (Progr

[jQuery] Re: [ $(document).ready ] it doesn't work with HTML loaded dynamically

2008-08-26 Thread diego valobra
Hi , i had the same problem and i solved it including the function you need in the loaded page like this: first page: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> Test $(document).ready(function() { // to load the content.html

[jQuery] Re: input:empty and remember password

2008-08-26 Thread sperks
Karl, Thanks, your code reads well and understanding that you hadn't tested it, I threw it in to give it a whirl. It didn't work, but I'm seeing if I can put the tweaks in where needed. I'll probably end up bloating it up a little, but I'll come back with the solution if I can get it to play nic

[jQuery] [ $(document).ready ] it doesn't work with HTML loaded dynamically

2008-08-26 Thread Will
Hello, I prefer prevent you that I'm french. I post on this group cause french groups cannot answer to this problem : When I add dynamically HTML code in a page, Jquery doesn't take charge of it. I hope that this example will be more understandable : 3 files : index.html, event.js, content.htm

[jQuery] Autocomplete and multidimension data

2008-08-26 Thread foxtrot
I have a datastructure looking like this: var customers = [ { name: "A", projects: [{name:"val1",name:"val2",name:"val3"}] }, { name: "B", projects: [{name:"val1",name:"val2",name:"val3,name:"val4,name:"val5"}] }, . { name: "", projects: [{name:"val1",name:"val2"}]

[jQuery] Re: input:empty and remember password

2008-08-26 Thread sperks
Thanks Andy, This is a good script for switching input content, but the problem with a login form is that one of the fields is a password field and displays as . Therefore, I'm using a background image that is removed when there's content. On Aug 25, 4:33 pm, "Andy Matthews" <[EMAIL PRO

[jQuery] Re: Problem with Tutorials:How jQuery Works

2008-08-26 Thread Andy Matthews
"Oh?! You mean I have to include jQuery before the examples will work?" :) I've done that before without realizing it. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Tuesday, August 26, 2008 8:20 AM To: jquery-en@googlegroups.com Subject:

[jQuery] Re: Problem with Tutorials:How jQuery Works

2008-08-26 Thread Karl Swedberg
Hi there, First thing to do is make sure the reference to the jquery.js file is correct. That sort of error usually occurs when it can't find the jquery.js file. In Firefox, open the script tab in Firebug (If you don't have this extension, get it here: http://www.getfirebug.com/ ) and cli

[jQuery] Re: Problem with Tutorials:How jQuery Works

2008-08-26 Thread Mike Alsup
> I'm having a problem running the first simple example in this > tutorial. here is my code: > > >   >     > >   > > $(document).ready(function(){ >    $("a").click(function(){ >    alert("Thanks for visiting!"); >  }); > >  }); >     >   >   >     http://jquery.com/";>jQuery >   >   > > S

[jQuery] Re: jQuery.data and pre-rendered pages.

2008-08-26 Thread Mike Alsup
> The problem is that i don't have access to the metadata plugin. > > So the question is still... is this possible with the built in > function $.data? No, the data function does not extract data from the markup. "data" is a convenient way of getting and storing runtime state. You could write

[jQuery] SOT: Documenting keyboard entry for select element

2008-08-26 Thread Dan G. Switzer, II
Has anyone seen any good documentation on how the keyboard selection works for the element in the various browsers. It looks like the behavior is pretty different in each browser. Firefox and IE7 allow variations of doing "ba" to select the first option with a string starting with "ba", however

[jQuery] Re: jQuery Calling Functions

2008-08-26 Thread Mike Alsup
> My code is (I am using a plugin to make my table searchable): > > $(document).ready(function() >     { > >                 $('table#ratings tbody tr th').quicksearch({ >                         attached: "table#ratings", >                         position: "before", >                         hid

[jQuery] Re: jQuery.data and pre-rendered pages.

2008-08-26 Thread P. Skoog
The problem is that i don't have access to the metadata plugin. So the question is still... is this possible with the built in function $.data? Patrik On Aug 26, 1:20 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > The metadata plugin page describes several ways to do this: > > http://plugins.jquer

[jQuery] Problem with Tutorials:How jQuery Works

2008-08-26 Thread Caveman
I'm having a problem running the first simple example in this tutorial. here is my code: $(document).ready(function(){ $("a").click(function(){ alert("Thanks for visiting!"); }); }); http://jquery.com/";>jQuery Seems pretty simple but does not work for

[jQuery] Re: Using instead of with Superfish

2008-08-26 Thread Joe
Thanks Joel, Putting in blank anchors worked perfectly. thanks -Joe On Aug 25, 10:51 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Joe, > > Be aware that by using spans instead of anchors you will be breaking > keyboard access to the submenus. Maybe using an anchor without a href > attribut

[jQuery] Re: jQuery Accordion Library and jQuery Lightbox Plugin Conflict?

2008-08-26 Thread Jörn Zaefferer
Try to add a class like "header" to the accordion anchors, and specify header: "a.anchor" when initializing the accordion. Jörn On Tue, Aug 26, 2008 at 7:19 AM, swaters <[EMAIL PROTECTED]> wrote: > > Hello, > > Does anybody know what is causing this and could hint on how to fix > this: > > I have

[jQuery] jQuery Calling Functions

2008-08-26 Thread Eiso
Dear jQuery Group, I am new to jQuery and ran into my first obstacle that I can't solve by Googleing. My code is (I am using a plugin to make my table searchable): $(document).ready(function() { $('table#ratings tbody tr th').quicksearch({ attached:

[jQuery] Re: problem using form.js and nice edit together.

2008-08-26 Thread Mike Alsup
> well.. no Mike I think you got it wrong... > > OK I have written the code to explain the above problem and hosted it > here...http://www.offthegroundmedia.com/edit/ > > In this form when I change the ID combo box I retrieve data via ajax > (using forms.js for jquery) and fills in to a text box(t

[jQuery] Re: Finding form tag wrapping around image

2008-08-26 Thread Mike Alsup
> Using sDumper( $(this).parents('form') ); to dump the result visually > > I can see that length = 0, and there is only one parent object - tagName = > 'IMG' > > So to me at least it doesnt look like its doing what it should? > > Any further help would be great - thanks! I think you need to po

[jQuery] Re: jQuery.data and pre-rendered pages.

2008-08-26 Thread Mike Alsup
The metadata plugin page describes several ways to do this: http://plugins.jquery.com/project/metadata Mike On Aug 26, 2:55 am, "P. Skoog" <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to store meta data in html-tags on the page without the > help of jQuery. > > The problem I'm having is

[jQuery] Re: Autocomplete data lookup from DB

2008-08-26 Thread DineshRao
I never thought it will this simple, i was trying with JSON, just a new line at the end of every item has solved the problem. Thanks a lot ... On Aug 26, 9:16 am, VirusMinus <[EMAIL PROTECTED]> wrote: > Whats the data like at the moment? > > By default the autocomplete takes a list with each list

[jQuery] Re: Autocomplete data lookup from DB

2008-08-26 Thread VirusMinus
Whats the data like at the moment? By default the autocomplete takes a list with each list item on a new line or a space. eg. ITEM1 ITEM2 ITEM3 ... ... or ITEM1 ITEM2 ITEM3 On Aug 25, 11:16 pm, DineshRao <[EMAIL PROTECTED]> wrote: > I am trying to populate the autocomplete with list fetched

[jQuery] Re: Re[jQuery] name several divs

2008-08-26 Thread roadtaken99
Greetings, (i'm still very much a beginner in js and jquery. sorry if i'm missing something obvious). Am i missing something or the function above only returns the first occurence of the divs with id "foo-" (instead of "all divs that have an id that starts with "foo-"")?? what do i need to go

[jQuery] full blown news ticker

2008-08-26 Thread Almir Karic
i'm looking for a full blown news ticker, features i'd like to have: - automatic scolling - navigation - jquery the ticker on http://avalanche.nhl.com/ seems to do what i'd like it to, the problems are that i probably can't just take theirs, second problem being it is not jquery :-) any recomm

[jQuery] Re: making this work with drupal

2008-08-26 Thread MarvinC
Wow thanks for this :D at last an answer that works :) Thanks and regards On Aug 20, 4:22 pm, nikhil <[EMAIL PROTECTED]> wrote: > In jquery.autocomplete.js  make changes  in following function which > is on line 341 > > -> change parameter q with any other character or comment this line of > par

[jQuery] Accordion open when opening a new page

2008-08-26 Thread phew72
Is there any way to Accordion something open as soon as the page loads? I'd like a group to accordion open when a user has been sent there. Cheers, PH

[jQuery] autocomplete function to fire when no results

2008-08-26 Thread VirusMinus
I'm using bassistance.de , Jörn Zaefferer's autocomplete plugin and loving it. However I need to be able to call a function or run some javascript code if the inputted text by the user into the autocomplete field returns no results. This would be ideal as an option or a method for the autocomple

[jQuery] Re: problem using form.js and nice edit together.

2008-08-26 Thread Hasanga
well.. no Mike I think you got it wrong... OK I have written the code to explain the above problem and hosted it here... http://www.offthegroundmedia.com/edit/ In this form when I change the ID combo box I retrieve data via ajax (using forms.js for jquery) and fills in to a text box(title) and t

  1   2   >