[jQuery] Re: clone() problem in IE7

2008-01-22 Thread David Serduke
Check out this ticket and the proposed patch to see if it fixes your problem. http://dev.jquery.com/ticket/2184 David On Jan 22, 4:36 pm, Jason Davies <[EMAIL PROTECTED]> wrote: > Does anyone know of a workaround? > > Jason > > On Jan 21, 3:37 pm, Leu <[EMAIL PROTECTED]> wrote: > > > > > Yes th

[jQuery] Re: Jguery and form plugin

2008-01-22 Thread Mike Alsup
Where are you expecting the result to go? You've got a callback function there but it doesn't do anything: // bind 'myForm' and provide a simple callback function $('#myForm').ajaxForm(function() { return false; }); The result is passed into that callback, for example: $('#myForm').ajaxForm

[jQuery] Re: gFeed: Pre-FeedControl()?

2008-01-22 Thread Mike Alsup
This is the only older version I could find: http://www.malsup.com/jquery/gfeed/jquery.gfeed.1.0.1.js Mike On Jan 22, 2008 8:41 PM, Micky Hulse <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to take a gander at the gFeed plugin before it was > converted to use the FeedControl() goodness..

[jQuery] Re: Anyone seen "toggleClass is not defined"

2008-01-22 Thread Charles K. Clarkson
hotsauce wrote: : I keep receiving an error with this bit of code on click : : $(document).ready(function() { :$('div.example').click( function() { : $(this).toggleClass("activated"); :}); : }); : : It works, but I keep receiving an error stating that : "toggleClass is not defin

[jQuery] Re: Q: on handling GET JSON

2008-01-22 Thread Hamish Campbell
> This code suggests to me that jQuery expects such data to come only from > relative URLs, but I don't understand what justifies this expectation. security? Prevent XSS attacks most likely.

[jQuery] gFeed: Pre-FeedControl()?

2008-01-22 Thread Micky Hulse
Hi, I would like to take a gander at the gFeed plugin before it was converted to use the FeedControl() goodness... Anyone know where I could download older versions? Thanks! Cheers, Micky

[jQuery] Accessing URL params direct in JS files?

2008-01-22 Thread the_woodsman
Hi, This is perhaps bordering on a general JS question, but here goes: I'd love to pass GET params (&dog=1&cat=2 etc) to JS files, not just HTML files. For example,

[jQuery] Re: A Beginner Question

2008-01-22 Thread Hamish Campbell
nextAll behaves differently from nextUntil On Jan 23, 12:34 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Karl Swedberg schrieb: > > > Hi Volkan, > > > You could use John Resig's .nextUntil() method. > > Not 100% sure, but afaik nextUntil is included in jQuery 1.2 as > nextAll:http://docs.jque

[jQuery] Re: FixedTable Plugin - testing help requested

2008-01-22 Thread Shawn
Got it. The plugin now works in IE 6. I needed a width assigned to the div for the fixed column. Now I get to test it on some production data (a complex table). Shawn Suni wrote: > Nice work! > > Seems to work prefectly in FF. > > Opera and Explorer give a javascript error. Usually (in my

[jQuery] Re: clone() problem in IE7

2008-01-22 Thread Jason Davies
Does anyone know of a workaround? Jason On Jan 21, 3:37 pm, Leu <[EMAIL PROTECTED]> wrote: > Yes there seems to be a problem. > Here is an example what doesn't work in IE7 (don't know about IE6) but > works in FF. > > row = $('#protoRow'); > ... > clonedObject = row.clone(true); > > After the cl

[jQuery] Adding CSS-property & therefore traveling the DOM - Problem.

2008-01-22 Thread Jayzon
Hi! To get this right, I'll post the html-part first: Mister X Info 1 Info 2 Info 3

[jQuery] Re: Q: on handling GET JSON

2008-01-22 Thread h0tzen
i think the key-check is this: !s.url.indexOf("http") "file://foo/bar" cant be requested via XHR, so

[jQuery] ui_tabs and form plugin: conflict in IE 6.

2008-01-22 Thread Romiz
Hello All!!! I has meet one strange thing in IE6 when use together 2 plugins, such as http://stilbuero.de/jquery/tabs_3/";>ui_tabs and http://www.malsup.com/jquery/form/";>form plugin - forms not sent when it loaded in ui tab panel... $('#account_form').ajaxForm(); - not sent by Ajax, it is fre

[jQuery] Re: Jguery and form plugin

2008-01-22 Thread mike
The django variable for my result in django template language is {{ result }} everywhere I put this on my page, firebug is showing the result in console, but it is not appearing on my page, what am I doing wrong? On Jan 22, 12:49 pm, mike <[EMAIL PROTECTED]> wrote: > I am trying to use the jquery

[jQuery] jQuery news ticker feature question

2008-01-22 Thread daji
Hello, I'm new to jQuery, so I apologize if this is a silly question. But I'm trying to use one of the existing news ticker plugins, however, none of them have a feature I have been looking for. In addition to the refreshing of the news box every so many seconds, I'd like for users to be able to

[jQuery] Re: A Beginner Question

2008-01-22 Thread Volkan Görgülü
Hi Karl, Thanks for your great help. It worked. Best Regards

[jQuery] Re: Jeditable + Json + Multiple Select

2008-01-22 Thread daweb
Thank for reply Mika. Try to explain my issue. I have x number of select input type, generated from a db query. With an ajax call I print the select fields into the page, without page reload obviously. Now i wanna use your plugin to edit this select fields but I can't set the data options with

[jQuery] Re: Add a callback to any method

2008-01-22 Thread chrismarx
sorry, correction, first i had to wrap the jquery function in another function. and although this "worked", i think because of the looping or something, the second function was executed before all the jquery stuff finished ( function(){ $('div[class="rating"]').livequery(function(){

[jQuery] Re: Autocomplete does not trigger onchange javascript code in input element.

2008-01-22 Thread Mark Thompson
I have changed a little of my code and have gotten the onchange code to run, but Internet Explorer does not hide the dropdown list after selecting a value unless selected a second time. What can I do to change this behavior? var idList = "<%=addIDStringBuffer.toString()%>"; var idArray = idList.

[jQuery] Livequery Toggle for newly added row

2008-01-22 Thread Mang
This is my first attempt at using jquery, so perhaps this is way off... I'm utilizing the following code to add rows to my table: $("input:[EMAIL PROTECTED]'Add_Row']").click(function () { $('').appendTo("#tblFormulary").html(""); This works very well, but now I need to utilize "toggle" to swa

[jQuery] Re: A Beginner Question

2008-01-22 Thread Cloudream
Item Group A Item 1 Item 2 Item Group B Item 1 Item 2 Item 3 $(document).ready(function(){ $("dt > a").click(function(){$ (this).parent().parent().find("dd").toggle(); return false;}); }); a little hard for your code, so i change the html =P On Jan 23, 1:37 am, "Volkan Görgülü" <[

[jQuery] Re: Calendar inside a Tab3

2008-01-22 Thread Diego
thanks, i initialize in load and works On 22 ene, 14:32, Klaus Hartl <[EMAIL PROTECTED]> wrote: > On Jan 22, 5:13 pm, Diego <[EMAIL PROTECTED]> wrote: > > > Yes > > > > > > > > GoInsert > li> > > > [...] > > > the tabs load an action and forward to jsp page > > In th

[jQuery] Re: FixedTable Plugin - testing help requested

2008-01-22 Thread Shawn
Oh so close. IE 6 is placing the main table below the fixed columns div. This is a float problem. I'm digging into the CSS issues. Otherwise the table seems to work fine in IE 6. Shawn Shawn wrote: > Thanks for the feedback. > > I'm on the road right now, so don't have easy access

[jQuery] Re: Jguery and form plugin

2008-01-22 Thread mike
any help would be appreciated On Jan 22, 12:49 pm, mike <[EMAIL PROTECTED]> wrote: > I am trying to use the jquery form plugin with a djano form. The form > works if i use ajax submit, but has to refresh, I am trying to catch > the results without refreshing the page. When i put values in the fo

[jQuery] Re: A Beginner Question

2008-01-22 Thread Volkan Görgülü
Thank you very much James, "this" makes sense, I am going to investigate it. Your help is very apreciated. Best Regards

[jQuery] Barcode reader with jQuery

2008-01-22 Thread camilo_u
Hi Guys, I am currently working in some method to capture input data using a bar code scanner, it's quite simple since the scanner presses the enter at the end of the reading, but I'm planning to capture that enter to execute some other jQuery function, or moving the focus to a new input, but i'

[jQuery] Re: How to have Autocomplete dropdown act like select box and trigger onchange event for input

2008-01-22 Thread Mark Thompson
I have changed a little of my code and have gotten the onchange code to run, but Internet Explorer does not hide the dropdown list after selecting a value unless selected a second time. What can I do to change this behavior? var idList = "<%=addIDStringBuffer.toString()%>"; var idArray = idList.

[jQuery] Re: A Beginner Question

2008-01-22 Thread Hamish Campbell
Here's how you do it (tested and working): Item Group A Item 1 Item 2 Item Group B Item 1 Item 2 Item 3 $(document).ready(function() { $('dt').click(function() { var obj = $(this).next(); while (obj.is('dd')) { obj.toggle(); o

[jQuery] Re: Calendar inside a Tab3

2008-01-22 Thread Diego
argh, its works.. but i have a new problem my old function, with tabhref when i click in other tab. $(function() { var $tabs = $('#container ul').tabs(3, { click: function() { $tabs.tabsHref(3, '/Normativa/jsp/VerBuscador.do'); } }); }); The new Function, with cache false, a

[jQuery] Re: UI Dialog

2008-01-22 Thread Matt Quackenbush
Okay, I officially feel like an ID10T. Amazing how important the *^&@^*#$%& tiny details are. Thanks, Matt

[jQuery] UI Dialog

2008-01-22 Thread Matt Quackenbush
Hello, I'm trying to get the UI Dialog box implemented in a couple of the items that I am currently working on, but am apparently doing something incorrectly. Here's the relevant code that I'm testing... $(document).ready(function() { $("#open-dialog").click(function() {

[jQuery] Re: [jqValidate] - Client Side Validation with jQuery

2008-01-22 Thread Brice Burgess
On Jan 22, 2:30 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > "The source *may* even be readable!" > > Now, Brice you really fought against your nature on this one :) > Nice to see another plugin from you! Will you continue working on jqmodal? > 2 requests: > - an iframe example > - a "a

[jQuery] Re: Change div

2008-01-22 Thread cfdvlpr
Did you ever get this figured out?

[jQuery] Re: A Beginner Question

2008-01-22 Thread Jörn Zaefferer
Karl Swedberg schrieb: Hi Volkan, You could use John Resig's .nextUntil() method. Not 100% sure, but afaik nextUntil is included in jQuery 1.2 as nextAll: http://docs.jquery.com/Traversing/nextAll Maybe someone can confirm that. Jörn

[jQuery] Re: Help- looking for motion/animation help (specifically, hovering)

2008-01-22 Thread withinreach
No mouse behavior (walk away from the 'hover' as mouseover - think 'hover' like spaceship over a house). My orig post: Or more specifically, a swami/guru/magic person hovering in place with slight up/down/left/right motion. Floating might be a better concept. I want my logo (robot) to hover in

[jQuery] Q: on handling GET JSON

2008-01-22 Thread Kynn Jones
I'm confused by something I found in the definition of $.ajax in the jQuery source, and would greatly appreciate it if someone could shed some light on the matter. The part of the code in question is this (I've made a couple of minor formatting changes for clarity): // If we're requesting a remot

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread Feed
Hi Tom, Thanks again for your input. What do you mean by Site RI being "cut in half"? Can you maybe provide a screenshot? My english betrays me sometimes :) On Jan 22, 3:32 pm, tlob <[EMAIL PROTECTED]> wrote: > Hey > > Well Site RI is not fine in my Browser... > > Just an Idea: try out PNGs or

[jQuery] Re: Still working out "drop-down div menu"...

2008-01-22 Thread Karl Swedberg
just sent you a private email. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 22, 2008, at 2:25 PM, Rick Faircloth wrote: Hey, Karl... Any chance you might have some time to hook up on Windows Messenger or something else and put a little time in

[jQuery] Re: A Beginner Question

2008-01-22 Thread Karl Swedberg
Hi Volkan, You could use John Resig's .nextUntil() method. Drop this in your js file somewhere... / next until > / $.fn.nextUntil = function(expr) { var match = []; // We need to figure out which elements to push onto the array this.each(function(){ //

[jQuery] Hey, Karl! You around today?

2008-01-22 Thread Rick Faircloth
Hey, Karl... Any chance you might have some time to hook up on Windows Messenger or something else and put a little time in on that drop-down div menu we've been working on? I couldn't find your address to email you directly, but you can contact me at RickWhiteStoneMediacom. Thanks, Rick

[jQuery] Re: jqGrid... a few questions...

2008-01-22 Thread Tony
I will do that Rey. Thanks On Jan 22, 9:04 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > Tony, > > You should chat w/ John about placing jqGrid & related docs in the SVN > repo for plugins so that its always available. > > Rey > > Tony wrote: > > Hi Bryce, > > > Thanks for the feedback about the sit

[jQuery] Re: Still working out "drop-down div menu"...

2008-01-22 Thread Rick Faircloth
Hey, Karl... Any chance you might have some time to hook up on Windows Messenger or something else and put a little time in on that drop-down div menu we've been working on? I couldn't find your address to email you directly, but you can contact me at RickWhiteStoneMediacom. Thanks, Rick >

[jQuery] chili and jquery 1.2.2

2008-01-22 Thread GianCarlo Mingati
Hi all. I tried to upgrade to jQ 1.2.2 but unfortunately the Chili syntax highlighter have some problem with the new version of jQuery. Anyone else got any issue too? Or is there something i am missing? Ciao GC

[jQuery] Re: jqGrid... a few questions...

2008-01-22 Thread Rey Bango
Tony, You should chat w/ John about placing jqGrid & related docs in the SVN repo for plugins so that its always available. Rey Tony wrote: Hi Bryce, Thanks for the feedback about the site. I think, that I will change the ISP in the near future. Now about the grid. Grid is independent from

[jQuery] Re: A Beginner Question

2008-01-22 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: Volkan Görgülü [mailto:[EMAIL PROTECTED] > > What I want to achieve is whenever I click an tag in I want > to show tags inside the clicked Look at your code - you are saying "when I click a DT" do toggle... but you aren't defining which dt. So of cour

[jQuery] Looking for a Thumbnail Scroller with a Difference

2008-01-22 Thread studiobl
I'm looking for a plugin that functions like scrollShow http://www.freewebs.com/flesler/jQuery.ScrollShow/ with the following difference: when one of the thumbnails is clicked, it changes an area of the page. So you could have a number of divs that are hidden, scroll through the sample images, an

[jQuery] Jguery and form plugin

2008-01-22 Thread mike
I am trying to use the jquery form plugin with a djano form. The form works if i use ajax submit, but has to refresh, I am trying to catch the results without refreshing the page. When i put values in the form and submit the page does not show the result but I am using firebug in Firefox to veiw

[jQuery] Re: FixedTable Plugin - testing help requested

2008-01-22 Thread Shawn
Thanks for the feedback. I'm on the road right now, so don't have easy access to my VM to test the changes in IE. But, I've made the changes (aren't they *always* obvious only after you see them?). I'll be back at my main computer in an hour or so - I'll try IE then. One thing I'm noting - I

[jQuery] Re: A Beginner Question

2008-01-22 Thread tlob
try to use IDs/classes in the DDs. just an Idea cheers tl On Jan 22, 6:37 pm, "Volkan Görgülü" <[EMAIL PROTECTED]> wrote: > Hi, > > Lets say I have a Definition List like shown below. > > > Item Group A > Item 1 > Item 2 > Item Group B > Item 1 > Item 2 > Item 3 > > > What I want to achieve

[jQuery] Re: jqGrid... a few questions...

2008-01-22 Thread Tony
Hi Bryce, Thanks for the feedback about the site. I think, that I will change the ISP in the near future. Now about the grid. Grid is independent from the backend. Since I known only PHP and not .NET, ASP ... , so I can not help you with writing the script when you construct the JSON data, but yo

[jQuery] How do I enhance Google Map

2008-01-22 Thread naes
Hi I've followed the following tutorial on implementing a Google Map using Mapstraction, jQuery & Microformats http://24ways.org/2007/unobtrusively-mapping-microformats-with-jquery I was wondering (as a newbie) how to add a couple of additional neat features; 1) Hovering over a marker highligh

[jQuery] Re: ajax load, url variable question.

2008-01-22 Thread hj
On Jan 20, 2:18 pm, Mike Geise <[EMAIL PROTECTED]> wrote: > I am using the ajax load method to populate a select list. > > $("#games").load("$siteRoot/file/ajaxgames.aspx", > {criteria.Platform.PlatformID: $(this).val(), view: "normal"}); > > what I am wondering is how I can get jquery to work w

[jQuery] A Beginner Question

2008-01-22 Thread Volkan Görgülü
Hi, Lets say I have a Definition List like shown below. Item Group A Item 1 Item 2 Item Group B Item 1 Item 2 Item 3 What I want to achieve is whenever I click an tag in I want to show tags inside the clicked I am using $(document).ready(function() { $("dt > a").click(function(){$("d

[jQuery] Re: Add a callback to any method

2008-01-22 Thread chrismarx
well, yeah it would be, if i were smart enough to figure out how to actually use in the context of jquery chained functions. the above example is what i want it to do. the closest i got was this: ( $('div[class="rating"]').livequery(function(){ var $this = $(this); var opts = func

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

2008-01-22 Thread Jörn Zaefferer
mtest schrieb: Firstly, sorry for my english, but it's very important to me know the answer :). For example there is such a code: Menu SubMenu1 SubMenu2 SubMenu3 i call function: $("dl").bind("mouseover", function(){ I get the object DL, witch now may to call like this

[jQuery] Re: Calendar inside a Tab3

2008-01-22 Thread Klaus Hartl
On Jan 22, 5:13 pm, Diego <[EMAIL PROTECTED]> wrote: > Yes > > > >             >                 GoInsert li> > > [...] > > the tabs load an action and forward to jsp page In this case you need to initialize the calendar in the load callback, e.g. after it has beed added to the DOM: $('#foo').

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread tlob
Hey Well Site RI is not fine in my Browser... Just an Idea: try out PNGs or Gifs. That maybe help in the smoothiness. Yea, forgett Flash. It would not be indexable for searchengines. cheers tl On Jan 22, 6:16 pm, Feed <[EMAIL PROTECTED]> wrote: > Thanks for the feedback Tom... > > I have

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread Feed
Thanks for the feedback Tom... I haven't tried it in IE7 yet, I'll see what this ugly scrollbar is about. The "Site RL" you stated is actually "Site RI" (it's in portuguese - Site Relações com Investidores), it's fine :) About the flash thing, yeah, that would be a better choice "performancewis

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

2008-01-22 Thread Diego
// `find` for locate element in a content $('#container') .find('a') .click(function() { alert('hi'); }); // search in the content using var var this= $('#container'); $('a', this) .click(function() { alert('hi'); }); just theory, i'm newbie in jqu

[jQuery] general question

2008-01-22 Thread tlob
Hi! I have a general question. I do a fadeIn/fadeOut with a big logo on the Homepage. If the user surfs back to that site (not later that day, while he is surfing that site), the animation should not shown again. How would you do that? cookies/sessions? I'm looking for the easyest way to impleme

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread tlob
FF 2.0.0.6 PowerMac PC FF 2.0.0.11 IE 7.0.5730.11 IE 6.0 (MutipleIE) not a noteable difference The Images in general are loading really slow. In IE7 there is a ugly scrollbar when loading the project/Images also in the Project overwiev the "Site RL" is cut in half. I would not to bother that s

[jQuery] jCarousel Lite - weird issue

2008-01-22 Thread Luc Pestille
Hi all, Using the excellent jCarousel Lite ( http://www.gmarwaha.com/jquery/jcarousellite/ ) I'm come across a weird problem that I can't a) see why it would happen, or b) fix it; When using a standard carousel, setting "visible" to a fractional size (1.5), I'd expect the carousel to work as the

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread Feed
Tom, have you tried it in IE? It's much "smoother"... when I say smooth I mean the smoothness of the animation, the "frames per second", you know... the animation is a bit "clumsy" in Firefox... What version of Firefox are you using? On Jan 22, 12:24 pm, tlob <[EMAIL PROTECTED]> wrote: > define

[jQuery] Re: Calendar inside a Tab3

2008-01-22 Thread Diego
Yes GoInsert [...] the tabs load an action and forward to jsp page On 22 ene, 12:56, Klaus Hartl <[EMAIL PROTECTED]> wrote: > On Jan 22, 4:29 pm, Diego <[EMAIL PROTECTED]> wrote: > > > > > Hi > > > I'm working with tabs3. In one tab im loading a jsp wi

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

2008-01-22 Thread mtest
Firstly, sorry for my english, but it's very important to me know the answer :). For example there is such a code: Menu SubMenu1 SubMenu2 SubMenu3 i call function: $("dl").bind("mouseover", function(){ I get the object DL, witch now may to call like this or $ (this

[jQuery] jqGrid... a few questions...

2008-01-22 Thread bryce4president
I noticed that the trirand site is down again this week. I downloaded the demos from the google code page, but they don't really work that well without the database behind it. You can see the code, and work with it, but you can't actually see what it does physically. That aside, one big questio

[jQuery] Re: Jeditable + Json + Multiple Select

2008-01-22 Thread Mika Tuupola
On Jan 22, 2008, at 6:04 PM, Mika Tuupola wrote: I do not fully understand what you are trying to do, but the data parameter can be a function. This function can dynamically set the values to what you want them to be. For example something like: Now when I look at the code. Are you tryin

[jQuery] Re: Jeditable + Json + Multiple Select

2008-01-22 Thread Mika Tuupola
On Jan 22, 2008, at 4:29 PM, daweb wrote: and this is the Js code in which I'm trying to use the plugin: $(".clickOnThisSelect").editable ("idEntryCod)?>", { indicator : " '>", tooltip : "lang->line('clickToEdit')?>", name : "newvalue", id : "elementid", data : data.selectmessage

[jQuery] Re: Calendar inside a Tab3

2008-01-22 Thread Klaus Hartl
On Jan 22, 4:29 pm, Diego <[EMAIL PROTECTED]> wrote: > Hi > > I'm working with tabs3. In one tab im loading a jsp with a form > inside. i'm trying to use datepicker inside the tab but i cant do it. > > I can make the calendar works in any input text the index but no in > the tab that i have. > > H

[jQuery] Calendar inside a Tab3

2008-01-22 Thread Diego
Hi I'm working with tabs3. In one tab im loading a jsp with a form inside. i'm trying to use datepicker inside the tab but i cant do it. I can make the calendar works in any input text the index but no in the tab that i have. Here is my code, im using it in the index, then i copy and paste in t

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread tlob
define "doesn't work as smooth". It's pretty smooth on my FF cheers tom On Jan 22, 3:07 pm, Feed <[EMAIL PROTECTED]> wrote: > Anyone, please? > > On Jan 21, 3:41 pm, Feed <[EMAIL PROTECTED]> wrote: > > > Really, really sorry I sent the wrong link! > > > This is the right one: > > >http://w

[jQuery] Jeditable + Json + Multiple Select

2008-01-22 Thread daweb
Hi everybody, excuse my bad english... I'm using jEditable plugin, it works fine, but I have a little question... I have to use it with a dynamic set of select input type. This is my PHP code with the Json string: { message: " 1 First Value One Second Value Two Third Value Three ", "s

[jQuery] Anyone seen "toggleClass is not defined"

2008-01-22 Thread hotsauce
I keep receiving an error with this bit of code on click $(document).ready(function() { $('div.example').click( function() { $(this).toggleClass("activated"); }); }); It works, but I keep receiving an error stating that "toggleClass is not defined" How would I define this?

[jQuery] Re: Add a callback to any method

2008-01-22 Thread h0tzen
this is pretty smart. why not just use prototyping? thats what jscript is all about and personally i think, its *the* best idea to add that feature.

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread h0tzen
i cant see any difference in smoothness ...

[jQuery] Re: FixedTable Plugin - testing help requested

2008-01-22 Thread Suni
Nice work! Seems to work prefectly in FF. Opera and Explorer give a javascript error. Usually (in my own experience) this is caused by the same error in 95% of the cases: an extra comma after the last property of an object. This also seems to be the case here. Remove the tailing comma from line

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread Feed
Anyone, please? On Jan 21, 3:41 pm, Feed <[EMAIL PROTECTED]> wrote: > Really, really sorry I sent the wrong link! > > This is the right one: > > http://www.mz-ir.com/mzdesign/portfolio/portfolio.asp

[jQuery] Re: OT: how to benchmark user hardware?

2008-01-22 Thread Mika Tuupola
On Jan 22, 2008, at 2:18 PM, Fabien Meghazi wrote: 1/ detect user setup or perform some tests, to determine the available CPU, graphic Card, RAM, browser,OS. It may not even be necessary to know these datas, if we run a test that just tells us if the end user specs are speedy or not. 2/

[jQuery] Re: Ajax scoping problem

2008-01-22 Thread yves coor
I don't think I am but maybe I'm judging this wrongly. I call two functions: readXml(...); displayPlayer(...); The second one uses the global var myarray but it's always undefined. It must definitely be related to the timing of the asynchronous call though. If I pass the values returned by the

[jQuery] Re: load array to js

2008-01-22 Thread McEdonskiy
http://groups.google.com/group/jquery-en/browse_thread/thread/011f91c665caa8a6 the same problem resolved On 22 янв, 01:46, Bober <[EMAIL PROTECTED]> wrote: > Hello! > > I have several inputs > > > .. > > > Can quick set one walue for all elements a[1]? > How can I do?

[jQuery] Re: [validate] Checking if a form is valid without triggering UI feedback

2008-01-22 Thread Jörn Zaefferer
Hi Eric, I'm wondering if there is a way to check if a form is valid without triggering UI feedback for invalid fields in the form? I tried both the $('#myform').valid() and validator.form() methods, but they both trigger the UI. could you create a ticket for that? Never had the requirement o

[jQuery] Re: Ajax scoping problem

2008-01-22 Thread David Decraene
also If you do something like this (don't know if you do): var myarray = new Array(); function readXml(){ ..ajax.. } function handleXML(xml) { myarray[i] == ...} var x = myarray.length; then x will always be 0 because myarray.length get's executed before the ajax call returns success (async

[jQuery] Re: Ajax scoping problem

2008-01-22 Thread David Decraene
why not: var myarray = new Array(); function handleXML(xml) { $(xml).find("something somethingelse").each(function(){ myarray.push( $(this).text()); }); Can't see why that wouldn't work. David http://OntologyOnline.org On Jan 22, 11:53 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

[jQuery] Not working in IE

2008-01-22 Thread StirolXXX
Hi! I have a small but pain-in-the-ass problem. Here is my code: var ExternalLinks_InNewWindow = '1'; function initSpoilers(context) { var context = context || 'body'; $('div.spoiler-head', $(context)).click(function(){ var code = $(this).next('div.spoiler-body'

[jQuery] Re: validate

2008-01-22 Thread Tales Augusto
Thanks Jörn, but, can i add rules and messages at script tag? Without being inline. I try: validator.rules["field_3"] = { required : true, email : true } Not work. Thanks. 2008/1/21, Jörn Zaefferer <[EMAIL PROTECTED]>: > > > Mileto schrieb: > > How with you to add rules and messag

[jQuery] Make money easy start now

2008-01-22 Thread mona samy
make money now: http://forex.smarts-way.info/

[jQuery] Yet Another Grid Implementation focusing on (gridTable)

2008-01-22 Thread h0tzen
Hello, I recently finished a working beta version of yet another grid-plugin for jQuery: gridTable features: - using a , not ripping it off at all (so no fixed height for tbody, as overflow:auto on tbody is not supported) - server-side sorting - server-side paging - custom renderers - custom edi

[jQuery] Re: Plugin Validate

2008-01-22 Thread Jörn Zaefferer
Tales Augusto schrieb: I am using the plugin validate. After validating the form, I need to call a function only if the form contains mistake. I looked in the documentation of the plugin was not them anything similar. There is a custom event of type "invalid-form.validate" that is triggered on

[jQuery] Re: OT: how to benchmark user hardware?

2008-01-22 Thread Alexandre Plennevaux
-- Original Message -- To: Jquery-en (jquery-en@googlegroups.com) From: Fabien Meghazi ([EMAIL PROTECTED]) Hi Fabien, in fact i need to benchmark the setting as a whole so my mail was a bit misleading: i think i need to test some manipulation, time it, and if the timing goes be

[jQuery] Re: OT: how to benchmark user hardware?

2008-01-22 Thread Fabien Meghazi
> 1/ detect user setup or perform some tests, to determine the available CPU, > graphic Card, RAM, browser,OS. It may not even be necessary to know these > datas, if we run a test that just tells us if the end user specs are speedy > or not. > 2/ send a different javscript file according to the

[jQuery] Ajax scoping problem

2008-01-22 Thread [EMAIL PROTECTED]
I'm probably being daft, but I'm trying to populate an array by processing some xml but my (global) array gets destroyed when the ajax function has done it's job. I know it's because the ajax function. I know it's a scoping problem but I don't know how to fix it and most fixes I found online didn

[jQuery] Re: Post-load images? Tips?

2008-01-22 Thread Micky Hulse
Mika, that worked very well! Thanks for the help... It has definitely gotten me started in the right direction. I owe you one. :) Have a great night/day, and many many thanks for taking the time to help a noob! :D Cheers, M On Jan 21, 4:37 am, Mika Tuupola <[EMAIL PROTECTED]> wrote: > On Jan 21

[jQuery] [validate] Checking if a form is valid without triggering UI feedback

2008-01-22 Thread eric
Hi there, I'm wondering if there is a way to check if a form is valid without triggering UI feedback for invalid fields in the form? I tried both the $('#myform').valid() and validator.form() methods, but they both trigger the UI. cheers // eric

[jQuery] Re: jTagEditor Custom Callback

2008-01-22 Thread Jay Salvat
Hi Everyone ! I'm the author of jTagEditor. Thanks Pauly for this great improvement. jTagEditor was an early draft of what i had in mind. I'm finishing a brand new version of jTagEditor now called MarkItUp with many level of callback and possibility to call the editor's features "from the outsid

[jQuery] learning jQuery book and ajax autocompletion

2008-01-22 Thread matt
I purchased Learning jQuery and I'm going through some of the ajax examples. On page 219 they have an auto completion example. I can get it to work just fine, but what about if you're pulling records from a database? For instance, the example shows: $terms = array('football','baseball'); $poss

[jQuery] Re: filter selects and get value...how?

2008-01-22 Thread Hamish Campbell
Ok, so you've got an _array_ of jQuery objects, you need to enumerate over the objects if you want the value of each one: var obj = $inputs.filter("[name='qty[]']").filter("select option:selected"); for ( var i = 0; i < obj.length; i++) { var val = obj[i].val(); // now do something

[jQuery] OT: how to benchmark user hardware?

2008-01-22 Thread Alexandre Plennevaux
Hi friends, i have a question slightly off topic: my jquery-based experimental application is very visual, and renders quite well on recent pcs, but not so good on old ones: i'm moving too many elements for these old bastards. I would like to explore the possibility to adapt the content to th

[jQuery] Re: eval vs. Function

2008-01-22 Thread weepy
you might be better off posting that on the jQuery Dev group weepy On Jan 22, 8:34 am, Danny <[EMAIL PROTECTED]> wrote: > A question for the jQuery team: > > I look at the jQuery source code as my source for Javascript best > practices, and I see a few examples of things like: > fn = eval("false

[jQuery] eval vs. Function

2008-01-22 Thread Danny
A question for the jQuery team: I look at the jQuery source code as my source for Javascript best practices, and I see a few examples of things like: fn = eval("false||function(elem){return " + fn + "}") What is the advantage of that over using Function, as: fn = Function('elem', 'return '+fn)

[jQuery] Re: Tabs and Hide/Show Divs

2008-01-22 Thread Klaus Hartl
On Jan 22, 2:37 am, MikeP <[EMAIL PROTECTED]> wrote: > I see the "click" method with the tab. It takes 3 arguments: > "clicked tab, tab container to show, tab container to hide" > > I do want to hide and show a tab's contents. This it's doing > automatically. > However, I also have ANOTHER panel/d

  1   2   >