[jQuery] Re: Possible Plugin for Adding New Event Types

2007-06-06 Thread SeViR
With jQuery is very simple make new event plugins. This is a sample plugin that I made for my organisation: (sorry comments in spanish :$) /** * @fileoverview * Crea nuevos eventos para la pulsación de las teclas: * INTRO, DELETE, ARROWS, PAGINA arriba y abajo * * @author ATICA * @version 0.1

[jQuery] Possible Plugin for Adding New Event Types

2007-06-06 Thread Brandon Aaron
I recently created an plugin/extension for jQuery to use the following syntax for binding events. $('input').bind('mouseover focus', fn); So you can bind multiple event types to the same function quickly. It also applies to .one and .unbind. However, this got me thinking about writing a plugin

[jQuery] Re: Superfish v1.1 released

2007-06-06 Thread Joel Birch
On 07/06/2007, at 6:07 AM, Jörn Zaefferer wrote: Oh, ok. You're right. I simply scanned over the page and just didn't get it. Its really distracting. I agree. It's too confusing for a page that attempts to demonstrate an unrelated JavaScript technique. I've ripped it out of there. Thanks

[jQuery] Re: Selected Option Value

2007-06-06 Thread Alex Ezell
I sent you that telepathy...didn't you hear me? Yeah, this is a good one to know. Thanks for reminding me. /alex On 6/6/07, Glen Lipka <[EMAIL PROTECTED]> wrote: AHA! I wish I knew this 4 hours ago! function whatisit() { alert($("select option:selected").val()); } test blah foo Why d

[jQuery] Selected Option Value

2007-06-06 Thread Glen Lipka
AHA! I wish I knew this 4 hours ago! function whatisit() { alert($("select option:selected").val()); } test blah foo Why didn't anyone tell me this worked? Ugh. Glen

[jQuery] Re: Weird IE behavior - need help

2007-06-06 Thread Karl Rudd
No need to have "two versions" of function arguments. The "setTimeout( ..., 0)" fires directly after (or extremely soon after) the function finishes and it will work for all browsers. Because you don't need separate functions you can just include the functions in the "each" scope and so have acc

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Mike Alsup
You can already do that now: encodeURIComponent = function(s) { // your own encoding }; But, you know, good luck with that :) Well said! :-) Good luck, indeed. The truly brave could try: encodeURIComponent = escape; Ha. Mike

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Ⓙⓐⓚⓔ
I guess so... but it seems very scary! On 6/6/07, Erik Beeson <[EMAIL PROTECTED]> wrote: You can already do that now: encodeURIComponent = function(s) { // your own encoding }; But, you know, good luck with that :) --Erik On 6/6/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > > All the encodi

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Erik Beeson
You can already do that now: encodeURIComponent = function(s) { // your own encoding }; But, you know, good luck with that :) --Erik On 6/6/07, Mike Alsup <[EMAIL PROTECTED]> wrote: All the encoding is done in $.param using encodeURIComponent. I agree that it makes sense to modularize that

[jQuery] Re: CSS styles being lost in IE after Ajax Form Submission

2007-06-06 Thread Mike Alsup
The problem in IE is that the form is not getting added to the DOM after posting it once. It looks like IE is stripping that element out for some reason. Notice that you can't post that page twice. The styles are lost because the css rules are based on the presence of the form element. I'm no

[jQuery] Re: Problem with Jquery and integrating into existing scripts.

2007-06-06 Thread Michael Geary
Roger on the login problem. One thing you could possibly do if we don't get it figured out: Do a View Source of the page with the problem, save that to a static .html file, strip it of any proprietary information, and then post the resulting page where we can look at it. In the meantime, one thou

[jQuery] Re: CSS styles being lost in IE after Ajax Form Submission

2007-06-06 Thread juliandormon
Thanks Mike, That third tab is not 'hooked up' yet. I get no javascript errors in any browser. But the problem appears on 2 different machines is IE 6 and 7. Were you able to see the problem in IE? malsup wrote: > > > I finally got IE going this morning and I see the same results there; > Pa

[jQuery] Re: Problem with JQuery and existing JS code.

2007-06-06 Thread Mike Alsup
Angelo, If you could post a link to a page that exhibits the problem I'm sure we can help you out. In general, there's really nothing special you need to do. Since it works in FF, my guess is that there is just a script error occurring in IE that is preventing further scripts from running. Mi

[jQuery] Re: Input Selector

2007-06-06 Thread Aaron Heimlich
Try this (totally untested): $("form table tr.required").find("[EMAIL PROTECTED]''], [EMAIL PROTECTED]'']").filter(function() { return this.required != false; }); see http://docs.jquery.com/DOM/Traversing#filter.28_filter_.29 info my usage of $().filter() On 6/6/07, Glen Lipka <[EMAIL PROTEC

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Ⓙⓐⓚⓔ
very sweet! On 6/6/07, Mike Alsup <[EMAIL PROTECTED]> wrote: All the encoding is done in $.param using encodeURIComponent. I agree that it makes sense to modularize that a bit more. Maybe add a $.encode method like: $.encode = function(s) { return encodeURIComponent(s) }; That would make it

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Ⓙⓐⓚⓔ
in the case where escape doesn't work for you, you would have to substitute a function that does what you want... I tried 1 letter ö. On 6/6/07, Mike Alsup <[EMAIL PROTECTED]> wrote: Remember that escape and unescape don't work properly for non-ASCII characters and have been deprecated. http

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Mike Alsup
Remember that escape and unescape don't work properly for non-ASCII characters and have been deprecated. http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Deprecated_Features#Escape_Sequences Mike On 6/6/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: Oscar, I've put together an ajax call

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Bil Corry
Ⓙⓐⓚⓔ wrote on 6/6/2007 4:16 PM: I've put together an ajax call that passes iso8859-1 instead of utf-8. FWIW, below is how to do it server-side. I wrote it in Lasso as generically as I could, hopefully you can adapt it to ASP if you choose to do the conversion server-side. - Bil

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Mike Alsup
All the encoding is done in $.param using encodeURIComponent. I agree that it makes sense to modularize that a bit more. Maybe add a $.encode method like: $.encode = function(s) { return encodeURIComponent(s) }; That would make it much easier for someone to pop in their own encoder by simply o

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Ⓙⓐⓚⓔ
Oscar, I've put together an ajax call that passes iso8859-1 instead of utf-8. It's not pretty but shows that by doing your own serialize the server sees iso chars instead of utf. $(function(){ $.ajax({ url: "/test.cgi", processData: false, data: 'foo=

[jQuery] Input Selector

2007-06-06 Thread Glen Lipka
I want to construct a selector that finds empty elements in a required tr. However, I want to ignore inputs that have an expando value required=false Something like: $("form table").find("[EMAIL PROTECTED]'']").not("[EMAIL PROTECTED]'false']"); Does this look right? I also want to find selects

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Ⓙⓐⓚⓔ
I trie $.ajax({ url: "/test.cgi", processData: false, data: $('html'), success: function(){console.log(arguments)} }) and data: $("html")[0] both might be what John meant by xml ... no magic ha

[jQuery] Re: ANN: jQuery-Powered Sites: The List Continues to Grow

2007-06-06 Thread Karl Swedberg
Hey folks, I just checked out the newsgator.com (maker of feedDemon and NetNewsWire) site after reading the news about the update to NetNewsWire. So, I logged in to the new beta web-based RSS reader and -- lo and behold! -- it's using jQuery! Uses Interface for some nice modal dialogs. Ha

[jQuery] Re: Dynamically loading javascipt .js files?

2007-06-06 Thread Josh Bush
You don't need jquery. document.write("<\/ script>"); The important part is to escape the / in the tag. On Jun 6, 3:43 pm, Joshua Daniel Franklin <[EMAIL PROTECTED]> wrote: > Is there a way for jQuery to dynamically load an external js file? > > For example, instead of always including: > > >

[jQuery] Re: Dynamically loading javascipt .js files?

2007-06-06 Thread Karl Swedberg
or, you could try this... $.getScript( url, callback ) Loads, and executes, a remote JavaScript file using an HTTP GET request. Warning: Safari <= 2.0.x is unable to evaluate scripts in a global context synchronously. If you load functions via getScript, make sure to call them after a d

[jQuery] Re: Problem with Jquery and integrating into existing scripts.

2007-06-06 Thread Angelo Zanetti
Hi Michael. Its very difficult for me to give you a link because you have to unfortunately login to the system. Maybe I can expain clearly what the script does. In the I include the jqeuery js script and also the other scripts used to do the other js actiivities which in this case is drag

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Ⓙⓐⓚⓔ
has anyone used it to send an xml doc??? That's what the doc says... I guess I'll just have to try it! On 6/6/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Ⓙⓐⓚⓔ wrote: > I'm a bit confused about processData parameter in the ajax call. > > From the doc it talks about sending a dom node to the

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Mike Alsup
Cool, looks like you have it working. But you probably want to add a "return false" to your click handler. Mike On 6/6/07, Aaron Scott <[EMAIL PROTECTED]> wrote: Sorry, here's an example to go with my ramblings: http://www.andcuriouser.com/sandbox/jqueryqt/test.html Aaron

[jQuery] Re: Problem with Jquery and integrating into existing scripts.

2007-06-06 Thread Michael Geary
Angelo, can you post a link to a test page? Without seeing the problem in action, we would all be just guessing. > From: Angelo Zanetti > I have been having trouble with integrating JS into existing website. > The particular files that we are trying to include the Jquery > into the JS that exis

[jQuery] Re: Validate plugin : is this a normal behaviour ?

2007-06-06 Thread Fabien Meghazi
That is a bug. Could you give the latest revision a try? It contains a fix for this behaviour: http://dev.jquery.com/browser/trunk/plugins/validate/jquery.validate.js?format=txt Thanks a lot ! It works fine : http://www.amigrave.com/upload/posts/jquery/validate2.htm All your plugins rocks

[jQuery] Problem with Jquery and integrating into existing scripts.

2007-06-06 Thread Angelo Zanetti
Dear all. I have been having trouble with integrating JS into existing website. The particular files that we are trying to include the Jquery into the JS that exists in the files just stops working. Even basic stuff for example even if I called a function called hello() and in there it just

[jQuery] Auto Scrolling Text in an Element (div) - Overflow hidden.

2007-06-06 Thread NoCopy
Hey folks, Just curious if anyone has an auto scroller plugin kicking around for an element such as a DIV that contains more content then it's height. Ideally, on page load, it would check to see if the content is too long, if it is - then it would have a delay, scroll the content in the div at

[jQuery] Problem with JQuery and existing JS code.

2007-06-06 Thread Angelo Zanetti
Dear all. I have been having trouble with integrating JS into existing website. The particular files that we are trying to include the Jquery into the JS that exists in the files just stops working. Even basic stuff for example even if I called a function called hello() and in there it just had an

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Aaron Scott
Sorry, here's an example to go with my ramblings: http://www.andcuriouser.com/sandbox/jqueryqt/test.html Aaron

[jQuery] Make your Vacations pleasureable

2007-06-06 Thread nobi
If you want to HAPPY MOMENTS and Make your Vacations pleasureable, Travel all over the world, before going to travel don't forget http://www.sadabahar.net we suggest the better place for visit Go and Enjoby you life. You want to view Beautiful place in the world. But we traveled you in Indian

[jQuery] Interface - Get Status from BlindToggleVertically

2007-06-06 Thread PCDConny
Hi, im new with jQuery, how can i get the status from the last BlindToggleVertically Order? Is the element up or down? Regards from Stuttgart/Germany Conny

[jQuery] Re: Dynamically loading javascipt .js files?

2007-06-06 Thread Christof Donat
Hi, > Is there a way for jQuery to dynamically load an external js file? You might like to have a look at jspax.org. Christof

[jQuery] Re: CurvyCorners Minified

2007-06-06 Thread Glen Lipka
No. Now I am. :) Thank you! Glen On 6/6/07, Brian Cherne <[EMAIL PROTECTED]> wrote: Are you using curvyCorners from: http://www.talrasha.com/jquery/curvycorners/demo.html The downloadable gzip file from that site contains a packed version of the plug-in. Brian. On 6/6/07, Glen Lipka <[EM

[jQuery] Re: $.post not load why?

2007-06-06 Thread bruno desthuilliers
On Jun 4, 5:27 pm, Massimiliano Marini <[EMAIL PROTECTED]> wrote: > I want to load news in my html page from a php script from another > site. > > I have included this script in my html page, but not work, maybe I'm > wrong using $.post? > > $(document).ready(function(){ > > $.post("http

[jQuery] Dynamically loading javascipt .js files?

2007-06-06 Thread Joshua Daniel Franklin
Is there a way for jQuery to dynamically load an external js file? For example, instead of always including: I'd like to load a Javascript file when a user specifies a function type. Obviously I'd still need to bootstrap jquery.js in .

[jQuery] Re: CurvyCorners Minified

2007-06-06 Thread Brian Cherne
Are you using curvyCorners from: http://www.talrasha.com/jquery/curvycorners/demo.html The downloadable gzip file from that site contains a packed version of the plug-in. Brian. On 6/6/07, Glen Lipka <[EMAIL PROTECTED]> wrote: The Edwards Packer broke it. :( Glen On 6/6/07, Matt Stith <[EM

[jQuery] Re: CurvyCorners Minified

2007-06-06 Thread Glen Lipka
The Edwards Packer broke it. :( Glen On 6/6/07, Matt Stith <[EMAIL PROTECTED]> wrote: You can go ahead and do it yourself! http://dean.edwards.name/packer/ (google is your friend ;) ) On 6/6/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > > Is there a packed / minified version of the jQuery Cur

[jQuery] Re: processData:false in ajax calls?

2007-06-06 Thread Jörn Zaefferer
Ⓙⓐⓚⓔ wrote: I'm a bit confused about processData parameter in the ajax call. From the doc it talks about sending a dom node to the server, that sounds pretty strange. What is it used for? From the code it looks like a perfect hook to send non utf-8 data (iso-8859-1). Has anyone used it???

[jQuery] Re: Validate plugin : is this a normal behaviour ?

2007-06-06 Thread Jörn Zaefferer
Fabien Meghazi wrote: Hi all, I wonder if someone can tell me if there's a problem in Validate plugin or if it is the normal behaviour in which case I'm probably missing an option. As you can see here : http://www.amigrave.com/upload/posts/jquery/validate.htm When you submit the form once (w

[jQuery] Re: Superfish v1.1 released

2007-06-06 Thread Jörn Zaefferer
Joel Birch wrote: On 06/06/2007, at 6:37 AM, Jörn Zaefferer wrote: Your description at "What is it?" implies that the menu is able to degrade. When I turn off JS, I don't see any menu at all, I think that was the idea behind it. Hi Jörn, Just to be clear, Superfish is a plugin that enhance

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Mike Alsup
from http://developer.apple.com/internet/ieembedprep.html anything else won't work as well. That's only true for static content. Dynamically, you can skip the embed tag on IE and the object tag on everything else. Aaron, I think your script errors are probably from the closing '' tag. You

[jQuery] Re: Date picker question

2007-06-06 Thread abba bryant
I am retarded. I found it. I was for some reason looking at the first datepicker by kelvinluck. I see now that version two has the example I wanted. abba bryant wrote: > > Not long ago there was a link from one of these threads that had a > datepicker plugin with an example using callbacks to

[jQuery] Date picker question

2007-06-06 Thread abba bryant
Not long ago there was a link from one of these threads that had a datepicker plugin with an example using callbacks to modify a group of month / day / year select fields. Does anyone remember the link to this example or even which plugin it was? I have looked over kelvinluck's plugin and I can

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Ⓙⓐⓚⓔ
I hit your page, and got the error you showed... I notice your object didn't look like my objects... so I went back to where I got my info... I do some jQuery + qt video on my dog's site. http://jpassoc.com/junior/puppy-movies.html validating is for html code, not for JavaScript... we can abuse

[jQuery] processData:false in ajax calls?

2007-06-06 Thread Ⓙⓐⓚⓔ
I'm a bit confused about processData parameter in the ajax call. From the doc it talks about sending a dom node to the server, that sounds pretty strange. What is it used for? From the code it looks like a perfect hook to send non utf-8 data (iso-8859-1). Has anyone used it??? -- Ⓙⓐⓚⓔ - יעקב

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Aaron Scott
> anything else won't work as well. Right now, my sample code is FF-only until I can get that up and running (since FF is better for JS debugging). After that, I'll work on IE (using the double-object method). Apple's method works, but it doesn't validate. Compare it to this: http://www.apple.co

[jQuery] frameReady or jqModal?

2007-06-06 Thread rolfsf
I had designed a page concept that used jqModal to load an external page into a div while blocking the UI of the parent page, triggered by clicking on a link. However, our engineer had a problem with that, as he needed to load an aspx page with a form into the modal window and encountered various

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Ⓙⓐⓚⓔ
http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0 width="320" height="256" align="middle"> http://www.apple.com/quicktime/download/";> http://developer.apple.com/internet/ieembedprep.html anything else won't work as well. On 6/6/07, Aaron Scott <[EMAIL PROTECTED]> wrote:

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread Chris W. Parker
On Wednesday, June 06, 2007 10:53 AM oscar esp <> said: > Any one knows some conversion dll or "script" or "something" I am > desesperate!!! > > In order to refresh my problem: > > I have a asp page with iso-8859-1 wich recives a post in utf-8... I > can not change teh code page neither the ser

[jQuery] Re: jQuery core charset???????????(please help!!!!me!)

2007-06-06 Thread oscar esp
Any one knows some conversion dll or "script" or "something" I am desesperate!!! In order to refresh my problem: I have a asp page with iso-8859-1 wich recives a post in utf-8... I can not change teh code page neither the server header.. .I need to take the Resquest.queryString("var") and conver

[jQuery] Re: block plugin

2007-06-06 Thread oscar esp
You are the best On 6 jun, 18:22, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > Oscar, > > blockUI only blocks the document on which it is loaded. If you have > code executing in your iframe and you want that code to block the > parent document you need to call up through the parent: > > parent.

[jQuery] Re: CurvyCorners Minified

2007-06-06 Thread Matt Stith
You can go ahead and do it yourself! http://dean.edwards.name/packer/ (google is your friend ;) ) On 6/6/07, Glen Lipka <[EMAIL PROTECTED]> wrote: Is there a packed / minified version of the jQuery Curvy Corners? Glen

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Aaron Scott
> Yes, that method or creating the element should work just fine. Can > you post a sample page? Maybe there's just a minor typo or something > causing the problem. > Sure. http://www.andcuriouser.com/sandbox/jqueryqt/test.html The error: Error: uncaught exception: [Exception... "String conta

[jQuery] Re: ImageStrip and newer jquery library

2007-06-06 Thread Joel Birch
On 07/06/2007, at 3:04 AM, Vincent Majer wrote: var left = this.image.left(); Hi Vincent, This may fix it. Change that line to: var left = this.image.css('left'); Joel.

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Mike Alsup
Yes, that method or creating the element should work just fine. Can you post a sample page? Maybe there's just a minor typo or something causing the problem. Mike ... and append children to that, and then append _that_ as a child to the body to display the movie. But no matter what I do, I'

[jQuery] CurvyCorners Minified

2007-06-06 Thread Glen Lipka
Is there a packed / minified version of the jQuery Curvy Corners? Glen

[jQuery] ImageStrip and newer jquery library

2007-06-06 Thread Vincent Majer
Hi, i'm using this plugin : http://blog.joshuaeichorn.com/archives/2007/01/11/jquery-image-strip/ It works well with an older version of jquery (1.0.4) but when i try to use it with jquery 1.1.2, it tells me that.. Erreur : this.image.left is not a function Ligne : 30 Here is the line 30 : var

[jQuery] Re: InnerFade without javascript support

2007-06-06 Thread tzmedia
CSS is so powerful & easy sometimes. Wouldn't placing the innerFade sequence of images in a div, and then assigning that div: overflow:hidden; properties take care of it, that's just too easy, I'll report back how it works. Also I tried throwing in the innerfade as a page include using .Asp that

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Aaron Scott
> Actually you don't need to go that low-level. Take a peak at the > "generate" method here: > > http://malsup.com/jquery/media/jquery.media.js > I'm sorry, I've gone over the JS a thousand times and I'm not making any progress. My JS just isn't that strong. Looking over the "generate" method,

[jQuery] Re: Newbie: Superfish menu help

2007-06-06 Thread Joel Birch
Thanks Jason, you are most welcome. And I am flattered that you like my stuff. :) Joel. On 07/06/2007, at 2:12 AM, JLuther wrote: Joel, Thank you! You are the Man! I hadn't had a chance to check on this issue since my second post yesterday, so I'm sorry you were replying to yourself. T

[jQuery] Re: firebug displays "jQuery is not defined" on page load

2007-06-06 Thread Mike Alsup
I think that's a firebug problem, but can you try it without the packed version of jQuery so we can get a better look? Mike On 6/6/07, GianCarloMing <[EMAIL PROTECTED]> wrote: Hi all. I've made a little website for some friends and, on that specific page http://www.modostudio.net/projects.ht

[jQuery] Re: firebug displays "jQuery is not defined" on page load

2007-06-06 Thread Sean Catchpole
I have a feeling the problem is with this code: /* highlight TR */ 25 $("#prj tr").mouseover(function(){ 26 $(this).addClass("over"); 27 }) 28 .mouseout(function(){ 29 $(this).removeClass("over"); 30 } 31 ); Try taking that out or changing it this: $("prj tr").hover( function(){ $(this).addClass

[jQuery] Re: Newbie: Superfish menu help

2007-06-06 Thread JLuther
Joel, Thank you! You are the Man! I hadn't had a chance to check on this issue since my second post yesterday, so I'm sorry you were replying to yourself. Thanks for pointing out the issues with the CSS, too. I got so frustrated with my poor JavaScript skills (lack thereof) that I totally overlo

[jQuery] Re: block plugin

2007-06-06 Thread Mike Alsup
Oscar, blockUI only blocks the document on which it is loaded. If you have code executing in your iframe and you want that code to block the parent document you need to call up through the parent: parent.$.blockUI(); Mike On 6/5/07, oscar esp <[EMAIL PROTECTED]> wrote: I use the block plu

[jQuery] Re: improving page apparition

2007-06-06 Thread Mike Alsup
FYI, blockUI shouldn't be used before the DOM has loaded. On 6/6/07, arnaud sellenet <[EMAIL PROTECTED]> wrote: I think the most efficient way would be to use inline javascript to hide the page and blockUI(), and unblock and show onload. . $('#container').hide(); $.blockUI();

[jQuery] Re: Change Css clasess

2007-06-06 Thread Scott Sauyet
[EMAIL PROTECTED] wrote: Sorry, I've got it now: No need to be sorry. Glad you got it. The original culprit was probably if (pos = "left") { which should read if (pos == "left") { (an extra equals sign.) Cheers, -- Scott

[jQuery] Re: Change Css clasess

2007-06-06 Thread [EMAIL PROTECTED]
Sorry, I've got it now: $('#sidebar_pos').toggle(function() { $('#content').find('#floated_one').css('float', 'left'); $('#content').find('#floated_two').css('float', 'right'); return false; }, function() { $('#content').find('#floated_one').css('float', 'right'); $('#conten

[jQuery] Re: improving page apparition

2007-06-06 Thread arnaud sellenet
I think the most efficient way would be to use inline javascript to hide the page and blockUI(), and unblock and show onload. . $('#container').hide(); $.blockUI(); . Le 6 juin 07 à 17:23, Karl Swedberg a écrit

[jQuery] Re: improving page apparition

2007-06-06 Thread Karl Swedberg
have you tried using the Image.complete property? you could try something like this: 1. hide everything on document.ready 2. loop through the images, testing for complete 3. if any return a value of false, set a timeout and start the loop again 4. if it loops through successfully, show everyth

[jQuery] Change Css clasess

2007-06-06 Thread [EMAIL PROTECTED]
Hi there, I've got 2 elements floating one with the css float:right and the other one float:left, I would like to change both values at the same time when a button is clicked. The code that I have only works the first time and after that I'm getting an error "too much recursion". I'm sure this

[jQuery] Re: DC Drupal User's Group

2007-06-06 Thread Michael Haggerty
Yeah, hey, sorry about the confusion, no intent to hijack threads here. Just wanted to get the word out to the jquery people we were meeting in DC to talk about Drupal and AJAX. Nothing to see here, move along... Thank you, Michael Haggerty Managing Partner Trellon, LLC http://www.trellon.com

[jQuery] Re: CSS styles being lost in IE after Ajax Form Submission

2007-06-06 Thread Mike Alsup
I finally got IE going this morning and I see the same results there; ParentPageID is undefined. I didn't see any problems on the Page Settings or Page Design pages. But when I submit from the Page Content page I get a JS error on this line: var navLevel = document.pageSettingsForm1.ParentPag

[jQuery] Re: CSS styles being lost in IE after Ajax Form Submission

2007-06-06 Thread Mike Alsup
I didn't see any problems on the Page Settings or Page Design pages. But when I submit from the Page Content page I get a JS error on this line: var navLevel = document.pageSettingsForm1.ParentPageID.value.split("|"); ParentPageID is null in this case. Hope this helps. By the way, I was using

[jQuery] Re: Weird IE behavior - need help

2007-06-06 Thread devsteff
THATS IT! thanks a lot! it was a little bit tricky for me to pass the row object to the trHigh/ trLow functions, because when triggered by a timeout "this" didn't point to the row (the event target) but to the window object :(. so i must implement a browser switch :( my code looks now like: reg

[jQuery] Re: Processing ajax load content before it gets added to DOM ?

2007-06-06 Thread ZebZiggle
haha ... thanks Jake. For some reason I was thinking .load() made it into a blocking call. Back to the salt mines for me. Cheers, Sandy

[jQuery] Re: Help With Pan View Code

2007-06-06 Thread corymac
>From what research I could find, it may have something to do with the switching over in IE from document.body to document.documentElement in html4, but I'm not sure on how one would go about referencing that specific div taking that into account. I'm stumped here, anyone else with any ideas? On

[jQuery] Re: Returning XML from AJAX

2007-06-06 Thread Tom Holder
aha! I'd missed the xml parameter out of the function!! Doh. Thanks Tom On Jun 6, 12:51 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > Make sure the content-type response header is text/xml. Is your success > callback getting called at all? > > --Erik > > On 6/6/07, Tom Holder <[EMAIL PROTECTED]

[jQuery] Re: Returning XML from AJAX

2007-06-06 Thread Tom Holder
Hi Erik, Yes the response is text/xml and also the success is definately being called. Thanks Tom On Jun 6, 12:51 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > Make sure the content-type response header is text/xml. Is your success > callback getting called at all? > > --Erik > > On 6/6/07, To

[jQuery] Re: update input name

2007-06-06 Thread Sam Collett
On Jun 6, 8:50 am, oscar esp <[EMAIL PROTECTED]> wrote: > Thnaks... I have tryed: > > jQuery("#"+inputID,addedItem).attr("id",newInputID); > content1= jQuery("#"+newInputID,addedItem)[0].outerHTML > content1=content1.replace(inputID,newInputID) > jQuery("#"+newInputID,addedItem)[0].outerHTML = con

[jQuery] Re: datePicker v2 beta

2007-06-06 Thread Rob Desbois
I disagree; in the interest of keeping the plugin small, to do this outside the class is equally minimal effort and I don't think the plugin should accept every possible representation. If you always use Date where String is required, you can overload and wrap the function to perform the conversio

[jQuery] Re: Drag and Drop

2007-06-06 Thread Gordon
I am trying with the Selectables feature of Interface, but this seems to have some problems when you drag an elemenet that has already been dragged once for a second time. It still has position data from the previous move that causes bad things to happen. Also, it seems to be a little bit overk

[jQuery] Re: datePicker v2 beta

2007-06-06 Thread Brian Miller
Just my opinion: both Date and String should be supported. It's probably only two lines of code to check for type, and cast to the other type if necessary. - Brian >>> There's a bug or documentation error with dpSetSelected() [revision >>> #1993] : it's documented as taking a string, but the c

[jQuery] Validate plugin : is this a normal behaviour ?

2007-06-06 Thread Fabien Meghazi
Hi all, I wonder if someone can tell me if there's a problem in Validate plugin or if it is the normal behaviour in which case I'm probably missing an option. As you can see here : http://www.amigrave.com/upload/posts/jquery/validate.htm When you submit the form once (without filling fields),

[jQuery] Re: Returning XML from AJAX

2007-06-06 Thread Erik Beeson
Make sure the content-type response header is text/xml. Is your success callback getting called at all? --Erik On 6/6/07, Tom Holder <[EMAIL PROTECTED]> wrote: Hi Guys, I'm having real trouble accessing some content from XML back from an AJAX request. My code is like this: jQu

[jQuery] Returning XML from AJAX

2007-06-06 Thread Tom Holder
Hi Guys, I'm having real trouble accessing some content from XML back from an AJAX request. My code is like this: jQuery.ajax({ url: "swcontrols/addrepeateritem.ashx", data: {repeaterid: repeaterItemID}, dataType: "xml", su

[jQuery] Re: improving page apparition

2007-06-06 Thread Matt2012
has anyone got a follow up to this as im not getting anywhere with this. If i use window.onload it still reveals my dom before the css has been applied and the last images have been loaded. I need a full proof way of not showing anything until everything has been fully loaded.

[jQuery] Drag and Drop

2007-06-06 Thread Gordon
I am writing some code using jQuery and the Interface plugin to allow sorting of a list by drag and drop. The code is pretty simple and works well enough, but I could do with a slightly more sophisticated drop behaviour. Here's the code so far: $(document).ready (function () { $('.favRo

[jQuery] Re: Problem using jScrollPane with .load

2007-06-06 Thread Kelvin Luck
Hi, I'm not sure exactly what is happening here. One thing that stood out as I looked at your example using firebug was that you are applying the jScrollPane to the tbody. This means that a div gets inserted into the table between the table and tbody tags. To be honest, I'm surprised it's wo

[jQuery] Re: security advice

2007-06-06 Thread Erik Beeson
Yargh! Unless you've omitted something, or I'm misunderstanding, I think you still have a leak in your design. To the OP: that's a fairly big question, but here are some thoughts. Apologies in advance for the length of this. Here's the big thing about web security: *any* webpage that a user brow

[jQuery] Re: block plugin

2007-06-06 Thread GianCarloMing
Try that: $.frameReady() http://ideamill.synaptrixgroup.com/?p=6 Hope this helps. GC On Jun 5, 8:31 pm, oscar esp <[EMAIL PROTECTED]> wrote: > I use the block pluggin in my App. > > I have a Page with this structure: > > > > > > > if I execute the blockUI action in the iframe content only

[jQuery] firebug displays "jQuery is not defined" on page load

2007-06-06 Thread GianCarloMing
Hi all. I've made a little website for some friends and, on that specific page http://www.modostudio.net/projects.html i used the tableSorter plugin to display their works. I want investigate on the weird error that pops up in firebug with firefox 2.0.0.4. If you got firebug installed do that: 1

[jQuery] Re: $.post not load why?

2007-06-06 Thread Massimiliano Marini
Hi Mika, > You could run a proxy script in server where Javascript is > downloaded from. Simple proxy.php can be written with one line of PHP. > > > > Then instead of > > $("#remote").load("http://www.google.com/";) > > you would do > > $("#remote").load("http://www.example.com/proxy.php

[jQuery] Re: security advice

2007-06-06 Thread Christof Donat
Hi, Wow, what is this. I have not inserted the '>' in front of the line that starts with "from thinking". It is not in the copy of the message in my sent-folder. It must have beed added somewhere else. Christof

[jQuery] Re: security advice

2007-06-06 Thread Christof Donat
Hi, > i think what i really was after, was a small 'framework' that does the > thing for me. i can include it everywhere i need/want and check a > "isLoggedIn" or sth like that. There can't be a framework that takes the burdon of secure programming from the programmer. There are features of you

[jQuery] Re: datePicker v2 beta

2007-06-06 Thread Rob Desbois
A tricky one...or perhaps not. My feeling is that the datePicker is there to replace not enhance the input field. I'm not overly pleased with the blur() method as it breaks tabbing between fields. I didn't know that autocomplete could be suppressed (thank you!), but I think that would be the most

  1   2   >