[jQuery] Re: Function variables getting lost? (super simple I'm sure)

2008-06-22 Thread Michael Geary
I'm working on upgrading a calender to AJAX so it is much snappier, however i'm having trouble getting it to recognise my links. I have created this function: function loadContent(id) { $(#imacalendar).load('inc/eventcalendar.php?event_date='+id); } Which is called into use

[jQuery] Re: About using jquery-1.2.6.js in IE

2008-06-22 Thread Michael Geary
That's an invalid script tag. You can't use an empty script tag, it requires a closing tag. Also, you really don't want to be loading the .js file from googlecode.com get from ajax.googleapis.com instead. Try this script tag and see if it works better: script type=text/javascript

[jQuery] Re: jQuery.sheet thoughts, maybe UI compliant?

2008-06-22 Thread Paul Bakaus
Hi K-BL, While it's a great app, I don't think it really fits into jQuery UI as it is now. jQuery UI serves core interaction components and widgets, but yours is more a complete application, and I'm not sure if it's generic enough to be used in thousands of usecases. It might be a great demo

[jQuery] Firing callback after $.post?

2008-06-22 Thread Vaska
Hi folks: Does anybody have a nice trick for firing a callback function AFTER $.post has completed it's actions? I have a callback, but it either arrives at the same time or just before the function returns the information to the actual html so it keeps missing it. I've confirmed this

[jQuery] Animation click event in IE7

2008-06-22 Thread feris.thia
Hi All, I have a working script that animate as wanted in Firefox but not in IE. I created 4 dialogs on the fly in the script using jQuery core and UI, named I'm the Demo 0 to I'm the Demo 3!. In Firefox, all dialogs behave well, but in IE7 only I'm the Demo 0 appears to be correct. The script

[jQuery] Re: Function variables getting lost? (super simple I'm sure)

2008-06-22 Thread Hinch
Yes *date* is a stand in, so the code would be: script type=text/javascript? function loadContent(id) { $(#imacalendar).load('inc/eventcalendar.php?event_date='+id); } /script Then in the body: a href=javascript:loadContent(2008-5);lt;/a Like I say, it works if I make the

[jQuery] Selecting an element using parent than filter

2008-06-22 Thread Jasper Kennis
Hey, I'm trying to select an element to change the background-color property of it, but I fail to select it. The script runs at http://stud.cmd.hro.nl/0794249/portfoliovx/ . In the left column, there are horizontal rules with five blue blocks to the right. When hovering over the second from the

[jQuery] Re: Binding Event to Dynamically Created Element (works in FF but not in IE)

2008-06-22 Thread James Chen
I think this is the culprit... i guess known issue with setAttribute that I didn't know about... id, class and like 20+ other attributes are reserved words thus doesn't work in IE7... although it looks like it's working... but it's not. There are lots of work arounds out there, i hope I can

[jQuery] Re: Resizing.

2008-06-22 Thread Aaron
So if I use the min width and max width I should use min width set to what looks good in the lowest acceptable display settings and then set the max width to a good lookng width at the highest display settings?? So then this would abjust inbetween these two numbers which will show the website

[jQuery] [Treeview] Dynamically adding nodes to the async treeview

2008-06-22 Thread SirHoundalot
Hi all I'm using the async version of the treeview plugin by Jörn Zaefferer. I'd really like the ability to dynamically add nodes to the treeview, but am experiencing some difficulties in doing so. Currently I've managed to get top-level leaf nodes added using the following code: function

[jQuery] Re: Firing callback after $.post?

2008-06-22 Thread Adam
Perhaps if you return some JSON and have your callback evaluate part of it first, ie. testing if it returned an error from your processing script. If data.error is no, do this, if data.error is yes, do that... would that work? On Jun 22, 8:06 am, Vaska [EMAIL PROTECTED] wrote: Hi folks: Does

[jQuery] Animating table rows produce *very* strange results. Any work around?

2008-06-22 Thread fambi
Hi all, I'm having serious problems trying to animate a table row and have tried loads of work arounds In short, I'm trying to do a self healing transation following the deletion of table content using an Ajax call. So, after the user presses delete, the row shrinks in height and is then

[jQuery] [Treeview] Dynamically adding nodes to the async treeview

2008-06-22 Thread SirHoundalot
Hi all I'm using the async version of the treeview plugin by Jörn Zaefferer. I'd really like the ability to dynamically add nodes to the treeview, but am experiencing some difficulties in doing so. Currently I've managed to get top-level leaf nodes added using the following code: function

[jQuery] Re: Binding Event to Dynamically Created Element (works in FF but not in IE)

2008-06-22 Thread Ariel Flesler
Why don't you use jQuery for that ? var $li = $('li /').attr('id', 'li_' + this.nextCount).attr('class','bigbox_li'); -- Ariel Flesler http://flesler.blogspot.com On 22 jun, 03:52, James Chen [EMAIL PROTECTED] wrote: I think this is the culprit... i guess known issue with setAttribute that

[jQuery] Re: Function variables getting lost? (super simple I'm sure)

2008-06-22 Thread Ariel Flesler
a href=javascript:loadContent('2008-5');lt;/a -- Ariel Flesler http://flesler.blogspot.com On 22 jun, 09:41, Hinch [EMAIL PROTECTED] wrote: Yes *date* is a stand in, so the code would be:    script type=text/javascript?    function loadContent(id) {      

[jQuery] Re: Safari 2.0.4 not passing the jQuery test

2008-06-22 Thread Jeff Kenny
I understand Safari's limitations, but saying it's compatible sets an expectation that it (all of it) will work. I consistently had Safari crash when trying to use the html() and replaceWith() functions. If you're aware of Safari's issues and only run the test suite in pieces, then it'd be nice

[jQuery] Re: Safari 2.0.4 not passing the jQuery test

2008-06-22 Thread Abba . Bryant
I believe you misinterpreted the statement by John. The *entire* test suite passes in Safari. To overcome the memory issues they need to break the test suite into multiple smaller sets of tests and run those. If the entire suite is run it causes Safari to crash due to the applications memory

[jQuery] Re: Mediawiki slidetoggle() flat DOM

2008-06-22 Thread Andi
So, finally made it and want to share my dirty-hack for toggling flat-structures.. The problem was to toggle any content between to :header tags... ** * Behandlung der Klicks auf die Überschriften (die Fragen) * Hinweis: */ $( :header ).click( function(){ var $start =

[jQuery] Re: two forms with plugins validator

2008-06-22 Thread k8
UP UP UP On 19 Giu, 21:15, k8 [EMAIL PROTECTED] wrote: uhm, i have try with submithandler on .validate({}) but don't work great the validation this is my code $().ready(function() { $(#FormRegister).validate({ submitHandler: function() { alert(Submitted!); },

[jQuery] Re: [Treeview] Dynamically adding nodes to the async treeview

2008-06-22 Thread Jörn Zaefferer
Just use jQuery methods to find the node: var node = $(...).appendTo(#products .someNode); ... Jörn On Sun, Jun 22, 2008 at 2:25 PM, SirHoundalot [EMAIL PROTECTED] wrote: Hi all I'm using the async version of the treeview plugin by Jörn Zaefferer. I'd really like the ability to

[jQuery] Re: two forms with plugins validator

2008-06-22 Thread Jörn Zaefferer
Please upload a testpage and post the URL here. Jörn On Sun, Jun 22, 2008 at 7:19 PM, k8 [EMAIL PROTECTED] wrote: UP UP UP On 19 Giu, 21:15, k8 [EMAIL PROTECTED] wrote: uhm, i have try with submithandler on .validate({}) but don't work great the validation this is my code

[jQuery] Rapid mouse click, stopping animation queue

2008-06-22 Thread anthonyb
Im somewhat new to using jQuery and I am loving it so far. One problem that I encounter is if you have a element, say, for example, that is a button and on press a paragraph of text fades in. If you press the button again, jQuery fades the text out. Well this in fact works rather well, but the

[jQuery] Re: About using jquery-1.2.6.js in IE

2008-06-22 Thread Yongning Zhu
Thank you so much! It works now. I didn't know that before. Best, yongning On Jun 22, 1:13 am, Michael Geary [EMAIL PROTECTED] wrote: That's an invalid script tag. You can't use an empty script tag, it requires a closing tag. Also, you really don't want to be loading the .js file from

[jQuery] Re: Rapid mouse click, stopping animation queue

2008-06-22 Thread Ollie
Could you do something like this? if(!$('#myElem:animated')){ !-- Animation code here -- } You can read more information about the animated selector here; http://docs.jquery.com/Selectors/animated On Jun 22, 8:47 pm, anthonyb [EMAIL PROTECTED] wrote: Im somewhat new to using jQuery and

[jQuery] Re: Selecting an element using parent than filter

2008-06-22 Thread Joel Newkirk
$(this).parent().filter(.1) will do the following: Take 'this' element (the one being hovered over in this case) and find its parent (singular - one parent, in the example HTML you posted this is li class='extra'), then filter the results (a single element) looking for one with class='1', of

[jQuery] [validate] Validation Cancel Button

2008-06-22 Thread shapper
Hello, I know that is possible to use a button with class cancel to be able to cancel and not validate. But can I define another class? Thanks, Miguel

[jQuery] [validate] Validation Minimized Script

2008-06-22 Thread shapper
Hello, How is the Minimized version of the validation script file created? What tool is used? Thanks, Miguel

[jQuery] Re: [validate] Validation Cancel Button

2008-06-22 Thread Jörn Zaefferer
No, currently cancel is hardcoded. Jörn On Mon, Jun 23, 2008 at 12:45 AM, shapper [EMAIL PROTECTED] wrote: Hello, I know that is possible to use a button with class cancel to be able to cancel and not validate. But can I define another class? Thanks, Miguel

[jQuery] Re: [validate] Validation Cancel Button

2008-06-22 Thread shapper
Jorn, In all my posts I add [validate] on the subject but it never shows. Do you know why? Thanks, Miguel On Jun 23, 12:26 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: No, currently cancel is hardcoded. Jörn On Mon, Jun 23, 2008 at 12:45 AM, shapper [EMAIL PROTECTED] wrote: Hello, I

[jQuery] [validate] Validation Plugin issue when using TinyMCE

2008-06-22 Thread shapper
Hello, I have the following rules: $(#New).validate({ errorClass: Error, errorElement: label, rules: {Answer: {required: true}}, }); Applied to text area: label for=Answer class=RequiredResposta/label textarea name=Answer rows=10 cols=20

[jQuery] Re: idiot requests SIMPLE ajax explanation!

2008-06-22 Thread [EMAIL PROTECTED]
Thank you both very much for your replies :) I also found this: http://www.phpbuilder.com/columns/jon_campbell20070525.php3 and I'm going to have to buy the book! I suspect I'll end up going uh, is that all? Better safe than sorry, eh? Thanks again, Cherry On Jun 16, 4:58 pm, Pyrolupus [EMAIL

[jQuery] Re: Validation Cancel Button

2008-06-22 Thread Ollie
I'm a bit confused - are you talking about a form reset button; input type=reset / Or am I on the wrong track? On Jun 22, 11:45 pm, shapper [EMAIL PROTECTED] wrote: Hello, I know that is possible to use a button with class cancel to be able to cancel and not validate. But can I define

[jQuery] Firefox (23) does not render new content on .append(val) and .html(val)

2008-06-22 Thread c2h5oh
I've got some pretty simple code: [..] $(.remove).click(function(){ $.post(index.php,{action:remove}, function(data){ $(#right).html(data.newContent); }, json) return false; }); [..] div id=#right a class=removeremove it!/a /div [..] Once

[jQuery] ajax loaded content and selecting current page show in navigation

2008-06-22 Thread aldomatic
So I have an issue, I want to highlight the link which is currently being viewed. The content is loaded via the LOAD method, but when I click on the other links the added class still remains and highlights them all. I want to highlight just the current loaded page and not the others. Here is

[jQuery] Re: jQuery issues in Firefox 3

2008-06-22 Thread nandu
Dear David, I do not know if this will help but you might try using a timeout of say 250 ms which would means that the page would have loaded. This however is not the best solution. Nandu On Jun 22, 7:05 am, Sebastián V. Würtz [EMAIL PROTECTED] wrote: im getting some errors since i change to

[jQuery] loading quicktime.mov causes strange positioning in IE6?!

2008-06-22 Thread slooodge
Hello, i am working a small site for a friend (http://www.kandulla.com/ animation). I want to load different quicktime movies into a div using jQery. Here is the code I came up with: $('#subNav ul li a').click(function(){ $('#screen').load('movies/start.php', {'term': $

[jQuery] jqModal r12 release

2008-06-22 Thread Brice Burgess
Ladies and Gentleman, I have finally updated jqModal, and apologize for the ridiculous delay. I am also pleased to announce that the plugin page has been updated to include improved documentation. jqModal is a tiny general-purpose windowing / dialog / popup / modal / what-have-you

[jQuery] Re: jqModal r12 release

2008-06-22 Thread Rey Bango
Nice Brice! Rey Brice Burgess wrote: Ladies and Gentleman, I have finally updated jqModal, and apologize for the ridiculous delay. I am also pleased to announce that the plugin page has been updated to include improved documentation. jqModal is a tiny general-purpose windowing /