[jQuery] Re: Disabling ctrl+v(paste) in forms with jquery

2007-08-20 Thread Stephan Beal
On Aug 20, 4:47 pm, Web Specialist [EMAIL PROTECTED] wrote: I'm looking a script to disable users to paste content in forms using ctrl+v. How to avoid that? Since that facility is provided independent of JS by the underlying native widgets (often at a deeper level than the browser application

[jQuery] Re: Square brackets in name-attribute

2007-08-20 Thread Stephan Beal
On Aug 20, 4:37 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: a problem I couldn't find a solution for is the following: I have an input element with the attribute: input name=[DUS][1] /

[jQuery] Re: Disabling ctrl+v(paste) in forms with jquery

2007-08-20 Thread Stephan Beal
On Aug 20, 4:58 pm, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 20, 4:47 pm, Web Specialist [EMAIL PROTECTED] wrote: I'm looking a script to disable users to paste content in forms using ctrl+v. How to avoid that? And don't forget that you'd also have to disable Shift-Insert

[jQuery] Re: How can I add new plugins to JQuery plugin list?

2007-08-20 Thread Stephan Beal
On Aug 20, 4:30 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Last time I working under creation of new plugins for JQuery. What I need to publish my plugins description in JQuery site? Where have I to place my plugins in external web-servers or it's possible to put my files into JQuery

[jQuery] Re: Keeping a mouseover-triggered animation from running

2007-08-20 Thread Stephan Beal
On Aug 20, 6:25 pm, Gordon [EMAIL PROTECTED] wrote: My first attempt simply did an animate () on the hovered item and another one when it was unhovered. this produced the desired scaling effect, but it also ran into a few problems when the mouse was moved over several items in quick

[jQuery] Re: ASP.NET IDs

2007-08-19 Thread Stephan Beal
On Aug 18, 10:29 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 2) I'm also using AJAX update panel to update a gridview. Everything is working great. However, once I update the gridview and it's refreshed in AJAX, my jQuery no longer works, even though the code is there. This sounds like

[jQuery] Re: Avoiding invalid markup

2007-08-19 Thread Stephan Beal
On Aug 19, 5:55 am, Kyle [EMAIL PROTECTED] wrote: $(this).hide().parent().prepend(img class='ajax-loader' src='ajax- loader.gif' height='14px' style='padding-left:7px;' alt='loading...'/ ); This, obviously, is in the head tag. However, when I run it through the validator, it is returning

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Stephan Beal
On Aug 19, 12:10 am, Pops [EMAIL PROTECTED] wrote: The default is GET, however, if you pass the 2nd parameter as URL data and not a function, then jQuery assumes a POST is desired. Studying this seems odd. I can take a swag at the reasons: - As a poor's man security consideration

[jQuery] Re: Simulate foucs on any div, really get Firebug and use it

2007-08-18 Thread Stephan Beal
On Aug 18, 9:43 pm, Mitch [EMAIL PROTECTED] wrote: In fact this demo has a little bit of every thing in it. That's what impressed me. It really is a full-fledged app (or appears to be - i couldn't figure out how to get it to do anything, so i assume it's a prototype or mock-up). You did a hell

[jQuery] Re: Find URLs in text?

2007-08-18 Thread Stephan Beal
On Aug 18, 9:50 pm, Rod Begbie [EMAIL PROTECTED] wrote: Quick question to attempt to avoid reinventing the wheel. Is anyone aware of a Javascript library (JQuery or otherwise) which will find URLs in a chunk of text and either turn them into links, or make it easy for me to do so myself?

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 12:31 am, Pops [EMAIL PROTECTED] wrote: In the docs for .load, it has: params (Object): (optional) A set of key/value pairs that will be sent as data to the server. That is not what I am seeing, the following $('#containerId').load(url,k1=v1k2=v2); Hi, Pops! That should

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 12:39 am, Stephan Beal [EMAIL PROTECTED] wrote: $(...).load('url', {k1='v1', k2:'v2'}); s/k1=/k1:/, of course.

[jQuery] Re: $.load() POSTing instead of GETing

2007-08-18 Thread Stephan Beal
On Aug 19, 12:55 am, Pops [EMAIL PROTECTED] wrote: What was you sending? i wasn't sending anything - i just wanted to load the contents of an HTML snippet file (not a complete/well-formed HTML document) into a DIV. We write our own web server and as such we conform to HTTP RFC standards, and

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 1:16 am, Pops [EMAIL PROTECTED] wrote: Stephan, You're pulling my leg? Not as far as i know, but... Firebug shows this when I enter the following in the console: console.log($.param({k1='v1', k2='v2'})); 0=%7B1=k2=13=%3D4='5=v6=17='8=%2C9=%2010=k11=212=

[jQuery] Re: Documentation Nit: .load - Incorrect Info regarding how data is sent

2007-08-18 Thread Stephan Beal
On Aug 19, 1:21 am, Stephan Beal [EMAIL PROTECTED] wrote: Um... err... ??? i may be wrong on what the param object should be, but my understanding is that it's an Object/map of key/val pairs. Maybe someone out there can correct or confirm that? From the example on the docs page: http

[jQuery] Re: stupid dev tricks: marking current page links

2007-08-17 Thread Stephan Beal
Regexes are definitely worth learning. Once you know them, you can use them in many different programming languages (and even non-programming tools) and you'll be SO happy that you know how to use them. Brief follow-up: http://xkcd.com/208/ That's based on a true story.

[jQuery] Re: Hover Delay

2007-08-17 Thread Stephan Beal
On Aug 17, 3:43 pm, b0bd0gz [EMAIL PROTECTED] wrote: I have a image which underneath has a p tag which contains some text, when the image is loaded the p tag is hidden until the cursor hovers over the image, then the p tag is shown. What I want to know is, is there a way I can only show the

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 5:51 pm, Matt Kruse [EMAIL PROTECTED] wrote: Assigning event functions like click() require an anonymous function for what is often a very small snippet of code. These anonymous functions are confusing to inexperienced javascript coders and make the code less readable, IMO. People

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 6:49 pm, Stephan Beal [EMAIL PROTECTED] wrote: According to the rhino book: ... One more follow-up here and i'll shut up: Also according to the rhino book: The Function() constructor parses the function body and creates a new function object each time it is called. ... By contrast

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 6:25 pm, Glen Lipka [EMAIL PROTECTED] wrote: the base code. I think slamming ideas is a bad practice. It might not make it into the code, but all ideas should have the benefit of the doubt that the suggestion is thoughtful. Saying i personally see no benefit is a statement of

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 6:33 pm, Matt Kruse [EMAIL PROTECTED] wrote: On Aug 17, 11:11 am, Stephan Beal [EMAIL PROTECTED] wrote: i think this would be counter-intuitive. If i pass a string to a function and know that it will be executed, i would expect the string to be eval()'d, not run in a Function

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Stephan Beal
On Aug 17, 7:36 pm, Potluri [EMAIL PROTECTED] wrote: table id=srTable tbody tra1 /tr tra2 /tr tra3 /tr tra4 /tr /tbody /table This isn't legal HTML. TR elements can only contain TD elements, not text. Try replacing each row with: trtda1/td/tr

[jQuery] Re: flicker on tooltips fix ?

2007-08-17 Thread Stephan Beal
alexfoxy wrote: The problem occurs when you hover over both tooltip and icon underneath, it begins to flicker. I know why this happens, but I don't know how to solve it. If you mean the quickly toggling on and off when your mouse is near the right side of the item, this happens because the

[jQuery] Re: How to show Updating container

2007-08-17 Thread Stephan Beal
On Aug 17, 6:36 pm, Potluri [EMAIL PROTECTED] wrote: function() { $(#rs_loading).show(); someFuncTORefine(); $(#rs_loading).hide(); } ... I dont know where it's breaking it rs_loading container is shown after the someFuncTORefine() is executed. So it appears once the refinement function

[jQuery] Re: Avoiding anonymous functions - enhancement suggestion

2007-08-17 Thread Stephan Beal
On Aug 17, 8:54 pm, Joan Piedra [EMAIL PROTECTED] wrote: On 8/17/07, John Resig [EMAIL PROTECTED] wrote: $(...).onclick().toggle().end(); The same would happen to John's code, this would mess me up. Just my opinion tho. i agree with Joan here. The semantics on the above would SEEM to be:

[jQuery] Re: JSON String problem

2007-08-16 Thread Stephan Beal
On Aug 16, 3:27 pm, Erik Beeson [EMAIL PROTECTED] wrote: Yep, that's a feature of JavaScript. No quotes means it's a number, not a string, and numbers that start with 0 are assumed to be octal (base 8). Even parseInt(063) will give you 51, since again, it assumes you mean octal. I suggest

[jQuery] stupid dev tricks: marking current page links

2007-08-16 Thread Stephan Beal
Hi, all! We've all attempted several different ways of highlighting navigation links which point to the current page. Often times we mark the page via our PHP by adding a class (e.g. currentPage) to the navigation link which points to the current page, or some such. Here's a slightly different

[jQuery] Re: What does Unobtrusive Javascript mean?

2007-08-16 Thread Stephan Beal
On Aug 16, 4:13 pm, Pops [EMAIL PROTECTED] wrote: Ive seen this term referred to a few times, especially here: http://simonwillison.net/2007/Aug/15/jquery/ What does Unobtrusive Javascript mean? Hi, Pops! google: what does unobtrusive javascript mean?

[jQuery] Re: JSON String problem

2007-08-16 Thread Stephan Beal
On Aug 16, 3:42 pm, Terry B [EMAIL PROTECTED] wrote: query level but that is too cumbersome. I can't believe JSon does not have any options or settings that force all values to strings. Anyone played with this at all? JSON is a no-logic data interchange format, not a language, so it neither

[jQuery] Re: stupid dev tricks: marking current page links

2007-08-16 Thread Stephan Beal
On Aug 16, 5:13 pm, Karl Swedberg [EMAIL PROTECTED] wrote: One way to avoid marking external links as the current page would be to begin with an if statement: if (location.hostname == 'www.mysite.com') { The main problem with that is you've normally got to add several domains: your test

[jQuery] Re: stupid dev tricks: marking current page links

2007-08-16 Thread Stephan Beal
On Aug 16, 6:28 pm, Bernd Matzner [EMAIL PROTECTED] wrote: how about plain and stupid checking if the current url is in the link? ... i hadn't considered making sure it works when people link from external sites. :/ $('a').each(function(){ if( window.location.href.indexOf(

[jQuery] Re: stupid dev tricks: marking current page links

2007-08-16 Thread Stephan Beal
On Aug 16, 7:04 pm, Bernd Matzner [EMAIL PROTECTED] wrote: a href=index.htmlA/a | a href=/index.htmlB/a | a href=http://localhost/index.html;C/a | a href=index.html? sdsdg=sdgD/a Doh, of course i hadn't considered that the navigation links themselves having GET options (i was thinking about

[jQuery] Re: jQuery negatives: dual/triple/quadruple special-case uses for both function calls and method names

2007-08-16 Thread Stephan Beal
On Aug 16, 7:39 pm, Mitch [EMAIL PROTECTED] wrote: quote jQuery is definitely a popular utility function library, but the sheer amount of dual/triple/quadruple special-case uses for both function calls and method names is an instant turnoff for me. This also turns me off to some degree. The

[jQuery] Re: stupid dev tricks: marking current page links

2007-08-16 Thread Stephan Beal
On Aug 16, 8:59 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Most sites I've seen with these GET vars attached have something URLs like this: index.html?category=2amp;product=210 So if I'm on that page, the one for product 210 within category 2, I don't want to have a link to index.html

[jQuery] Re: stupid dev tricks: marking current page links

2007-08-16 Thread Stephan Beal
On Aug 16, 9:03 pm, Stephan Beal [EMAIL PROTECTED] wrote: and your above point, i'd love to see it. Maybe a plugin with options for ignoring/respecting GET parameters? And while you're writing that plugin (hint, hint ;), another point to address is the common practice of linking some element

[jQuery] Re: Tabs not working

2007-08-15 Thread Stephan Beal
On Aug 15, 1:12 pm, Klaus Hartl [EMAIL PROTECTED] wrote: I really can't see any reason why it shouldn't work... It seems that the problem has something to do with this: Before clicking a tab: div id=one class=tabs-container tabs-hideTEST/div div id=two class=tabs-containerTEST/div After

[jQuery] Re: stupid dev tricks: gzipping jQuery without mod_deflate

2007-08-15 Thread Stephan Beal
On Aug 15, 2:33 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Thanks for sharing this. Use the minified version instead of the packed version for even better file size savings. :) i experimented on that. i expected the new YUI minifier to give better compression (as it does on all of my plugins),

[jQuery] Re: stupid dev tricks: gzipping jQuery without mod_deflate

2007-08-15 Thread Stephan Beal
On Aug 15, 3:33 pm, xavier [EMAIL PROTECTED] wrote: This means that : 1) you assume all clients are able to deal with compressed pages No - PHP does that negotiation automatically (supposedly) and ignores the gzip if it thinks the client can't handle it. 2) your server is going to compress

[jQuery] Some snippets for newbies, Part 1 of N

2007-08-15 Thread Stephan Beal
Hi, all! i'm working on rewriting the web site for my mother's business and i'm finally getting to integrate some jQuery in a production site. Unfortunately, i don't have a link to show anything (it's on an internal test server), but i wanted to share some of the tidbits with the n00bs in the

[jQuery] Re: stupid dev tricks: gzipping jQuery without mod_deflate

2007-08-15 Thread Stephan Beal
On Aug 15, 11:02 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Very cool... I will start using this technique right away... But my only concern is, since this technique compresses the file everytime it is requested, isn't it an overkill on the server's CPU? Getting this level of transparency

[jQuery] Re: stupid dev tricks: gzipping jQuery without mod_deflate

2007-08-15 Thread Stephan Beal
On Aug 15, 11:32 pm, Erik Beeson [EMAIL PROTECTED] wrote: I cache the packed versions. Actually, I concatenate all of the scripts that I need for a page, minify them (used to use packer, now I use YUImin), and then cache that, all on the fly. So I have one script tag like: The problem with

[jQuery] Re: stupid dev tricks: gzipping jQuery without mod_deflate

2007-08-15 Thread Stephan Beal
On Aug 15, 11:08 am, Stephan Beal [EMAIL PROTECTED] wrote: ... This approach could just as easily be used to combine all required JS scripts on the fly (just be sure to insert a ';' after each one to accommodate scripts which don't have them), then gzip them, to help reduce the overall

[jQuery] Re: caption supported?

2007-08-15 Thread Stephan Beal
On Aug 16, 4:20 am, Stephan Beal [EMAIL PROTECTED] wrote: My guess is that when you create your table the TBODY is automatically getting added to it (someone posted complaining about that behaviour a few days ago), which means that your append(caption) will fail and your append(tbody

[jQuery] Re: caption supported?

2007-08-15 Thread Stephan Beal
On Aug 16, 3:56 am, Benjamin Sterling [EMAIL PROTECTED] wrote: Hey, I am trying to build a table dynamically, but jQuery keep erroring out on $('table').append('caption'); Is caption supported? $('table').append('tbody'); works fine. it's not jQuery which is ignoring your request. jQuery

[jQuery] Re: new Plugin every: jQuery-oriented setTimeout and setInterval

2007-08-14 Thread Stephan Beal
On Aug 14, 3:34 pm, Blair Mitchelmore [EMAIL PROTECTED] wrote: (Though I think the next step in improving how plugins interoperate is allowing multiple plugins to operate under the same name by having the plugin provide some sort of argument test to determine if the provided arguments are

[jQuery] Re: using getJSON() with IE vs FF

2007-08-14 Thread Stephan Beal
On Aug 14, 12:41 pm, Pops [EMAIL PROTECTED] wrote: JSON: div id=JsonDump/div script type='text/javascript' $(document).ready(function() { var url = /code/jSystemMonitor.wcx; var secs = 5000; $(#JsonDump).ajaxComplete(function(request, settings){

[jQuery] Re: is this possible in jQ: plugin namespaces?

2007-08-14 Thread Stephan Beal
On Aug 14, 4:05 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Stephan, I believe it is possible, M. Alsup does just that in is cycle plugin:http://malsup.com/jquery/cycle/jquery.cycle.all.js?v1.4 That *almost* does what i'm looking for, but not quite. In that case, a single plugin uses

[jQuery] Re: New Yahoo Minifier - YUI Compressor

2007-08-14 Thread Stephan Beal
On Aug 14, 7:02 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: The idea behind compression tools that use Rhino is they actually have the ability to parse the JS and really understand how the variables work--which allows for things such as more accurate variable replacement. While YUImin

[jQuery] Re: New Yahoo Minifier - YUI Compressor

2007-08-14 Thread Stephan Beal
On Aug 14, 7:37 pm, Tane Piper [EMAIL PROTECTED] wrote: Absolutly, that worried me at first about rhino, but It's great to see its already included. If anyone can work out how to included this in eclipse as a runnable program to compress the code, please share it - I tried myself, but I'm

[jQuery] Re: input type=button / : which event is that?

2007-08-14 Thread Stephan Beal
On Aug 14, 10:30 pm, lukek [EMAIL PROTECTED] wrote: Is there an specific event raised when a button (input type=button) is selected? Or am I being a bit stupid? To capture this I am having to use: $(#myButton) Try: $(...).click( function(){...} ); :) if (event.keCode == 13) {

[jQuery] Re: focus with DIVs

2007-08-14 Thread Stephan Beal
On Aug 15, 12:46 am, Mitchell Waite [EMAIL PROTECTED] wrote: Is there a way to use focus with a div rather than just an input element? Focus, by definition, applies only to elements which can accept input. Focus is in fact short for input focus. If there is not how would you handle it so when

[jQuery] Re: Looping through data object

2007-08-12 Thread Stephan Beal
On Aug 12, 6:49 pm, Eridius [EMAIL PROTECTED] wrote: options = { var1: 'one', var2: 'two' } is there a wayt too loop throught this object like i can does with .each? for( var key in obj ) { var val = obj[key]; ... } :D

[jQuery] Re: scollovers animation

2007-08-11 Thread Stephan Beal
On Aug 11, 6:21 am, Blair Mitchelmore [EMAIL PROTECTED] wrote: Here's my (40 line) proof of concept. It's not as foolproof as the ... algorithm so its glitchy when the font gets really big or really small). Source code:http://jquery.offput.ca/js/jquery.scrollover.js Simple (even for my

[jQuery] Re: ie playing up!

2007-08-11 Thread Stephan Beal
On Aug 11, 3:34 pm, phill [EMAIL PROTECTED] wrote: a sample is available here:www.chantrybeeproducts.co.nr/jqueryani/ i am having a few problems, i was wondering if some one could help, in ie whe the main body of the content, it flashes up before it is shown and after it has been hidden?

[jQuery] Re: Please fix TreeView bassistance - Please DEV to not stable plugins

2007-08-10 Thread Stephan Beal
On Aug 10, 3:31 am, Mario Moura [EMAIL PROTECTED] wrote: Please John Resig ask to plugin providers make plugins to work with all browsers (or FF and IE at least) if no please post JQuery.NamePlugin(DEV).js or something like this. DEV to Not Stable. Hi, Mario! Some comments: a) Whether or

[jQuery] scollovers animation

2007-08-09 Thread Stephan Beal
Hiya! i just found this via digg: http://www.scrollovers.com/ and i thought that might be a tempting animation effect for one of the more talented plugin authors out there. The implementation code is 175 lines long, but i'd bet that one of you jQuery gurus can get it down to 20 or less. :)

[jQuery] Re: scollovers animation

2007-08-09 Thread Stephan Beal
On Aug 9, 7:05 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Stephan, I thought you were the KING of plugins! :-) Nonono, you misunderstand ... i produce a lot of plugins (7 so far, and i've been using jQuery only a month or two), but they're all crap compared to most of the existing plugins. ;)

[jQuery] Slightly OT: overview of HTML5 elements

2007-08-09 Thread Stephan Beal
i thought this might interest some of you: http://www.ibm.com/developerworks/library/x-html5/?ca=dgr-lnxw01NewHTML --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups jQuery (English) group. To post to this group,

[jQuery] Re: An open letter to non-Believers...

2007-08-08 Thread Stephan Beal
On 8/8/07, Yehuda Katz [EMAIL PROTECTED] wrote: Hey, Send it to [EMAIL PROTECTED] :-D Hi, Yehuda! i did, a day or two after i originally posted it, but got no response. :( -- - stephan beal http://wanderinghorse.net/home/stephan/

[jQuery] Re: An open letter to non-Believers...

2007-08-08 Thread Stephan Beal
does come to mind. Thanks for your long and insightful reply, Pops! -- - stephan beal http://wanderinghorse.net/home/stephan/

[jQuery] Announcement: Spoilers plugin

2007-08-08 Thread Stephan Beal
Hi, all! Yet another plugin: http://jquery.com/plugins/project/Spoilers Demo: http://wanderinghorse.net/computing/javascript/jquery/spoilers/demo.html It is used to hide spoiler text from casual readers, who can reveal the text by mousing over it. See the web site for an example of how this

[jQuery] Re: Announcement: Spoilers plugin

2007-08-08 Thread Stephan Beal
On Aug 8, 6:17 pm, Sam Collett [EMAIL PROTECTED] wrote: You like developing plugins don't you? ;) :D jQuery makes it too easy to do. This particular plugin has a trivial implementation: jQuery.fn.initSpoilers = function( props ) { props = jQuery.extend({

[jQuery] Re: Announcement: Spoilers plugin

2007-08-08 Thread Stephan Beal
On Aug 8, 6:28 pm, Stephan Beal [EMAIL PROTECTED] wrote: For the click, i was thinking: clicking on the overlay will unhide the text, and mouse-out will hide it again, but that might be tedious/ @Sam Dan: i've added click-toggle and hoverIntent support via an optional init parameter

[jQuery] Re: i need to build a tree dynamic...

2007-08-08 Thread Stephan Beal
On Aug 8, 5:10 pm, cesar c [EMAIL PROTECTED] wrote: I've a doubtI dont know how to implement a tree dinamic with jquery... I see de treeview api but the tree's structure is in the body how can i build dynamically this tree with jquery? You can build any DOM elements dynamically in jQuery

[jQuery] Re: Jquery can show Images from file:///C:?

2007-08-07 Thread Stephan Beal
On Aug 8, 1:28 am, Mario Moura [EMAIL PROTECTED] wrote: What I am trying is show an image into my browser with this tag img width=50 height=50 src=file:///C:/Users/example.JPG/ into my browser. Is it possible? or is a security lock from browsers? Both. It is possible, but only if your

[jQuery] Re: doubt about jQuery

2007-08-06 Thread Stephan Beal
On Aug 6, 5:30 am, Igo88 [EMAIL PROTECTED] wrote: Hi...i am new to JavaScript but i have been reading a little...and i entered jQuery web page, and i have a some Doubts... 1) Is jQuery programming faster than traditional javaScript programming?? It depends on what you are doing. If you are

[jQuery] Re: Help

2007-08-06 Thread Stephan Beal
On Aug 6, 12:27 pm, Muhammad Mohsin [EMAIL PROTECTED] wrote: How to send jquery $.get php varibles. i need to call ajax file with multivaribles how can i do it The documentation is your friend: http://docs.jquery.com/Ajax#.24.get.28_url.2C_params.2C_callback_.29

[jQuery] Re: help on $.get

2007-08-06 Thread Stephan Beal
On Aug 6, 12:41 pm, mohsin [EMAIL PROTECTED] wrote: how to pass multiple value from php to $.get in jQuery. i need to pass varibles from php to ajax file ...buti cann't find no way to do it. You can't pass variables from PHP to JavaScript. You can pass them from JS to PHP by making a GET or

[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Stephan Beal
On Aug 6, 9:10 am, Michael Schwarz [MVP] [EMAIL PROTECTED] wrote: And did anybody of you write a periodical updater that is using POST without having memory leak problems? If i'm not mistaken, someone posted about this problem yesterday or the day before and posted a fix to the jQuery bug

[jQuery] Re: $Ajax memory problem

2007-08-06 Thread Stephan Beal
On Aug 6, 1:20 pm, Stephan Beal [EMAIL PROTECTED] wrote: If i'm not mistaken, someone posted about this problem yesterday or the day before and posted a fix to the jQuery bug database. i'm sorry, but i don't have the links available. Here's the bug link: http://dev.jquery.com/ticket/1463

[jQuery] Re: problem or unable to understand html(val) empty() function

2007-08-06 Thread Stephan Beal
On Aug 6, 7:45 am, Klaus Hartl [EMAIL PROTECTED] wrote: This is a typical case of running into unexpected results because of invalid HTML. A p element must not contain a list. What happens here is that a browser implicitly closes the paragraph before the list starts. Is there a more general

[jQuery] Re: (generic) Accordion plugin question

2007-08-06 Thread Stephan Beal
On Aug 6, 5:23 pm, Karl Swedberg [EMAIL PROTECTED] wrote: As Dan mentioned, this isn't tough to accomplish. I wrote a tutorial a while back that shows how to implement something like this at a basic level: http://www.learningjquery.com/2007/02/more-showing-more-hiding Excellent. Thanks for

[jQuery] follow-up: (generic) Accordion plugin question

2007-08-06 Thread Stephan Beal
On Aug 6, 5:23 pm, Karl Swedberg [EMAIL PROTECTED] wrote: http://www.learningjquery.com/2007/02/more-showing-more-hiding To follow up, here's how trivial it is (with jQuery) to write a very basic accordion-like widget which does not support Highlander behaviour (there can be only one). HTML

[jQuery] request: need help naming new plugin

2007-08-06 Thread Stephan Beal
Hi, all! i just put together an accordion-like plugin based off of this Karl Swedberg's article: http://www.learningjquery.com/2007/02/more-showing-more-hiding The difference from other Accordions is that it does not enforce Highlander Behaviour. That is, it does not force only one of the

[jQuery] Re: request: need help naming new plugin

2007-08-06 Thread Stephan Beal
On Aug 7, 12:31 am, John Resig [EMAIL PROTECTED] wrote: Toggle Pane Okay, it'd be hard to turn down the opportunity to say, The Man named my plugin for me, so TogglePane it is. Thanks, John!

[jQuery] Announcement: new plugin: TogglePane

2007-08-06 Thread Stephan Beal
Yo! http://jquery.com/plugins/project/TogglePane Only 719 bytes MIN'd. :D Many thanks to: a) Joern Zaefferer for his Accordion plugin, which inspired this plugin. b) John Resig for naming it. Well, and of course for writing jQuery. c) Karl Swedberg, for his article which made this plugin

[jQuery] Announce: dice roller plugin

2007-08-05 Thread Stephan Beal
Hi, all! As if the world really needs this... well, i needed it. BogoDice is a simple dice roller plugin: http://jquery.com/plugins/project/BogoDice There's a link to the demo page there. The full docs are in the uncompressed sources. The most significant TODO for the plugin is the ability

[jQuery] (generic) Accordion plugin question

2007-08-05 Thread Stephan Beal
Hi, all! All these posts about various Accordion plugins has gotten me looking at several, and after trying them out i've got a generic question: Is there any Accordion(like) plugin out there which does not force all elements except the selected one to be closed? What if i want to open multiple

[jQuery] Re: Before automatically closes tags...?

2007-08-02 Thread Stephan Beal
On Aug 2, 7:46 pm, DaveG [EMAIL PROTECTED] wrote: What I'd really like is a way to insert dom elements without automatic closure taking place. I checked out jQ and didn't see a flag in the code; although to be honest I'm not sure I fully understood what's going on in there ;) The

[jQuery] Re: Ken Burns effects using jQuery?

2007-08-02 Thread Stephan Beal
On Aug 2, 7:54 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: it looks great nicolas. but i would sincerely recommend one demo per page. i second Ganeshji's opinion: too many demos on one page. It brings my browser to a near standstill.

[jQuery] Re: If user clicks in one place OR another place OR another place...

2007-08-02 Thread Stephan Beal
On Aug 2, 10:17 pm, cfdvlpr [EMAIL PROTECTED] wrote: However, I'd like to also get access to the attributes of a span within that li. What line of code would give me a variable with that span's attributes? You can use the $('selector') syntax, simply pass on a context argument as the second

[jQuery] Re: The JS/jquery version of PHP's array_unique

2007-07-31 Thread Stephan Beal
On Jul 31, 11:44 am, fambizzari [EMAIL PROTECTED] wrote: In this case, how about adding the following function in_array(needle, haystack) JS has an operator for that: if( needle in haystack ) ... i only learned that after i wrote a native C function to add the feature to SpiderMonkey :/.

[jQuery] Re: The JS/jquery version of PHP's array_unique

2007-07-31 Thread Stephan Beal
On Jul 31, 9:48 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Thanks for that Stephan! Very handy! I think I'm now going to read a few chapters from JavaScript - The Definitive Guide again... :-) i spoke too soon, though: the 'in' operator checks for a given KEY, whereas in_array() checks for a

[jQuery] Re: What would be the best way to do this / does this plug in excist

2007-07-30 Thread Stephan Beal
On Jul 30, 1:31 pm, Armand Datema [EMAIL PROTECTED] wrote: I Need to make the following. ,,, if I click the + image after link3 i have the following Try: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ http://be.twixt.us/jquery/treeView.php

[jQuery] interesting JS animation, candidate for jQuery plugin

2007-07-29 Thread Stephan Beal
Hi, all! i just came across this by accident and thought it might interest some plugin author enough to write a similar feature for jQuery: http://imdb.com/title/tt0084787/faq scroll way down, or search for Are there any deleted scenes for this movie?, and look for the red text which says

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-29 Thread Stephan Beal
On Jul 29, 2:40 am, John Resig [EMAIL PROTECTED] wrote: My primary concern is that it isn't open, nor does it foster a community that promotes openness. Another concern about a subscription service is that it could very well offend the plugin authors who write the code but don't get part of

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-29 Thread Stephan Beal
On Jul 29, 6:49 pm, Rick Faircloth [EMAIL PROTECTED] wrote: An equitable system would have to be worked out, but no one who contributes would have been excluded... The Debian team recently (some months ago) got into a political pickle when they *hired* a release manager. The fact that anyone

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-29 Thread Stephan Beal
On Jul 29, 8:19 pm, Rick Faircloth [EMAIL PROTECTED] wrote: Do you know of a similar situation like what we've been discussing where a subscription service or something similar was successfully implemented? Now that you mention it... the closest things i'm aware of are: a) Commercial Linux

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 3:11 am, Rick Faircloth [EMAIL PROTECTED] wrote: What does everyone do to stay updated with the latest jQuery and plug-ins for every website? Once you have a site working with your copy of jQ, there is no reason to update it unless you find that it has a new feature you need or

[jQuery] Re: named function vs anonymous functions

2007-07-28 Thread Stephan Beal
On Jul 28, 2:53 am, Klaus Hartl [EMAIL PROTECTED] wrote: Jeffrey, this is exactly what I was thinking... So now does it work or not? Jein. If you want to call a method of an OBJECT, it won't work because you need a reference to THAT object (which you can encapsulate in a closure/anonymous

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 3:06 pm, Rick Faircloth [EMAIL PROTECTED] wrote: We need some kind of system where plug-ins are tested and deemed compatible with this version or that version of the core and not with some other version. An automated system that checks for compatibility and dependencies. That's

[jQuery] Re: named function vs anonymous functions

2007-07-28 Thread Stephan Beal
On Jul 28, 11:35 am, Christof Donat [EMAIL PROTECTED] wrote: Hi, If you want to call a method of a CLASS then yes it will work because 'this' is then no longer tied to a specific OBJECT. Yes, it is. It is tied to the class object, which is the constructor function object in JavaScript:

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 1:30 am, Mitchell Waite [EMAIL PROTECTED] wrote: I have this small script that shows and hides a button when you mouse over a Mitchell, please, for the second time, DO NOT HIJACK THREADS!!! This is at least the 3rd time i've seen you do it in the past few days! When you have a

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 5:13 pm, Rey Bango [EMAIL PROTECTED] wrote: ... plugin authors, a chance to see if anything breaks. And the code is in SVN so there's no reason for someone to not be able to test it. That's a key phrase, to not BE ABLE to test it. Certainly authors are able, but we must recognize

[jQuery] Re: How does everyone handle the constant updating of jQuery and plug-ins?

2007-07-28 Thread Stephan Beal
On Jul 28, 5:55 pm, Rey Bango [EMAIL PROTECTED] wrote: My advice to all who are concerned about this is to engage the plugin authors in some way to motivate them to update their work. If they don't want to, then consider adopting the plugin and enhancing it. That's happened on several

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 5:59 pm, Mitchell Waite [EMAIL PROTECTED] wrote: I started this thread myself, how is that hijacking? The top post of this thread was from Nicolas Hoizey and is about a completely different topic: From: Nicolas Hoizey [EMAIL PROTECTED] Date: Thu, 26 Jul 2007 23:12:51 +0200 Local:

[jQuery] Re: Anyway to kill a bunch of queued up mouse events

2007-07-28 Thread Stephan Beal
On Jul 28, 7:54 pm, Stephan Beal [EMAIL PROTECTED] wrote: can find. The New Topic button is unfortunately not available when reading a post (it's only visible from the list-of-posts view). i lied - it does show up as a normal link in the top/right of the page. When in the list-of-posts view

[jQuery] Re: IE and the Invalid Source Code Error

2007-07-27 Thread Stephan Beal
Hi, Mike! Something not directly related to your problem, but maybe helpful nonetheless... you can chain a lot of these calls to make them run faster. As it is written now, you are forcing jQ to repeat a few of the searches several times... On Jul 27, 1:54 am, mcraig [EMAIL PROTECTED] wrote:

[jQuery] Re: My Jquery-Tab plugin allow selectable remote tab and add oninit even function

2007-07-27 Thread Stephan Beal
On Jul 27, 9:23 am, [EMAIL PROTECTED] wrote: Happy to share this plugin! It is base on Klaus's tab plugin.http://www.twe-market.com/tab/#remote-tab-4 Nice :). Two comments: a) In Firefox, the Download link is almost completely hidden/covered up by the tabs. b) i would recommend renaming your

[jQuery] Re: hiding a div when clicked outside of it

2007-07-27 Thread Stephan Beal
On Jul 27, 1:43 pm, Maggi [EMAIL PROTECTED] wrote: Hi Ganeshji! You could create an overlay background div with 100% in height and width and write a small jQuery code for that. The problem with this approach is that this consumes the click, such that if the user clicks on another clickable

<    1   2   3   >