[jQuery] Re: dev tip: combining JS script files

2007-07-21 Thread Jon Ege Ronnenberg
When you load the script, has nothing to do with the dom. The script can modify/alter the dom but the loading sequence is a completely new story. If you use the jQuery ready() method, your script will be processed right after the dom is loaded and before the images are loaded, which is what you

[jQuery] Re: Using slideToggle with multiple divs

2007-07-21 Thread Olaf Bosch
dan schrieb: Hello, I wish to use slidetoggle with multiple divs. I have implemented it using only one div however I want all of the divs to operate independently. You have trouble with CLASS and ID, try this: $(document).ready(function() { $('#commentbox').hide();

[jQuery] Re: Animate bug under IE6?

2007-07-21 Thread Klaus Hartl
Dan G. Switzer, II wrote: Collin, Hey all -- I'm new to the list (but not so new to jQuery), and was hoping I could get some assistance regarding what appears to be a bug in the .animate function when running under IE6. Inside a .click function assigned to a specific anchor tag, I call

[jQuery] Re: Dynamically set function settings?

2007-07-21 Thread Michael Geary
From: juliandormon Is it possible to write javascript dynamically so new functions are created with the new parameters once the user makes a change? These functions need to be added to the head of my page because they get called after other functions. In other words, the new functions

[jQuery] Re: dev tip: combining JS script files

2007-07-21 Thread Gilles (Webunity)
Well i have to think about that, but i might do some releasing of code. The advantage i have, is that it runs on my own servers, so i get to choose the owner ;) On 21 jul, 09:14, Jon Ege Ronnenberg [EMAIL PROTECTED] wrote: When you load the script, has nothing to do with the dom. The script can

[jQuery] Re: Server Time of the day Clock functions

2007-07-21 Thread tzmedia
Thanks Andy... I thought after the post that I should of added it would be something similar to using Kelvin's StyleSwitcher to load the CSS page styles, but only load those according to the server clock. The page background or header background even may be the only thing that needs to change,

[jQuery] IE 7/6 frozen with massive use of jquery plugins

2007-07-21 Thread oscar esp
I have intermittent error, basically IE is frozen. I can not reproduce seems that I doesn't follow a pattern. I have developed an application with asp and I use a lot of jquery in order to do Ajax call to load scripts and pages. The structure of the application is: I have a main page with two

[jQuery] DNN and jQuery Conflict

2007-07-21 Thread James
I've recently been brought into a DNN project where I'm trying to enlighten my co-woker(s) with the goodness which is jQuery. I'm having a problem getting the two to play nicely, together, though. I've tested both DNN and the jQuery code separately, and they work like a champ. I can also get them

[jQuery] Re: DNN and jQuery Conflict

2007-07-21 Thread James
Hmm, I left off a small portion that might help figure this one out. When I place the remote script include text (script src=some/where/ else/jquery.js/script) in the Page Header Tags, I can use basic jQuery across the modules. However, the problem comes when I try and add more than one jQuery

[jQuery] Re: DNN and jQuery Conflict

2007-07-21 Thread Alexandre Plennevaux
Hi James, Did you check that it is not a namespace issue? Also, which plugins do you intend to use? Not all jquery plugins were created equals in quality... Alex -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: samedi 21 juillet

[jQuery] Re: DNN and jQuery Conflict

2007-07-21 Thread James
Alex, In this case, the only plugin I'm attempting to include is the Jorn Zaefferer's Tooltip plugin; of course, in addition to the actual jQuery (1.1.3.1) script itself. On Jul 21, 5:03 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Hi James, Did you check that it is not a namespace

[jQuery] Re: DNN and jQuery Conflict

2007-07-21 Thread Armand Datema
Mm i never had issues with dnn and js I just add my script in the default.aspx page myself that works most of the time also the page header tags option is not very usuable, you cannot add to many scripts more than a few lines and it gets saved truncated so you have missng code and none closed

[jQuery] Re: Should be real easy but not for me

2007-07-21 Thread Rob Desbois
Hi Mitch, I'm afraid it is a silly one! function advmode() ( $(#Panel).SlideInRight(1000); }; You've used a parenthesis ( instead of brace { for opening the function body. Change that and it works as expected :-) Glen, SlideInRight and similar functions are from Interface elements for

[jQuery] Re: DNN and jQuery Conflict

2007-07-21 Thread James
Thank you, Armand, for your swift response. I will look into these recommendations and see what I can't make work. On Jul 21, 4:43 am, Armand Datema [EMAIL PROTECTED] wrote: Mm i never had issues with dnn and js I just add my script in the default.aspx page myself that works most of the

[jQuery] Re: DNN and jQuery Conflict

2007-07-21 Thread Armand Datema
A good testing way is also to go the the dnn page and save the file as html ( html only ) then copy over that html file to your dnn root and add the jquery scripts and calls. If you can get the desired effects there then its a dnn issue and those can be truncated header tag strings cant find

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-21 Thread Rob Desbois
Try this: if (typeof myFunction === undefined) { $.getScript(myFunction.js, function() { alert('script loaded'); }); } --rob On 7/20/07, Chrisss [EMAIL PROTECTED] wrote: Hello, I was wondering if jQuery can be used to load javascript dynamically, on an as-needed basis. Here

[jQuery] Re: New Plugin: HoverAccordion

2007-07-21 Thread eferraiuolo
Cool, this could be very useful! I've noticed Apple's menu that behaves this way lately, glad to see someone implement it, and it appears to be a good usable implementation. Eric On Jun 26, 7:34 am, Bernd Matzner [EMAIL PROTECTED] wrote: Hello, I'm really excited: My first try at building a

[jQuery] Re: Error in IE 5.5 / jQuery 1.1.3.1 - 'nodeName' is Null

2007-07-21 Thread bjb
The error seems when assigning an event to a class: $('.myclass).click(function() {return false;}); - error (only) in IE5.5 / jQuery 1.1.3.1 // works with IE7 etc $('#myid).click(function() {return false;}); - works with IE5.5 / jQuery 1.1.3.1 myclass and myid in html: li # s1.gif

[jQuery] Re: IE 7/6 frozen with massive use of jquery plugins

2007-07-21 Thread Olivier Percebois-Garve
I m no specialist of such issue but you could first check if its memory related. Just browse your website and see if the memory is continuously rising.(In the task-manager) oscar esp wrote: I have intermittent error, basically IE is frozen. I can not reproduce seems that I doesn't follow a

[jQuery] Re: Error in IE 5.5 / jQuery 1.1.3.1 - 'nodeName' is Null

2007-07-21 Thread bjb
I changed $('.myclass).click(function() {return false;}); to $('a.myclass).click(function() {return false;}); now it works Thanks Bernd bjb wrote: The error seems when assigning an event to a class: $('.myclass).click(function() {return false;}); - error (only) in IE5.5 /

[jQuery] How to get a ref to the event handler registered via the bind() function?

2007-07-21 Thread Alan
In short, it seems that the event handler function registered via the bind() method is not available through the element's onXXX attributes. For example: $('#myEle').bind('click', function(){ // do something }); but the myEle.onclick attribute is still undefined after the above bind() call.

[jQuery] ie6pnghack plugin weirdness

2007-07-21 Thread Kush mann
Hi guys, I have a weird situation (1) uzhana.com - uses ie6pnghack plugin http://khurshid.com/jquery/iepnghack/ (2) sensorynetworks.com - uses same methodology without implementing jquery (1) always waits till all images are fully loaded before showing the actual page (2) starts loading the

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-21 Thread Jarod
Hi, Chrisss, Maybe $.getScript is what you looking for. say, there is a hello.js with content: alert(hello); when you invoke $.getScript(hello.js) , scripts in hello.js will be eval and execute. for more details about $.getScript you can checkout the api doc On Jul 21, 12:57 am, Chrisss

[jQuery] ie6pnghack plugin weirdness

2007-07-21 Thread Kush mann
Hi guys, I have a weird situation (1) uzhana.com - uses ie6pnghack plugin http://khurshid.com/jquery/iepnghack/ (2) sensorynetworks.com - uses same methodology without implementing jquery (1) always waits till all images are fully loaded before showing the actual page (2) starts loading the

[jQuery] Re: jQuery jEditable

2007-07-21 Thread Aureole
Right thanks... ...I though I'd ask here anyway, just in case anyone could help.

[jQuery] load record and show form, two responses from clicking one link

2007-07-21 Thread Hugh Hayes
Hi- I have to thank you all for things like 15 days of jquery and the sites with the tutorials, I've been able to add some great things to my pages lately. Apologies if this question is stupid. I have a form. There's a table on the page that displays the records. Each record has an edit

[jQuery] Re: Click to call a fuction?

2007-07-21 Thread Mitchell Waite
I'm going to build a page with just the basic code for responding to the click then add the libraries and see if that makes things fail. I'll post a message about. My comments are below and I appreciate your taking the time to explain this to me. -Original Message- From:

[jQuery] Re: jQuery for Dummies

2007-07-21 Thread Mitchell Waite
Thanks for the clarification Karl, I think I see the audience your book is intended for. I am not a true programmer in the sense I do it every day, so while I have coauthored and published lots of language books I do not consider myself very high above dummy status. BTW I love your blog at

[jQuery] [Interface] ScrollTo

2007-07-21 Thread debussy007
Hi, I am using the ScrollTo function of interface but I can notice that it is not very fluid scrolling... I use it to scroll my header on all the pages except the main page. So I have put it in the jQuery(document).ready function, so that when the user clicks on the page, it automatically

[jQuery] Re: Autocomplete.js not runs on PHP Version 5.0.2

2007-07-21 Thread Stephan Beal
On Jul 21, 3:26 pm, navi [EMAIL PROTECTED] wrote: Hello All, I found that autocomplete runs only on PHP 5.2 and higher version, Any solution in this regard. Unfortunately, the author of autocomplete fails to document which PHP version it needs. The solution, i'm afraid, is to upgrade. For

[jQuery] Re: Click to call a fuction?

2007-07-21 Thread Karl Swedberg
On Jul 21, 2007, at 3:23 PM, Mitchell Waite wrote: This concept of walking is something that I am not familiar with. In fact I have to say that I am not well versed in the DOM and I think that is lowering my ability to get the big picture, so that is part of my work ahead. I certainly get

[jQuery] Click to Call a Function Part 2

2007-07-21 Thread Mitchell Waite
Its Mitch again learning about clicks and events:) I set up this test page http://www.whatbird.com/wwwroot/test.html Mouseover the nest image and it displays a message about the event. Click on the nest and fades to 50% opacity. Notice how the bottom gets clipped? I can't figure this out.

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Glen Lipka
The height of the div id=nest is 208px, but the image inside it is 260px; Line 40. Make them both 260 and it should stop clipping. Glen On 7/21/07, Mitchell Waite [EMAIL PROTECTED] wrote: Its Mitch again learning about clicks and events:) I set up this test page

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Glen Lipka
I didnt quite understand what you are saying for the follow up questions. 1. best way to do what? 2. Which statement is getting repeated that you dont want to? Glen On 7/21/07, Glen Lipka [EMAIL PROTECTED] wrote: The height of the div id=nest is 208px, but the image inside it is 260px; Line

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Glen Lipka
Ok, sorry, Im dense today and clicking send too quickly. :( Yes, there is a better way. Ill whip up a demo. brb Glen On 7/21/07, Glen Lipka [EMAIL PROTECTED] wrote: I didnt quite understand what you are saying for the follow up questions. 1. best way to do what? 2. Which statement is getting

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Glen Lipka
Ok, sorry for the 4 emails. A better way: http://www.commadot.com/jquery/events/ Also, here is a way to get fancy pants with it. Uses Brandon's behavior plugin. My first use of it. http://www.commadot.com/jquery/events/append.htm Glen On 7/21/07, Glen Lipka [EMAIL PROTECTED] wrote: Ok,

[jQuery] [NEWS] AjaxRain.com Continues to Grow

2007-07-21 Thread Rey Bango
I've mentioned AjaxRain (http://www.ajaxrain.com/) on numerous occasions and for good reasons. They have by far, the most comprehensive collection of Ajax/DOM/JS components around and its constantly being updated. Apart from that, they're a jQuery-powered site with a developer that loves

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Glen Lipka
$(this) is the anchor link the user clicked on. What is nice about jquery is the whole concept of $(this). Once you know what the user moused over or clicked on or dragged or whatever, you have a place to start in your code. For instance, let's say you had a table with ten rows. and this code:

[jQuery] Re: Dynamically set function settings?

2007-07-21 Thread juliandormon
HI Michael, Thank you so much for the very informative answer. I believe it will serve me well in the future. I guess what I was driving at, was rewriting a function in the head of my page. But I see now that I can simply call dynamically generated functions from the head - so there is no need

[jQuery] Re: superfish delay not working

2007-07-21 Thread cpsengine
Thanks for the response, Joel. Your first post was posted half an hour after mine, but for some reason showed up before it. Your explanation of the CSS behavior was very helpful. I was able to adjust the CSS with some trial and error until I got my menu to work, and the CSS version working with

[jQuery] Re: ANNOUNCE: fr.jquery.com/planet

2007-07-21 Thread Jay Salvat
I'm glad to hear about this news. Can't subscribe to the Rss Feed. Richard D. Worth a écrit : There's a new jQuery planet[1], and it speaks French: http://fr.jquery.com/planet We've got two french jQuery blogs syndicated so far: Gastero Prod jquery.info Note: fr.jquery.com (without

[jQuery] Re: jQuery jEditable

2007-07-21 Thread Aureole
Thanks for your reply...I read those links but I'm new to all this coding stuff. I sent you an Email anyway. On Jul 21, 4:21 pm, Richard D Shank [EMAIL PROTECTED] wrote: First, never insert input into a database with filter it first. It makes you vulnerable for an attack. You can read this

[jQuery] Re: What am I missing from this plugin?

2007-07-21 Thread barophobia
On 7/18/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: You need to var the generate_to variable in the click handler. Currently it's a global variable, which makes the second instance overwrite the first instance. Change: generate_to = $(this).attr('for'); to: var generate_to =

[jQuery] Jquery doesn't work with mod_rewrite ?

2007-07-21 Thread Nico
Hello, I've already post this message in another lists wihch was not the right one. Hello, First of all, I'd like to say that the JQuery lib is the best I've ever used ! But I've a tiny problem with my script. I'm rewriting URLs with the mod_rewrite and when I try to run JavaScript scripts

[jQuery] interface plugin not working with jquery 1.1.3.1?

2007-07-21 Thread brianwilkins
I had the following jquery script in my web page and it worked fine with jquery 1.1.2. After an upgrade to jquery 1.1.3.1, the Bounce effect causes errors according to Firebug. The error is jQuery.easing[e.easing] is not a function Not sure if anyone else has noticed this or if there is a

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Mitchell Waite
I believe I am getting it. I bet all the luckers are rolling on the floor with laughter at my naivety. That's fine, I can look silly. I'd love to see your table example so I can hammer this home. Seeing the code would help me understand how this gets turned into a colored background.

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Glen Lipka
here is a demo of the table http://www.commadot.com/jquery/events/table.htm You should think about your html like a giant tree. The html tag is the trunk, then the body tag is a branch, and then the table tag is a branch off that, and so on and so on, down through each nested item. Climbing up

[jQuery] Re: Jquery doesn't work with mod_rewrite ?

2007-07-21 Thread John Resig
What's your rewrite rule? I rewrite the URLs for the jquery.js files on jquery.com and never had any problems. --John On 7/21/07, Nico [EMAIL PROTECTED] wrote: Hello, I've already post this message in another lists wihch was not the right one. Hello, First of all, I'd like to say that the

[jQuery] Re: interface plugin not working with jquery 1.1.3.1?

2007-07-21 Thread John Resig
Brian - This has already been fixed (in jQuery) and it's in SVN. It'll be in jQuery 1.1.4, which should be coming out soon. --John On 7/21/07, brianwilkins [EMAIL PROTECTED] wrote: I had the following jquery script in my web page and it worked fine with jquery 1.1.2. After an upgrade to

[jQuery] Re: ANNOUNCE: fr.jquery.com/planet

2007-07-21 Thread Richard D. Worth
I am able to at: http://fr.jquery.com/planet/atom.xml Let me know if you're still having problems. - Richard On 7/21/07, Jay Salvat [EMAIL PROTECTED] wrote: I'm glad to hear about this news. Can't subscribe to the Rss Feed. Richard D. Worth a écrit : There's a new jQuery planet[1], and

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Brandon Aaron
On 7/21/07, Mitchell Waite [EMAIL PROTECTED] wrote: I believe I am getting it. I bet all the luckers are rolling on the floor with laughter at my naivety. You won't find anyone laughing at you here. Learning is what this community is all about! You are asking some very good questions. I know

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Mitchell Waite
Glen I have both those tools but I have only used them sparingly, to see outlines or find stuff. But now I will make better use of them. I believe I got it now with that table, thanks so much, hope I can make it up to you. I bought two books today that look like they have everything I

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Mitchell Waite
Hey that's great you are enjoying this. And I am IN LOVE with the jQuery plugins, because of the fact that even if you don't know how they work, they are super easy to use. Man I have been trying kinds of cool stuff, tooltips, interface elements, rounded corners, it's like being a candy store. I

[jQuery] Click to Call a Function: The Movie

2007-07-21 Thread Mitchell Waite
Glen (and others): This looks better on a big screen but do I have this right? http://www.whatbird.com/wwwroot/images/addClass.gif Mitch PS How do I keep my email address from getting displayed on my messages? From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

[jQuery] Re: Click to Call a Function Part 2

2007-07-21 Thread Glen Lipka
Try this book. It's the first jQuery book. http://www.packtpub.com/jQuery/book Actually, I dont love the tree metaphor either. Rather think of it like the Windows File Structure. the C drive is the root HTML tag. And each folder is nested inside another one. Siblings are folders in the same

[jQuery] Re: Click to Call a Function: The Movie

2007-07-21 Thread Glen Lipka
:) This is really funny. I have never seen anything like this. Yes, I think it's accurate. One note: In general, try to keep the subject like the same and just click reply. In Gmail, that keeps the thread together. Otherwise, it looks like three threads. Makes it easier for people to skip