[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Wil Stuckey
On 4/3/07, Pedro Luz <[EMAIL PROTECTED]> wrote: javascript also as the SOP (same origin policy) actually it doesn't, this is how google adsense for example works. w

[jQuery] Re: jQuery Powered Sites - Keep the Links Coming

2007-04-03 Thread Kenneth
I just found this one, which is the focus of an article I found through DZone : http://www.ctoads.com/ The article (although it doesn't mention jQuery): http://laurat.blogs.com/random_ramblings/2007/03/it_had_to_happe.html On 3/31/07, bingo <[EMAIL PROTECTED]> wrote: hi, I am using jquery

[jQuery] got 2 bad http request when load jquery in ie6

2007-04-03 Thread 7even
i use http watch for test my web site and i got 2 line of bad request after jquery,: 00:00:00.045 0.017 * GET (Error 0x57)* http://:/ 00:00:00.063 0.000 * GET (Error 0x57)* http://:/ and it also happened when i watch jquery.com is this a bug?or s

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Kenneth
I don't doubt that someone put alot of time into this particular FUD piece, but once again (just like all the other articles on this subject), no proof is given. If it's so easy, have it read an arbitrary email from my GMail and THEN I will take the arguments seriously. In the mean time, I laugh

[jQuery] low hanging newbie fruit for you to snack on

2007-04-03 Thread stylo~
I've rewritten my site scripts with jquery and eliminated a bulky menu script, 2 different image viewers, ajax/rpc script I did years ago, and a bunch of other bits, now all packed down into about 26kb total including jquery and with more functionality :-) Some random newbie questions you hopeful

[jQuery] Re: Dealing with incremental page rendering and ready events

2007-04-03 Thread stylo~
>>IE completely refuses to load the page at all, instead alerting me about something like "can't display this page", so quite impossible to debug. This sounds like the weird bug in IE when you modify the dom before the page is ready. Something on msn developer about this.

[jQuery] Badly need help with ajaxForm/validator

2007-04-03 Thread Kim Johnson
I've been working on this for three days and can't for the life of me figure out the best solution. I have a login area on every page. My (old but working) code is the following: $("div#login input#login_btn").click(function() { $.ajax({ type: "POST", url: "/users/login.php",

[jQuery] Re: Interface Slider - Clicks don't trigger onChange event

2007-04-03 Thread skimber
Thanks Alex, I've since tried altering the example script on interface.eyecon.ro... just changing the onSlide's to onChange's and adding alert('hello'); Same problem, so I'm fairly sure it's a bug and not just my code! Cheers Simon On Apr 2, 7:04 pm, "Alex Ezell" <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: low hanging newbie fruit for you to snack on

2007-04-03 Thread Karl Rudd
That's a rather big basket of "low hanging fruit" you've got there. You should really read the source, if you have the time. Inline replies below. On 4/3/07, stylo~ <[EMAIL PROTECTED]> wrote: Is there a way to specify multiple conditions in one $ call or I must do $("img.class").add("a.class

[jQuery] Re: low hanging newbie fruit for you to snack on

2007-04-03 Thread cdomigan
Howdy! Here's my take on some of your questions: > Is there a way to specify multiple conditions in one $ call or I must > do $("img.class").add("a.class"). Anything like $("img.class| > a.class")? A comma should do the trick: $("img.class, a.class") > How much overhead is there in a $ object

[jQuery] Re: low hanging newbie fruit for you to snack on

2007-04-03 Thread Kenneth
Maybe I can help until someone who actually knows what they're talking about replies :) On 4/3/07, stylo~ < [EMAIL PROTECTED]> wrote: I've rewritten my site scripts with jquery and eliminated a bulky menu script, 2 different image viewers, ajax/rpc script I did years ago, and a bunch of other

[jQuery] Re: low hanging newbie fruit for you to snack on

2007-04-03 Thread Klaus Hartl
stylo~ schrieb: I've rewritten my site scripts with jquery and eliminated a bulky menu script, 2 different image viewers, ajax/rpc script I did years ago, and a bunch of other bits, now all packed down into about 26kb total including jquery and with more functionality :-) Some random newbie que

[jQuery] Re: low hanging newbie fruit for you to snack on

2007-04-03 Thread Klaus Hartl
Karl Rudd schrieb: The $ (or jQuery) function/constructor is not cached (as far as I'm aware). In many cases that would not make sense. Consider if you select $('div.section') then add a whole bunch of new "div.section"s dynamically, you'd want the new list rather than the old. To clear that u

[jQuery] Re: Plazes on TechCrunch

2007-04-03 Thread Klaus Hartl
Rey Bango schrieb: So here I am looking at an article on TechCrunch and what do I spy?!?! Klaus Hartl's baby being announced in an ad! Always good to see a jQuery-Powered site taking off to the point where they're buying ad space on one of the most popular Web 2.0 news sites on the Net. Co

[jQuery] Re: Masked Input Plugin Beta 1

2007-04-03 Thread David Duymelinck
It's a nice plugin and i'm going to use it but my only problem with it is that you can't set the highest number for example i want to use it to guided users to fill in a date so it would be great to be able to use "31-12-" but that will be difficult because i saw it validates each character se

[jQuery] Re: working around IE's lack of click/dblclick events

2007-04-03 Thread Rob Desbois
Dan, Thanks for that - I'm having trouble transferring the technique behind it though. Debugging with Firebug and putting breakpoints in _Field_transferTo() and _transferOptions() then double-clicking or using the buttons to transfer never breaks... I've looked through the source for those funct

[jQuery] Thickbox issue

2007-04-03 Thread mmjaeger
Hello, I got a little issue with the thickbox plugin; this is the code I got: $('#selview a').click(function() { var ajax = Ext.get('browseView').load({ url: 'view.php', scripts: true, params: 'v='+this.id, text: 'Plea

[jQuery] Re: Thickbox issue

2007-04-03 Thread Klaus Hartl
mmjaeger schrieb: Hello, I got a little issue with the thickbox plugin; this is the code I got: $('#selview a').click(function() { var ajax = Ext.get('browseView').load({ url: 'view.php', scripts: true, params: 'v='+this.id,

[jQuery] Re: Thickbox issue

2007-04-03 Thread mmjaeger
Thank you Klaus this seems to work: // setup view $('#selview a').click(function() { Ext.get('browseView').load({ url: 'view.php', scripts: true, params: 'v='+this.id, text: 'Please wait - loading view...',

[jQuery] Re: Thickbox issue

2007-04-03 Thread Klaus Hartl
mmjaeger schrieb: Thank you Klaus this seems to work: // setup view $('#selview a').click(function() { Ext.get('browseView').load({ url: 'view.php', scripts: true, params: 'v='+this.id, text: 'Please wait - loa

[jQuery] Re: Thickbox issue

2007-04-03 Thread Klaus Hartl
Klaus Hartl schrieb: mmjaeger schrieb: Thank you Klaus this seems to work: // setup view $('#selview a').click(function() { Ext.get('browseView').load({ url: 'view.php', scripts: true, params: 'v='+this.id, text: 'Please wait - loading view...',

[jQuery] Re: jQuery Powered Sites - Keep the Links Coming

2007-04-03 Thread Mika Tuupola
On Apr 3, 2007, at 10:15 AM, Kenneth wrote: I just found this one, which is the focus of an article I found through DZone : http://www.ctoads.com/ And some more: http://www.kevad.ee/ Kevad - Estonian streestyle photoblog http://www.joekaare.ee/ Jõekaare - Estonian real estate site -- Mi

[jQuery] Re: blockui timeout

2007-04-03 Thread Mike Alsup
Tom, Just add the timeout after you've called block(). $('a.respond').bind('click', function() { var $el = $(this); $el.prev('div').block('Please Login to submit your opinion.',{ border: '3px solid #a00'}); setTimeout(function(){ $el.unblock(); }, 5000); return false; }); Mike PS:

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Markus Peter
On 03.04.2007, at 08:07, Karl Rudd wrote: Bah, it's not a new vulnerability, it's always been there and always been known about. I call FUD on this. The following is an excerpt that is the keystone of the whole thing: "In an example attack, a victim who has already authenticated themselves

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Karl Rudd
Yes, you're right, I was calling "FUD" on the article. I dashed that email off rather too quickly in retrospect. The paper itself is quite reasonable in it's treatment of things. Karl Rudd On 4/3/07, Markus Peter <[EMAIL PROTECTED]> wrote: On 03.04.2007, at 08:07, Karl Rudd wrote: > > Bah, it

[jQuery] Re: Badly need help with ajaxForm/validator

2007-04-03 Thread Dan G. Switzer, II
Kim, I just did a presentation where I put together a demo that does all of these things. Go to my blog and download my presentation: http://blog.pengoworks.com/blogger/index.cfm?action=blog:585 Now the examples are in ColdFusion (not PHP), but you should be able to follow the logic w/out a pro

[jQuery] Sort a table when a button is pressed

2007-04-03 Thread Dmitrii 'Mamut' Dimandt
Hi. A friend of mine is using the tablesorter plugin on one of the tables on the page. He needs to sort a column when a button on the page is pressed. That is, not the header of the column, but a completely separate button on the page. How can this be achieved? Thank you

[jQuery] Re: Difficulty with Corners

2007-04-03 Thread Rob Wilkerson
Thanks, guys. My frustration was boiling over last night. I ended up used curvy corners (Curvy Corners for JQuery 1.2.11) this morning instead and it went without a hitch. Plus, the anti-aliasing looks really nice. On 4/3/07, Pedro Luz <[EMAIL PROTECTED]> wrote: Hi, I'll never worked with

[jQuery] Google Maps Plugin

2007-04-03 Thread Robert O'Rourke
Hello, This ones for Dylan Verheul, I'm using your google maps plugin to populate a map with various markers. I was just wondering about adding the GUnload() function. I've added this to the bottom of the $.fn.googlemap bit: $("body").bind("unload", function(){ GUnload(); });

[jQuery] Re: Google Maps Plugin

2007-04-03 Thread Klaus Hartl
Robert O'Rourke schrieb: Hello, This ones for Dylan Verheul, I'm using your google maps plugin to populate a map with various markers. I was just wondering about adding the GUnload() function. I've added this to the bottom of the $.fn.googlemap bit: $("body").bind("unload", funct

[jQuery] Re: working around IE's lack of click/dblclick events

2007-04-03 Thread [EMAIL PROTECTED]
If you are messing around with Options and want to allow Double clicks to them, then use the Select tag to do it on. for example add the Dbl click action the the Main Select tag vs teh Options tag, and use selectedIndex to findout what Options tag is selected, and you should be table to move it

[jQuery] UPDATE: code review, suggestions for condensing / reuse?

2007-04-03 Thread Andy Matthews
I've made some additions and updates to the code I posted last week: http://www.commadelimited.com/uploads/psychic/ I wondered if you all would mind looking over it to see if it can be improved. I've got the functionality the way I like it, but you all know jQuery way better than I do. So...any s

[jQuery] Now it seems that I can't post to the list from OUTLOOK

2007-04-03 Thread Andy Matthews
Last week I was having trouble posting to the list via Google's Groups interface. No biggie since I hardly ever use it. Now it appears that I can't send to the list via Outlook. I submitted two posts yesterday and neither of them came through into my inbox. Anyone have any ideas? Do I need to cha

[jQuery] Re: Sort a table when a button is pressed

2007-04-03 Thread Jake McGraw
Not sure this is the best way, but you could simulate a click on the header when the button is clicked like this: $("[EMAIL PROTECTED]").click(function(){ $("table th:eq(0)").click(); }); This will cause the first column (th:eq(0)) to be "clicked" and then sorted when a button is "clicked". Not

[jQuery] Re: Sort a table when a button is pressed

2007-04-03 Thread etnt
I had a similar problem. I solved it by re-initiating the tableSorter. Example, here: http://tpl.tornkvist.org:8383/ (or rather here: http://tpl.tornkvist.org:8383/js/tpl.js ) Cheers, Tobbe On Apr 3, 2:22 pm, "Dmitrii 'Mamut' Dimandt" <[EMAIL PROTECTED]> wrote: > Hi. > > A friend of mine is

[jQuery] Re: working around IE's lack of click/dblclick events

2007-04-03 Thread Rob Desbois
Nilesh, thanks for the advice. I am no longer attempting to emulate click / dblclick events for elements, I have attached these events to the instead as it's obviously far better. The problem is actually that in IE, the click / dblclick event handlers are executed *before* the elements' attribu

[jQuery] Re: Google Maps Plugin

2007-04-03 Thread Robert O'Rourke
Klaus Hartl wrote: Robert O'Rourke schrieb: Hello, This ones for Dylan Verheul, I'm using your google maps plugin to populate a map with various markers. I was just wondering about adding the GUnload() function. I've added this to the bottom of the $.fn.googlemap bit: $("body")

[jQuery] Re: jQuery Powered Sites - Keep the Links Coming

2007-04-03 Thread Rey Bango
Added: * [http://www.ctoads.com/ Clean Thoughts On A Dirty Wall] – Social network. * [http://www.geovista.psu.edu/memento/ Memento] – Memento is an active online bibliography manager. * [http://www.kevad.ee/ Kevad] – Estonian streestyle photoblog. * [http://www.joekaare.ee/ Jõekaare] – Estoni

[jQuery] Re: Plazes on TechCrunch

2007-04-03 Thread Rey Bango
My pleasure man! Keep up the great work and if you need someone to beta test your site before relaunch, just buzz me. Rey Klaus Hartl wrote: Rey Bango schrieb: So here I am looking at an article on TechCrunch and what do I spy?!?! Klaus Hartl's baby being announced in an ad! Always good

[jQuery] Re: UPDATE: code review, suggestions for condensing / reuse?

2007-04-03 Thread Brandon Aaron
First off, this is functioning much better than before. Good work. In the click handler you bind to the h1 you have a few areas where you could optimize your code. First you declare a var named outerchild like this: var outerid = $(this).parent().attr("id"); var outerchild = $('#' + outerid + '

[jQuery] Re: Google Maps Plugin

2007-04-03 Thread Klaus Hartl
Robert O'Rourke schrieb: I think this one does: $(window).bind('unload', GUnload); Note that you don't need an anonymous function if you already have a reference to a function. Also the unload event handler is fired on the window and attaching it to the body like the obtrusive way in the Go

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread MathiasBank
Hi, I also think, that performance is very important for a good library. No one uses jquery without any plugin (even if he / she has written an own plugin which uses jquery). Of course, it is important to have small files. But I think, it is still more important, to have a performant core, which

[jQuery] Re: Trick to pass input file

2007-04-03 Thread [EMAIL PROTECTED]
The solution I've seen used is to create a form, with a file-upload in it, and an iframe to which you post the file-upload form. Or the form within the iframe. The iframe is supposed to be hidden via css, ofcourse. Once the file has been uploaded, you output a script that tells the main applicat

[jQuery] Re: Dealing with incremental page rendering and ready events

2007-04-03 Thread Dan G. Switzer, II
Jörn, >Its all a bit tricky: Those portlets are enclosed in about 6 layers of >tables (gah) and IE doesn't even let me start the debugger, it simply >fails completely to display anything at all. I really think it's the tables that are your problem. IE has some issues trying to manipulate element

[jQuery] Re: UPDATE: code review, suggestions for condensing / reuse?

2007-04-03 Thread Andy Matthews
Awesome Brandon!! Those are PRECISELY the sorts of things I'm looking to learn. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: Tuesday, April 03, 2007 8:50 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: UPDA

[jQuery] Re: Google Maps Plugin

2007-04-03 Thread Dan G. Switzer, II
>I think this one does: > >$(window).bind('unload', GUnload); You can also use: // add an event to run when the page unloads $(window).unload( GUnload ); -Dan

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread Dan G. Switzer, II
>* We need a plugin, that enables to speed up the core. It can be used >in web applications, which need a lot of perfomance. It doesn't >matter, if some core functions are not used any more (performance is >the goal). It is important, that the jquery style still remains and >that other jquery plug

[jQuery] Re: Trick to pass input file

2007-04-03 Thread Erik Beeson
You can't set the value of an input type="file" field and here's why: document.getElementById('hacker_form').submit(); If you were allowed to set the value like that, the above snippet would upload the target file without the user even knowing it was happening. That's the security issue.

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread Klaus Hartl
Dan G. Switzer, II schrieb: * We need a plugin, that enables to speed up the core. It can be used in web applications, which need a lot of perfomance. It doesn't matter, if some core functions are not used any more (performance is the goal). It is important, that the jquery style still remains a

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread Rey Bango
I think you hit it on the head. From my perspective, I think if these tests were never publicized, then most folks wouldn't even notice the difference unless you were dealing with pages that had to manipulate large amounts of selectors. Rey Klaus Hartl wrote: Dan G. Switzer, II schrieb:

[jQuery] Re: Sort a table when a button is pressed

2007-04-03 Thread Dmitrii 'Mamut' Dimandt
Jeez. That really is the most obvious solution :) Jake McGraw wrote: > > Not sure this is the best way, but you could simulate a click on the > header when the button is clicked like this: > > $("[EMAIL PROTECTED]").click(function(){ > $("table th:eq(0)").click(); > }); > > This will cause the f

[jQuery] Re: working around IE's lack of click/dblclick events

2007-04-03 Thread Dan G. Switzer, II
Rob, >Thanks for that - I'm having trouble transferring the technique behind it >though. >Debugging with Firebug and putting breakpoints in _Field_transferTo() and >_transferOptions() then double-clicking or using the buttons to transfer >never breaks... > >I've looked through the source for thos

[jQuery] Re: Sort a table when a button is pressed

2007-04-03 Thread Dmitrii 'Mamut' Dimandt
Thanks! I'll look into that etnt wrote: > I had a similar problem. > I solved it by re-initiating the tableSorter. > Example, here: > > http://tpl.tornkvist.org:8383/ > > (or rather here: http://tpl.tornkvist.org:8383/js/tpl.js ) > > Cheers, Tobbe > > > On Apr 3, 2:22 pm, "Dmitrii 'Mamut' Dimandt

[jQuery] Re: Now it seems that I can't post to the list from OUTLOOK

2007-04-03 Thread John Resig
Try posting through the Google interface again - a lot has changed in the past week (the group is now open and is the primary source for all emails). Also, make sure that you're sending emails to this address: jquery-en@googlegroups.com instead of the old one. --John On 4/3/07, Andy Matthews

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread Dan G. Switzer, II
Klaus, >I have the feeling that the whole speed discussion is somewhat >theoretical, isn't it? I guess in a real life app, e.g. with some normal >selections, you will hardly notice any difference between jQuery, >Prototype, DOMQuery and others. > >Am I wrong? I think generally you're correct. Lo

[jQuery] Test post from outlook

2007-04-03 Thread Andy Matthews
Please ignore. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com dealerskinslogo.bmp Description: Windows bitmap

[jQuery] Re: Test post from outlook

2007-04-03 Thread Andy Matthews
Okay... That was the issue. I didn't realize the email address changed. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Tuesday, April 03, 2007 9:51 AM To: jquery-en@googlegroups.com Subject: [jQuery] Test post from outlook Please ignore.

[jQuery] Re: working around IE's lack of click/dblclick events

2007-04-03 Thread Rob Desbois
Dan, Still no luck with that code. The only way I can make it work is by putting an alert('...') in the change/click handler - the delay is obviously enough that IE has updated the DOM by the time the box is closed. Without the alert, I just get the selections before the change. Bah! rob. On 4

[jQuery] Re: blockui timeout

2007-04-03 Thread Tom Shafer
thanks mike, im getting the hang of this. $this is your friend im learning On Apr 3, 6:32 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > Tom, > > Just add the timeout after you've called block(). > > $('a.respond').bind('click', function() { > var $el = $(this); > $el.prev('div').block('Pl

[jQuery] css image caching with jquery

2007-04-03 Thread Robert O'Rourke
Hi again, Thanks for the help and explanations with the google maps, thats all working beautifully now. As my first time out using jquery I've set up a blend effect for the css background image of the website I am working on however on occasion the images aren't ready immediately eve

[jQuery] Re: UPDATE: code review, suggestions for condensing / reuse?

2007-04-03 Thread Alex Ezell
Andy, Nice work and some great suggestions from Brandon. I love this list! /alex On 4/3/07, Andy Matthews <[EMAIL PROTECTED]> wrote: Awesome Brandon!! Those are PRECISELY the sorts of things I'm looking to learn. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[E

[jQuery] Re: Masked Input Plugin Beta 1

2007-04-03 Thread Pje
One problem that i have is with dates like "01/01/2000 14:45", but the hours are optional. So, if i use a mask like "99/99/ 99:99" then every time i enter a date without hours i need to delete the end of the mask (i mean "__:__"). It would be great if this plugin can handle that. On 4/3/07, D

[jQuery] JS and css

2007-04-03 Thread BKDesign Solutions
Opinions? for using js, I heard that it's better to use classes on every item ; To quote from elsewhere: "increased specificity makes programming in Javascript easier, e.g. the ability to grab a single element by name instead of parsing through the DOM to grab it." like to me: Site navigati

[jQuery] Ajax Experience SF

2007-04-03 Thread Glen Lipka
Anyone going to this? http://ajaxian.com/the-ajax-experience-sf-2007-call-for-presenters-details/ Anyone presenting? Glen

[jQuery] Re: Ajax Experience SF

2007-04-03 Thread John Resig
I'll probably be presenting. Probably on jQuery, maybe something else too. --John On 4/3/07, Glen Lipka <[EMAIL PROTECTED]> wrote: Anyone going to this? http://ajaxian.com/the-ajax-experience-sf-2007-call-for-presenters-details/ Anyone presenting? Glen

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread Glen Lipka
What about the common "Grid"? When you have a table with 100-1000+ rows and 5-10+ columns and then you want to resize columns, or bind click functions to them, or enable drag and drop or have collapsable rows, or sorting. This is where selector speed should make a difference. The 1.0 version of

[jQuery] Re: blockui timeout

2007-04-03 Thread Tom Shafer
thanks mike, I got it working with this $('a.respond').bind('click', function() { var $el = $(this).prev('div'); $el.block('Please Login to submit your opinion.',{ border: '3px solid #a00'}); setTimeout(function(){ $el.unblock(); }, 5000); r

[jQuery] Re: new plugin - columnManager

2007-04-03 Thread Roman Weich
Lee Hinde schrieb: On 4/2/07, Roman Weich <[EMAIL PROTECTED]> wrote: Hey all, I've created a plugin to toggle the visibility state of whole table columns (collapsing and expanding them). Also it can remember the last state using the cookie-plugin. Maybe you want to take a look: http://p.soh

[jQuery] Re: blockui timeout

2007-04-03 Thread Mike Alsup
Ah, yes... sorry to lead you astray. Good work, Tom. Mike On 4/3/07, Tom Shafer <[EMAIL PROTECTED]> wrote: thanks mike, I got it working with this $('a.respond').bind('click', function() { var $el = $(this).prev('div'); $el.block('Please Login to submit your opinio

[jQuery] Re: Sort a table when a button is pressed

2007-04-03 Thread Roman Weich
Dmitrii 'Mamut' Dimandt schrieb: Hi. A friend of mine is using the tablesorter plugin on one of the tables on the page. He needs to sort a column when a button on the page is pressed. That is, not the header of the column, but a completely separate button on the page. How can this be achieved?

[jQuery] jQuery breaks with LiveGridPlus

2007-04-03 Thread [EMAIL PROTECTED]
Hey everybody, I've been searching for an animation library to use along side the LiveGridPlus implementation from http://dowdybrown.com/ (based on the Rico LiveGrid). Anyway, I can get jQuery set up to do what I want it to by including it first, and then the prototype library that LGP needs seco

[jQuery] Re: css image caching with jquery

2007-04-03 Thread Theo Welch
Hi Robert, From what I can tell, I think that plugin you linked to is mainly for storing hidden pieces of text that an application can then programmatically display (instead of loading the text via Ajax, etc.). I'm not sure that it would really help with image "pre-loading". CSS backgrou

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. Markus gets it right. There is a vulnerability. This vulnerability has always been there. This vulnerability effects ajax calls among other things, so if you want to call it new on that basis then go ahead. I've heard this called session riding. If I know bank of america's URL for a t

[jQuery] Am I missing something?

2007-04-03 Thread AllexS
22 89 jQuery.fn.bargraph = function() { return this.each(function(){ var temp = $(this).text(); var span = '' + temp + '%' + ''; var bar = ''; $(this).html(span); $(this).find('span').wrap(bar); $(this).find('strong'

[jQuery] Re: Trick to pass input file

2007-04-03 Thread Mario Moura
Ok. It is a security reason. I was thinking about. I am Drupalist. Let say I have 6 browse button (eg. img01, img02, img03, img04, img05, img06) I hide all except the first. The user click first browse button and make a choice. So I Can hide the first button (with label and everything else) c

[jQuery] Re: jQuery breaks with LiveGridPlus

2007-04-03 Thread Brandon Aaron
Could you post up an example page? Have you tried loading the scripts in this order? jquery prototype rico With the above order you don't have to worry about jQuery.noConflict() since prototype will overwrite the $. Just use jQuery or assign jQuery to something like $j. Maybe this order too:

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Rey Bango
Nathan & Markus, How about posting some example code that shows an example of how secret one time tokens can be created and used within jQuery. That would go a long way to clarifying what you're discussing. Rey... Nathan Young -X (natyoung - Artizen at Cisco) wrote: Hi. Markus gets it rig

[jQuery] Re: css image caching with jquery

2007-04-03 Thread Robert O'Rourke
Theo Welch wrote: To help deal with this, there are ways to configure a web server so that it will instruct the browser to not make these "unnecessary" requests, but most web servers aren't configured to such a degree. For example, you can configure Apache to tell the browser not to bother

[jQuery] Re: NEWS: Another Top Site Goes to jQuery

2007-04-03 Thread Franck Marcia
alapage.com, a french web bookshop, now uses jquery as well! http://www.alapage.com/-/Fiche/Musiques/561601/CD/ More to come... ;-) Cheers, Franck. On 2 avr, 19:12, Rey Bango <[EMAIL PROTECTED]> wrote: > Dzone.com, one of the top tech news aggregators, has recently redesigned > their whole si

[jQuery] Re: JS and css

2007-04-03 Thread Robert O'Rourke
BKDesign Solutions wrote: Opinions? for using js, I heard that it's better to use classes on every item ; To quote from elsewhere: "increased specificity makes programming in Javascript easier, e.g. the ability to grab a single element by name instead of parsing through the DOM to grab it."

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Benjamin Sterling
How about posting some example code that shows an example of how secret one time tokens can be created and used within jQuery. I second that. It would go a long way in educating me on the proper way of doing things. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread MathiasBank
Well, I have written a treemap implementation in PHP and JavaScript (like the one of SequoiaView - http://www.win.tue.nl/sequoiaview/). And in this application, there is a difference. Of course, in most applications, there will be no difference. But there are cases, in which you need a fast selec

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Brian Miller
Keep in mind that this is more of a server-side thing. The only JS piece involves adding a variable value to your URL when pulling the data through a script tag or an iframe. e.g.: http://mysite/myapplication?uniquevalue=foo Then, your server application should return an error (perhaps 500?) i

[jQuery] Re: Am I missing something?

2007-04-03 Thread Marshall Salinger
Untested, but I am fairly certain that you need to either use a block level element such as a paragraph tag or try setting strong to display:block. -Marshall AllexS wrote: 22 89 jQuery.fn.bargraph = function() { return this.each(function(){ var temp = $(this

[jQuery] Re: Am I missing something?

2007-04-03 Thread Smith, Allex
Marshall, Thanks for your reply. My css is set up like this: .graph .bar { display: block; position: relative; background: #B1D632; text-align: center; color: #333; height: 2em; line-height: 2em; } The original sample I got this f

[jQuery] Re: Badly need help with ajaxForm/validator

2007-04-03 Thread Kim Johnson
I wrote to Dan privately thanking him for this info, but want to point it out to the list too -- this is a GREAT presentation for those who are interested in cementing jquery knowledge, and the examples are top notch. Thanks again Dan! --- "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > > Ki

[jQuery] Re: Am I missing something?

2007-04-03 Thread Marshall Salinger
Hi Allex, It looks like it was a white-space issue with the numbers in the divs. I have a test case working here: http://salingermultimedia.com/jQuery/graph/ -Marshall Smith, Allex wrote: Marshall, Thanks for your reply. My css is set up like this: .graph .bar { display: block;

[jQuery] Re: Am I missing something?

2007-04-03 Thread Smith, Allex
You are a freaking rockstar! Changing this: 54 8 To this: 54 8 Solved the problem. I must now implement some kind of trimming into my code. Thank you very much! Allex -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marsha

[jQuery] Re: Am I missing something?

2007-04-03 Thread Smith, Allex
This works best :) Thanks again. // No more whitespace problem :) var temp = jQuery.trim(jQuery(this).text()); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Smith, Allex Sent: Tuesday, April 03, 2007 3:03 PM To: jquery-en@googlegroups.com Sub

[jQuery] Re: working around IE's lack of click/dblclick events

2007-04-03 Thread Dan G. Switzer, II
Rob, >Still no luck with that code. The only way I can make it work is by putting >an alert('...') in the change/click handler - the delay is obviously enough >that IE has updated the DOM by the time the box is closed. Without the >alert, I just get the selections before the change. Here's a wor

[jQuery] Re: Am I missing something?

2007-04-03 Thread Marshall Salinger
Glad I could help! Nice little plugin. Have a good one. -Marshall Smith, Allex wrote: This works best :) Thanks again. // No more whitespace problem :) var temp = jQuery.trim(jQuery(this).text()); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Beha

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. I know you asked for code but what you're getting is more talk. Sorry. You can't produce the secret in pure client side JS, you need the server to round trip the secret to itself with the cooperation of the JS. Also note that as stated before, creating mashups and securing your service in

[jQuery] Auto-populating Select Boxes using jQuery & AJAX

2007-04-03 Thread Shelane Enos
Remy wrote this: http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-aj ax/ And I used the example to a T. what I didn't notice is that in the example and now my code, the last option is always selected. I even change this line: var options = ''; To var options =

[jQuery] Re: Auto-populating Select Boxes using jQuery & AJAX

2007-04-03 Thread Alex Ezell
This is the way I did it, where fromCityID is the ID of the . $("option:first", "select#fromCityID").attr("selected","selected"); /alex On 4/3/07, Shelane Enos <[EMAIL PROTECTED]> wrote: Remy wrote this: http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-aj ax/ And I

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
ooops, forgot to mention: The server side components that are providing the data for some web services may not be checking the user's session to make sure that they are logged in. Obviously this is a pre-requisite on which to build any more meaningful security. ->Nathan .:||:._.:||:._.:||:

[jQuery] Test for a function being defined

2007-04-03 Thread Shelane Enos
Is there a test to know if a function has been defined or declared? function modify(){ ...my code } if(function('modify')) or something like that?

[jQuery] Re: Test for a function being defined

2007-04-03 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
if (typeof(modify)=="function"){} .:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.: ||:. Nathan Young Cisco.com->Interface Development A: ncy1717 E: [EMAIL PROTECTED] > -Original Message- > From: jquery-en@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behal

[jQuery] Re: Test for a function being defined

2007-04-03 Thread Dan G. Switzer, II
Shelane, >Is there a test to know if a function has been defined or declared? > >function modify(){ >...my code >} > >if(function('modify')) > > >or something like that? A function is just a variable. if( !!modify ) alert("exists"); if( typeof modify == "function" ) alert("exists and is a f

[jQuery] HOW TO UNSUBSCRIBE?

2007-04-03 Thread Jquery
HOW TO UNSCRIPBE??? I DON'T FOUND INSTRUCTIONS. My account was created one or two months ago, when the discussion system wasn't from Google Groups and now i'm receiving messages and can't cancel my subscribe! Sux >:-(

[jQuery] Curvy Corners in IE7

2007-04-03 Thread Rob Wilkerson
Has anyone else had any trouble getting the curvy corners to look right in IE7? For me, the line work doesn't match up in either IE6 or 7. It's not unexpected in 6, but I'd hoped I could get it to look right in 7. Here's what I have: $( document ).ready (

  1   2   >