[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-20 Thread SeViR
Jörn Zaefferer escribió: SeViR schrieb: Somewhere in the documentation you should find a comment stating that the temptation to add a regex method is great, but should be resisted. I still think that its better to add custom methods that implement those regular expression instead of one

[jQuery] Re: Memory problem

2007-04-20 Thread Michael Schwarz
Hi, I see the problem, now. The array jQuery.event.global is getting bigger and bigger. For a long running Web application (without any page refresh) it is a strange problem. If I have removed an event and then will delete the element (the DOM element) this should be removed from the

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-20 Thread Klaus Hartl
Jörn Zaefferer schrieb: Ⓙⓐⓚⓔ schrieb: / for a path is great. every page will share the cookies, KLAUS Jörn, wouldn't it be a nice default? This is server wide cookies. If you added a domain .example.com You have all 'subhost' cookies. If you added a domain example.com http://example.com

[jQuery] Re: Memory problem

2007-04-20 Thread Michael Schwarz
Hi, I added some lines to the remove function (line 1245): // original if(!k) element[on + type] = null; // changed to if (!k) { element[on + type] = null; for ( var i=0; ithis.global[type].length; i++) { if(this.global[type][i] == element) {

[jQuery] Re: Keyboard shortcuts

2007-04-20 Thread Gilles (Webunity)
Yes i've ported this to jQuery, i'll add it to SVN tonight. It has thesame options as the keyboard_shortcuts, but i've improved (cleaned up) the code a lot. You can bind any combination you want.

[jQuery] Accordion plugin: how to keep nested lists open?

2007-04-20 Thread Pieshop
Hi everyone, I am new to all this, and need a simple bit of help using the a href=http://bassistance.de/jquery-plugins/jquery-plugin- accordion/Accordion plugin/a. It is working fine - my html is standard nested lists, used as navigation, however, when a child list item within a nested list is

[jQuery] Re: Using EXT with Jquery

2007-04-20 Thread Remy Sharp
HI Eli, I spotted this too - and had a play with Ext and jQuery - though I couldn't really see how the two were supposed to be linked together. I did get the same error as you, but it was because I hadn't set up the underlying HTML properly, i.e. I was telling my page to target 'yui-north'

[jQuery] Re: Tabs plugin: Is there a way to trigger a tab with a URL to load?

2007-04-20 Thread Phillip B Oldham
I've managed to modify the tabs code to allow you to send a new URL to the tab to be executed. Here's a diff: Compare: ()Original\jquery.tabs.js with: ()Modified\jquery.tabs.js 356c358,362 // if the tab is already selected or disabled or animation is still running stop here ---

[jQuery] Re: Using EXT with Jquery

2007-04-20 Thread Remy Sharp
As promised: http://remysharp.com/wp-content/uploads/2007/04/ext_layout.html

[jQuery] Re: .change doesn't match cloned elements?

2007-04-20 Thread [EMAIL PROTECTED]
Thanks for the replies. With that plugin I was able to solve it. :D So now it is working great: http://members.home.nl/mavdude/jquery/fixed.html On Apr 20, 5:38 am, Karl Swedberg [EMAIL PROTECTED] wrote: If you want to clone events along with new DOM nodes, you can try Brandon Aaron's Copy

[jQuery] Re: manipulating TEXAREA content

2007-04-20 Thread Dan G. Switzer, II
Dug, As you may have guessed, I'm not a developer, I'm an IA. The developers are telling me this isn't possible and I figured if it were, the folk on this list would be able to say. So if I understand correctly, by the sound of it, this should be possible:-) You all had concerns about usability

[jQuery] Re: Memory problem

2007-04-20 Thread Brandon Aaron
Michael, I went ahead and created a ticket for this so that it doesn't get lost in the archives. http://dev.jquery.com/ticket/1136 -- Brandon Aaron On 4/20/07, Michael Schwarz [EMAIL PROTECTED] wrote: Hi, I added some lines to the remove function (line 1245): // original if(!k)

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Scott Sauyet
Rick Faircloth wrote: Is there a fool-proof way to determine if a user has Javascript enabled in their browser? From the server side? No. From the client? Just try it. Often, the trick is to make the site function reasonably even if JS is off. One ugly technique that I've used on

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rob Desbois
From where? If javascript runs, they have it enabled - if it doesn't, they don't! Are you wanting to pass this information to your server? Something like the following should work for that: a id='js_detect' href='/foo.php'Load/a script type='text/javascript'!-- $(document).ready(function() {

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Andy Matthews
Simple way to do it might be to use javascript itself to do a forward or something like that. I've seen people set up a meta refresh of 5 seconds in the header, then use javascript to do a location.href as soon as the page loads. If they have js, they get redirected immediately to page A, if they

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Mike Alsup
Well said, Dan. On 4/20/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: As discussed on another mailing list, there's no real need to detect if JS is enabled. If you write unobtrusive JavaScript (which is what jQuery helps you to do) if the user has JS disabled, things will continue to work.

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Andy Matthews
One thing to point out about mine and Dan's suggestion is that your Seach engine ranking will take a hit if you use this method. Google penalizes sites who use redirects to other pages. Depending on why you need to check for JS, you might consider using this method only for portions of the site

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Hi, Dan... and thanks for the feedback... What I would like to do is allow ColdFusion server-side validation messages to be delivered back to the form page via Ajax if JS is available and, if not, just refresh the page. Isn't that what you do with this code is your

[jQuery] Re: Using EXT with Jquery

2007-04-20 Thread Andy Matthews
Never mind. Checked it in FF. Pretty cool. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eli Sent: Friday, April 20, 2007 8:37 AM To: jQuery (English) Subject: [jQuery] Re: Using EXT with Jquery Thanks all of you, especially Remy, I managed

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Thanks for the info, Rob. The purpose here is to determine how my server-side form validation results will be sent back to the form page. If JS is enabled, then I can use Ajax to send them back, if not, then the page will have to be refreshed. This is very important for forms that are

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Klaus Hartl
Rick Faircloth schrieb: If JS is enabled, then I can use Ajax to send them back, if not, then the page will have to be refreshed. If you use JavaScript in the sense of Progressive Enhancement, this should be no problem at all. First build your form working in the traditional way,

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Scott Sauyet
Rick Faircloth wrote: I'm trying to take Progressive Enhancement, as I see it, one step further by integrating the enhancement into the server-side process, where possible and applicable. I think this is going to be difficult, if you are trying to drive it from the server-side. This part

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Dan G. Switzer, II
Rick, That would work if the form were visible when the page is first opened, (And I may have to go that route if what I'm trying doesn't work...), but when the page is first opened, the form is invisible and a link has to be clicked to even view the form. So a named anchor wouldn't provide

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Dan G. Switzer, II
Rick, !---// if this is an AJAX call, we must return JSON data //--- cfif structKeyExists(url, ajax) and url.ajax !---// clear all generated data //--- cfcontent type=text/xml reset=true / cfoutput{ success: #stAction.success#, message:

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Thanks for the feedback, Rey. I'm feel certain that the feedback I'm getting will be correct. I just wanted to ask the questions to be sure. Dan's demo code caused me a lot of confusion, because it seemed to be doing exactly what I'm looking for. I'll try one more approach and that is (as

[jQuery] Re: Superfish, Tabs and IE z-index

2007-04-20 Thread Joel Birch
On 21/04/2007, at 12:43 AM, Chris Scott wrote: I'm using Superfish for my menus and the Tabs plugin. By default, the Superfish menus show up behind the tabs. The Tabs css uses a z- index of 2 so I set the Superfish css to use a z-index of 3. This works in FF and the menus show up in

[jQuery] What is wrong with this code

2007-04-20 Thread joomlafreak
Hi this is what I have jQuery.get(item_link,function(item_content){ var new_content = jQuery(item_content).filter(#contentpane .contentpane p).eq(0); jQuery(#myContent).html(new_content).slideDown(slow); }); What I imagine this code should be doing is extract the first

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Dan G. Switzer, II
Rick, Isn't that what you do with this code is your ex2.3_mailing_list_validation.cfm example for the ex2_process.cfm page? Since it's obvious that you've downloaded my presentation, I need to point out that some of the things in the demo are bad concepts, but I did them to show the progression

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
That page has no AJAX based validation. I also do no JS detection. The code is set up so that if JS is unavailable, the form just works. I got that, but the code seems to test for Ajax availability, and if there's been an Ajax call, it responds with messages via Ajax. If the call was not via

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Dan G. Switzer, II
Rick, Isn't that what you do with this code is your ex2.3_mailing_list_validation.cfm example for the ex2_process.cfm page? That page has no AJAX based validation. I also do no JS detection. The code is set up so that if JS is unavailable, the form just works. -Dan

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Andy Matthews
Beat me to it. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, April 20, 2007 8:19 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Best way to determine if a user has Javascript enabled? Simple way to do it

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Thanks for pointing that out, Andy. That's important for me to know, because I not only design and develop sites for clients, more and more are asking me to perform SEO/SEM for them and I don't want to hurt their rankings, for sure! Rick -Original Message- From:

[jQuery] Re: Using EXT with Jquery

2007-04-20 Thread Remy Sharp
I also wrote up a short article on my initial play with Ext and the mistakes I made (it also includes a link the jquery-plugins.js file that Juha points out is missing): http://remysharp.com/2007/04/20/jquery-ext/

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Scott Sauyet
Rick Faircloth wrote: The simplest thing is just to add a post parameter that says ajaxOn=true or some such, then check for that server-side. It wasn't included in the HTML, or it was set to false, so if it's true, the server knows to respond with an AJAX request. It's pretty

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
The only question now is whether or not HTTP_X_REQUESTED_WITH is compatible with ColdFusion 4.5... the client side can easily *tell* that to the server side It doesn't really matter how the server-side knows, as long as it knows :o) And a question about adding it to a URL... how does the

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Priest, James \(NIH/NIEHS\) [C]
-Original Message- From: Scott Sauyet [mailto:[EMAIL PROTECTED] header HTTP_X_REQUESTED_WITH means no extra work in the JS, and is probably a better idea, as long as you are sure you will be using JQuery This sounds like the best way - I think you were using CF right? Maybe

[jQuery] Re: What is wrong with this code

2007-04-20 Thread joomlafreak
Thanks for the reply Brian, I tried your way but didn work. I looked at the docs again and it says it should be like this jQuery(item_content).filter(#contentpane .contentpane p, :first); But unfortunately this also did not work. As for th cloning of node, Well I am novice to javascript and

[jQuery] disabling right click

2007-04-20 Thread Sharique
How I can disable right click on perticular element or div using jQuery. --- Sharique

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Gotcha... (Hopefully it's compatible with CF 4.5!) Your approach looks like what Dan did in his presentation code: cfif structKeyExists(url, ajax) and url.ajax Checking for the ajax variable in the url struct... at least that's how I'm understand it... -Original Message- From:

[jQuery] Re: disabling right click

2007-04-20 Thread Chris W. Parker
On Friday, April 20, 2007 8:58 AM Sharique said: How I can disable right click on perticular element or div using jQuery. --- Sharique I don't know but let me be the first to ask, why? If you're trying to protect your content (images or viewing source) you're wasting your time since it's

[jQuery] Re: Superfish, Tabs and IE z-index

2007-04-20 Thread Chris Scott
Joel Birch wrote: On 21/04/2007, at 12:43 AM, Chris Scott wrote: I'm using Superfish for my menus and the Tabs plugin. By default, the Superfish menus show up behind the tabs. The Tabs css uses a z-index of 2 so I set the Superfish css to use a z-index of 3. This works in FF and the

[jQuery] Re: find.click vs bind(click)

2007-04-20 Thread Shelane Enos
OK, going back to this function: *$j(function(){ bindEdit = function(){ $j('#edit').bind(click, function(){ var linkval = $j(this).attr(href); $j('#jobinfo').load(linkval, function(){ bindEdit(); }); return false;

[jQuery] Re: Treeview persistence (cookies) and a dynamic (PHP/MySQL built) UL - not holding state

2007-04-20 Thread Roman Weich
withinreach schrieb: I'm working with Treeview, latest version, needing the cookie/ persistence feature for a project. Sample demo works fine on my local machine (I can click on 2nd tree, change what's open/closed, browse to another page, then return (BACK button), and the tree holds its

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
jQuery(item_content).filter(#contentpane .contentpane p, :first); Filter removes those items from your search. Perhaps you want to use find instead. Try the following code: jQuery.get(item_link,function(item_content){ var new_content =jQuery(#contentpane .contentpane

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread DaveG
In very basic terms you can pretty much substitute the word join or combine for mash-up. Thus, in this case we're combining RSS feeds from multiple sources into a single presentation. ~ ~ Dave On Fri, 20 Apr 2007 11:25:54 -0500, Christopher Jordan [EMAIL PROTECTED] wrote: So by mashing

[jQuery] Re: Is there an image cropping plugin?

2007-04-20 Thread Sean Catchpole
I don't think there is a crop plugin, but there is an ImagePan (http://motherrussia.polyester.se/jquery/panview/) plugin that you might find usefull. ~Sean

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread Mike Alsup
Hi Bruce, Make sure the path to jquery and the file name are correct. I can't post a demo from behind my firewall but I can put something online later. Mike I have the api key, it is indeed sharp. Did some yesterday with it.The code below looks interesting, but when I do it I get a blank

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Priest, James \(NIH/NIEHS\) [C]
-Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 12:00 PM (Hopefully it's compatible with CF 4.5!) Unfortunately it looks like it was introduced in v5: http://www.actcfug.com/files/cfmlhistory/functions/gethttprequestdata.ht m You

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Waiting for CF 8... -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Priest, James (NIH/NIEHS) [C] Sent: Friday, April 20, 2007 12:52 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Best way to determine if a user has Javascript enabled?

[jQuery] Re: Using EXT with Jquery

2007-04-20 Thread Remy Sharp
That was actually a bug in my page - I was quick to pull the example together and plain forgot to test outside of Firefox. I've fixed it now (it was a trailing comma in the last element in an object) and should work in all the browsers. On Apr 20, 2:42 pm, Andy Matthews [EMAIL PROTECTED] wrote:

[jQuery] jQ Site

2007-04-20 Thread DaveG
Not sure where we're supposed to submit jQ sites, but here's http://www.e-texteditor.com/ -- looks like a cool text editor too. ~ ~ Dave

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread BKDesign Solutions
Mike, Understood thanks for answering. Paths tripple checked Your way of writing it looks interesting, didn't know you could specify a feed like that. Google uses: executeList : Google News,Digg, Technorati,Google, Yahoo] etc Maybe something is lost in code by email dunno:

[jQuery] Finding id of this

2007-04-20 Thread Shelane Enos
I apologize if this solution is posted, but I searched and trying to get through hundreds of results is a bit painful. So I have these titles: Create Reminder, Create Hold Status, Change State. I want to bind a click event to all of them which will toggle the show/hide attribute of a

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Aaron Heimlich
In the meantime, I suppose you could use JavaScript to append a variable to the URL, and then have your CF decide what to send based on the presence of that variable. Example: html script type=text/javascript $(function() { var $exampleForm = $(#exampleForm); var oldAction

[jQuery] Re: Drupal and JQuery

2007-04-20 Thread Scott Trudeau
Merc, You might want to look at the work being done on what's called the AHAH framework for Drupal. The guy working on that is doing a lot of thinking about how to correctly integrate jQuery and Drupal's FormAPI in a clean, safe, degradable fashion. The widget you describe is essentially a

[jQuery] Re: Finding id of this

2007-04-20 Thread Shelane
Nevermind. I answered my own question. Duh, I've used .attr before. Here are my changes which work beautifully. Thanks again jQuery for easy unobtrusive js. New function: $(function(){ $(this).find('a.reminder').click(function(){ var myid = $(this).attr('id');

[jQuery] Re: Finding id of this

2007-04-20 Thread Karl Swedberg
Hi Shelane, I think this should work... $(function(){ $('a.reminder').click(function(){ var divId = '#div_' + $(this).attr('id'); $(divId).toggle(); $(this).blur(); return false; });//end click }); Let me know if it doesn't produce the results you're

[jQuery] Re: Finding id of this

2007-04-20 Thread Brandon Aaron
You can use the jQuery method attr() to get the id attribute of the element. $(this).attr('id'); However, since 'this' is the element and there is a DOM property exposing the id you can get the id from the a tag like this. this.id; So with that knowledge here is how the click hander would

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread BKDesign Solutions
I have the api key, it is indeed sharp. Did some yesterday with it.The code below looks interesting, but when I do it I get a blank page. Have the latest jquery1.1.2.js and key, page remains blank? Any demo of this to see whats wrong Bruce P - Original Message - From: Mike Alsup

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Looks good.. let's make sure I understand. So if JS is enabled, the script will run, appending ?isAjax=true to whatever page is specified if my form's action page. correct? Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Heimlich Sent: Friday, April 20,

[jQuery] Re: Retrieving information outside of $this

2007-04-20 Thread Andy Matthews
Ooops... This gets the latitude value: var lat = $(this).parent().parent().children('.editable').children('span').attr('name' ,'longitude').html(); Change it up to get longitude -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of SiCo Sent:

[jQuery] Re: What is wrong with this code

2007-04-20 Thread joomlafreak
Thats what I am trying to do, filter our everything other then the first paragraph from the results I get through jQuery.get... I tried your code Sean but it too did not help. I am just wondering now what is the code if I want to select/extract first paragraph from the ajax get function and

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Felix Geisendörfer
Didn't read the entire thread but appending parameters like this to an url just doesn't seem right to me. Maybe your problem can be solved by looking if the client sent a X-Requested-With == 'XMLHttpRequest' header. That's how we in CakePHP find out if a page was requested via Ajax or not ;

[jQuery] Re: Retrieving information outside of $this

2007-04-20 Thread Andy Matthews
Sorry for the loads of emails. Using your exact code setup, this is what I came up with: $('div.data a').click( function() { var lat = $(this).parent().parent().children('.editable').children('span').attr('name' ,'longitude').html(); alert(lat); return false; });

[jQuery] Who's Using jQuery

2007-04-20 Thread Jake McGraw
Don't suppose this counts, but an example for using the new Digg API features jQuery: http://apidoc.digg.com/ToolkitsServicesDigg#ExamplejQuerycode - jake

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Aaron Heimlich
On 4/20/07, Felix Geisendörfer [EMAIL PROTECTED] wrote: Didn't read the entire thread but appending parameters like this to an url just doesn't seem right to me. I would normally agree, but Rick is using ColdFusion 4.5, which apparently isn't capable of inspecting HTTP Headers. -- Aaron

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread Christopher Jordan
Thanks Dave. I appreciate the initiation. :o) Chris DaveG wrote: In very basic terms you can pretty much substitute the word join or combine for mash-up. Thus, in this case we're combining RSS feeds from multiple sources into a single presentation. ~ ~ Dave On Fri, 20 Apr 2007 11:25:54

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread BKDesign Solutions
Well, not to me lol. Nice work! Is there a way to get it to say: Published 5 minutes ago? Bruce - Original Message - From: Mike Alsup [EMAIL PROTECTED] It's actually quite similar to the example posted here: http://code.google.com/apis/ajaxfeeds/documentation/ My code just uses

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread Mike Alsup
Is there a way to get it to say: Published 5 minutes ago? Well, you have the pub date so from that you can calculate whatever you want to display. What would one add to this to get it to update in real time? You can reload the feeds as often as you want but ultimately you're at the mercy

[jQuery] Re: ajax Error

2007-04-20 Thread Sean Catchpole
Hi Simon, I'd recommend using http://jquery.com/api/ and firebug to help you debug. You're function looks ok, but I think error is an object that contains lots of data. Check out $.ajaxError at the api I linked. Let me know if you have more questions. ~Sean

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
Can you post some sample html that you're working with? It's a little hard to work blind. Filter would remove your search from the results, find would leave on your search in the results. apples oranges bananas filter oranges would leave: apples and bananas find oranges would leave: oranges

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
You're absolutely right. I think at some point in jQuery's past this was flipped, but I'm glad to know that the filter functions works as intended now. Sorry for the confusion. =( ~Sean

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Aaron Heimlich
On 4/20/07, Rick Faircloth [EMAIL PROTECTED] wrote: $(document).ready()(function { \n Should be: $(document).ready(function() { // stuff goes here... }); -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: Retrieving information outside of $this

2007-04-20 Thread Roman Weich
Andy Matthews schrieb: What?!?!? You can use html based pathing in jQuery? Why didn't someone tell me that?!? How come I get an error? Sure I can! ;P What kind of error?

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread Mike Alsup
To view the api example, you can open the file from the browser (no need to have a API key and put it on a server). Also, If someone has the time, a cool plugin idea is an RSS viewer. Here's a quick and dirty plugin to convert anchors into feed divs. Modify it to suit your needs:

[jQuery] Re: find.click vs bind(click)

2007-04-20 Thread Ariel Jakobovits
no it should not throw an error. j(#edit) will return an empty array is all and the bind will not be called. - Original Message From: Shelane Enos [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, April 20, 2007 9:10:58 AM Subject: [jQuery] Re: find.click vs bind(click)

[jQuery] Re: Retrieving information outside of $this

2007-04-20 Thread Andy Matthews
Ah...i see it. It was a syntax error. You had the closing }) after the second alert and I missed it. Works a treat. Freaking awesome! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roman Weich Sent: Friday, April 20, 2007 2:52 PM To:

[jQuery] Re: find.click vs bind(click)

2007-04-20 Thread Shelane Enos
Thanks to another problem I had, I've changed my code to this (which fixed my issue): bindEdit = function(){ var linkval = $j('#edit').attr(href); if (linkval != ''){ $j('#edit').click(function(){ $j('#jobinfodisplay').load(linkval);

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
That was the problem. now I'm getting the Query String. Now I've got see if I can make all of this work. Thanks! Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Heimlich Sent: Friday, April 20, 2007 3:37 PM To: jquery-en@googlegroups.com Subject: [jQuery]

[jQuery] Re: disabling right click

2007-04-20 Thread Ⓙⓐⓚⓔ
since you've already been condemned by some of the better minds on the list, I won't go there. BUT, you can try to bind the right click to do something special, there are 2 events of interest click with (e.button1 or e.which1)and contextmenu. Nothing is guaranteed to work, but try it for

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread Karl Swedberg
Here is a really cool RSS viewer written with jQuery: http://www.osxcode.com/feedsearch/ --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 20, 2007, at 3:07 PM, Jose wrote: Hi, This is a very cool use for JQuery! To view the api example, you can

[jQuery] Re: find.click vs bind(click)

2007-04-20 Thread Ariel Jakobovits
not only am i saying that you should be able to do that, i am saying i think the second version is better. why? in version 1, you say var linkval = $j('#edit').attr(href); but the return value if #edit does not exist is not apparent. Will it be or will it be undefined? in version 2, you

[jQuery] Performance profiling (in IE in particular)

2007-04-20 Thread Remy Sharp
I posted a message some time ago on performance profiling and testing in IE and the best thing available was Firebug Lite which required me to wrap everything in start/end calls. I've since written a time library to hook functions to reduce the amount of work required to performance test. It

[jQuery] Re: find.click vs bind(click)

2007-04-20 Thread Shelane Enos
Working wonderfully. Thanks. On 4/20/07 1:25 PM, Ariel Jakobovits [EMAIL PROTECTED] wrote: not only am i saying that you should be able to do that, i am saying i think the second version is better. why? in version 1, you say var linkval = $j('#edit').attr(href); but the return

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread Ariel Jakobovits
its so pretty - Original Message From: Karl Swedberg [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, April 20, 2007 1:21:18 PM Subject: [jQuery] Re: Google AJAX Feed API Here is a really cool RSS viewer written with jQuery: http://www.osxcode.com/feedsearch/ --Karl

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Question: What typically causes the Firebug message The XML file does not appear to have any style information associated with it. The document tree is shown below. to display? I have hunted for this problem forever and can't see what's wrong. I'll provide code, but I just thought there

[jQuery] Re: Treeview persistence (cookies) and a dynamic (PHP/MySQL built) UL - not holding state

2007-04-20 Thread withinreach
A bit more digging, and now I've gotten it to work, but Works fine, if I use the unpacked version of treeview.js that is in the SVN. If I replace that with the packed version, stops working. additional 6K won't break the bank, but makes you worry about version control WITHIN the latest

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Aaron Heimlich
On 4/20/07, Rick Faircloth [EMAIL PROTECTED] wrote: The XML file does not appear to have any style information associated with it. The document tree is shown below. This is what FireFOX (not Firebug) does when you browse to an XML file that isn't using any XSLT stylesheets (and I would

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Thanks for the feedback, Aaron. I'm trying to integrate the whole validation scheme into one page. I'm following an example given to me that does work, but using my own code, of course. I've got something wrong somewhere. I'll tinker some more and then if I can't figure it out, I'll post some

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread Tane Piper
Excellent Mike. I've started using it in my application as a feed reader, was very easy to implement with a backend for defining feeds, I just loop them out and include the JS :) Tane On 4/20/07, Mike Alsup [EMAIL PROTECTED] wrote: To view the api example, you can open the file from the

[jQuery] Image dynamic resizing

2007-04-20 Thread Ad4m
Hi, I need some script for dynamically resize an image with jquery. Are there any plugins to handle this? regards Adam

[jQuery] Re: Image dynamic resizing

2007-04-20 Thread Sean Catchpole
I assume $('img').css({width:'100px'}); is not what you want. Are you asking for something with an image slider. ~Sean

[jQuery] Re: Image dynamic resizing

2007-04-20 Thread Michael E. Carluen
This is cool Remy. I can see it work like BritePic http://www.britepic.com/ Any plans on further adding other features for a full blown plug-in? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Remy Sharp Sent: Friday, April 20, 2007 5:07

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Rick Faircloth
Is it possible to submit a page back to itself using a regular submit button, then process the data from the form using taconite commands? I've run into a dead end. I can't seem to figure out how to submit a form with a regular submit button and then have taconite handle the data that comes back

[jQuery] Re: Treeview persistence (cookies) and a dynamic (PHP/MySQL built) UL - not holding state

2007-04-20 Thread Jeffrey Kretz
Just for P**ps and giggles, you might try packing the script yourself with Deal Edwards packer http://dean.edwards.name/packer/ It would help point in the direction of the problem with the compressed version you were using. JK -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Taconite question...

2007-04-20 Thread Shelane
I'm having a strange issue on IE (isn't it almost always the culprit of issues). I'm returning this: taconite replaceContent select=#mystatus a href=# onClick=setStatus('mystatus', 'statusID', 'update status to this value');img src=/images/icons/check.gif width=16 height=16 border=0 //a

[jQuery] Re: Taconite question...

2007-04-20 Thread Daemach
http://www.getfirebug.com/lite.html helps a lot. On Apr 20, 7:00 pm, Shelane [EMAIL PROTECTED] wrote: I'm having a strange issue on IE (isn't it almost always the culprit of issues). I'm returning this: taconite replaceContent select=#mystatus a href=#

[jQuery] Re: Superfish, Tabs and IE z-index

2007-04-20 Thread Joel Birch
On 21/04/2007, at 2:08 AM, Chris Scott wrote: Thanks Joel. Here's a demo page: http://iamzed.com/jquery/ superfishtabs.html I put the info. on what I customized from the default superfish.css on there. Hi Chris, thanks for the demo page it helped enormously. I found that applying the

[jQuery] Re: Taconite question...

2007-04-20 Thread Shelane Enos
Ahh. I'll have to wait until Monday to test firebug lite. It's not working in the crossover version of IE and I don't have access to a PC at the moment. Thanks for the link though. On 4/20/07 7:02 PM, Daemach [EMAIL PROTECTED] wrote: http://www.getfirebug.com/lite.html helps a lot. On

[jQuery] Re: Taconite question...

2007-04-20 Thread Dan G. Switzer, II
Shelane, I'm having a strange issue on IE (isn't it almost always the culprit of issues). I'm returning this: taconite replaceContent select=#mystatus a href=# onClick=setStatus('mystatus', 'statusID', 'update status to this value');img src=/images/icons/check.gif width=16 height=16

  1   2   >