[jQuery] Re: AJAX Security

2007-11-22 Thread howa
On 11月22日, 下午7時15分, "Fabien Meghazi" <[EMAIL PROTECTED]> wrote: > > In non AJAX apps, automatic checking can be prevented using Captcha in > > the registration page. > > As you could do with an AJAX application, I don't understand what > would prevent you to do so. > What main difference do you se

[jQuery] Re: Superfish Image menus

2007-11-22 Thread Joel Birch
On 23/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I tried giving them different IDs and testing the same approach with > ".nav li #id" with no success, the selector doesn't work. Not sure exactly where the problem lies, but that selector should probably be .nav li#id or just .nav #id

[jQuery] Re: jQuery.Rule 0.9

2007-11-22 Thread Flesler
I released 0.9.2, this version should work with Opera and Safari. Added support for queue, dequeue and animate. YES, animate :D That means you can animate thousands of elements without going through the animation process with EACH one. This should be benchmarked, but it should be much faster than

[jQuery] Re: Question about comma separated selectors...

2007-11-22 Thread Karl Swedberg
Hi Stan, this topic has come up once before at least, and I can definitely understand the confusion. The conciseness of the syntax in this case perhaps leads to unexpected results. I'm not sure what the rationale is, but using a filter function should give you the results in the order yo

[jQuery] Question about comma separated selectors...

2007-11-22 Thread Stosh
Greetings, I have a general inquiry for the core dev guys... I noticed today while running a selector that comma separated selectors build their results by order of the selector and not by order they appear within the originating DOM. What I mean is, if I am running a selector that has say two d

[jQuery] Re: clueTip: opening one tip closes another tip

2007-11-22 Thread Karl Swedberg
On Nov 22, 2007, at 8:24 AM, PJ wrote: Hello I'm pretty sure I am missing atrick here - but just in case... I have the following collection of images/buttons that display a sticky clueTip when clicked: $('a.warn').cluetip({ activation: 'click', width: 180,

[jQuery] Re: Mixing two effects

2007-11-22 Thread Karl Swedberg
Hi Pathos, It sounds like the Cycle plugin would do something very similar to what you're looking for. http://www.malsup.com/jquery/cycle/ It's very customizable with all sorts of effects that you can apply to the transitions. --Karl _ Karl Swedberg www.englishrules.com

[jQuery] Re: jQuery.Rule 0.9

2007-11-22 Thread Flesler
@Guy According to quirkmode's comparation, the method to add/remove rules in opera 8 is 'untestable'. http://www.quirksmode.org/dom/w3c_css.html Under: "Changing style sheets" I tried it on Opera 9.22 and it worked, the rules were removed, but the DOM didn't react, same happened in Safari Win.

[jQuery] Re: jQuery.Rule 0.9

2007-11-22 Thread Flesler
>works fine at the Demopage :) That's because there are already rules for p's, spans and buttons. The plugin creates/modifies CSS rules, it doesn't alter the style attribute of elements. It doesn't iterate over them. So having 1 TD's and doing $.rule('td {color:red}').appendTo('*') will affec

[jQuery] Re: jQuery.Rule 0.9

2007-11-22 Thread Olaf Bosch
Guy Fraser schrieb: I assume there is some way to say "get the styles applied to element X and apply the same styles to element Y"? Is that what you try? $.rule('p,span,button','style').css('color','red').append('font-size:17px'); works fine at the Demopage :) -- Viele Grüße, Olaf -

[jQuery] Re: Mixing two effects

2007-11-22 Thread Pathos
Hi Brett, thanks for replying. The link on the second link doens't exist anymore. But the first is one part of the effect i'm after. I want a div to slide down with an image in it, after x seconds it slides up again en comes down again with another image. Without a trigger that would trigger the

[jQuery] Problem with Jcarousel in IE

2007-11-22 Thread Jaxx
Hello all, A friend has asked me to sort their website since the their old web designers screwed it up, they are using jcarousel on the main page, in firefox it displays great everytime, however, in IE it will sometimes work but most the time does not put it in the carousel properly. The website

[jQuery] Fade and Center

2007-11-22 Thread shapper
Hello, I have 2 divs: I need to create a function using JQuery that when called does the following: 1. Centers child inside parent 2. Fades in child How can I do this? Thanks, Miguel

[jQuery] Re: Storing last clicked to check against in future function calls.

2007-11-22 Thread [EMAIL PROTECTED]
Thanks Wizzud. I wanted to quickly reply to your question regarding the links. I plan to have real URLs for the links so that it can degrade gracefully if JS isn't on (some crazy users, search spiders etc), but when JS is on to capture the click event rather than follow it (returning false). :)

[jQuery] Re: TableSorter plug-in - custom sorting depending on direction?

2007-11-22 Thread RichUncleSkeleton
OK, thanks for letting me know. Perhaps an idea to incorporate into a future release? -- Scott. On Nov 22, 7:54 am, "Christian Bach" <[EMAIL PROTECTED]> wrote: > Hi Scott, > > The parser will parse the value inside the table cell and store it's values > in a huge array representing the table da

[jQuery] show\hide back button

2007-11-22 Thread Boyd
i have a simple hide the search button and replace it with a loading graphic script, however on firefox if i hit the back button the loading image is there not the search button. On IE the search button is back as expected $(document).ready(function(){ $("#search-form").submit( function() {

[jQuery] Re: jQ UI: sortable and draggable...

2007-11-22 Thread Guy Fraser
Managed to sort this out - I simply applied the sortable to an outer div (that wrapped my two list divs) and it works like a charm :) Guy Fraser wrote: > >foo >bar >moo > > > >chimp >fish >marmoset > > > I want to configure it so that if I drag an item within it's > c

[jQuery] show\hide back button

2007-11-22 Thread Boyd
i have a simple hide the search button and replace it with a loading graphic script, however on firefox if i hit the back button the loading image is there not the search button. On IE the search button is back as expected $(document).ready(function(){ $("#search-form").submit( function() {

[jQuery] Re: does anyone have a latest document PDF

2007-11-22 Thread [EMAIL PROTECTED]
Try searching google for Visual jQuery. On Nov 22, 1:48 pm, TunaSandwich <[EMAIL PROTECTED]> wrote: > Funny, this is exactly what I'm looking at right now. > > I just searched this discussion forum and all I can find are downloads > that are old and unofficial. > > So I guess there's no official

[jQuery] Re: Again on tablesorter and row hovering

2007-11-22 Thread Flesler
You don't need to do .each in none of those 2 cases. That can be re-written as: . . $("tbody tr", table).hover( function(){ $(this).children().addClass("hover"); }, function(){ $(this).children().removeClass("hover"); } ); . . Also (and only horizontally) you can imp

[jQuery] Re: Off-line documentation

2007-11-22 Thread Jörn Zaefferer
TunaSandwich schrieb: So what I'm understanding is that there is no official jQuery documentation that we can download for offline reading and development? I searched this area and that's all I've found so far. Some of it is old. Is there a better solution? I mean, I'm about to take the bus fo

[jQuery] Re: Help with jquery.autocomplete and extraParams

2007-11-22 Thread Jörn Zaefferer
Shawn schrieb: I'm using the autocomplete plugin found at http://www.dyve.net/jquery/?autocomplete. I'm trying to set a second parameter to be passed to my serverside code, and am getting odd behavior. I'm stumped on this one. [...] Any tips how I do this?? Thanks in advance. Try to s

[jQuery] Re: toggleClass() help - assigning double class names that look like this: "classname classname"

2007-11-22 Thread Wizzud
If all you want it to do is toggle *just* the active class then do exactly that... $('.video').toggleClass('active'); However, the $('.video') selector will never find any class='video active' because you've changed them all to class='active' in the previous code. Therefore it ( $('.video') ) wi

[jQuery] Re: toggleClass() help - assigning double class names that look like this: "classname classname"

2007-11-22 Thread jenni
Here is a runable code sample of my problem - this pretty much breaks it down and shows what I'm trying to do :) http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; > JQ TAB TEST THING #media div.tabs{position:relative;height:41px;background:bla

[jQuery] Re: fadeout a div after a few seconds

2007-11-22 Thread Wizzud
setTimeout(function(){ $('#div').fadeOut('slow'); }, 2000); ...fades out #div after 2 seconds. On Nov 22, 9:53 am, guix69 <[EMAIL PROTECTED]> wrote: > Hello all ! > > I have a DIV which I update after an ajax form submit (form plugin). > This DIV is filled with a message like "Your details have

[jQuery] Re: Selectors tr and img

2007-11-22 Thread Wizzud
$('tr:has(img)').addClass('odd'); On Nov 22, 1:53 pm, Toccamonium <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using this code to add alternating table rows: > $('.content_table tr:odd').addClass('odd'); > $('.content_table tr:even').addClass('even'); > > Now I have some cells with images includes:

[jQuery] Re: toggleClass() help - assigning double class names that look like this: "classname classname"

2007-11-22 Thread jenni
Hey Karl. That code just sets the element class attribute to empty: from this: to this Thanks. Try $(".video").toggleClass("video active"); Karl Rudd On Nov 22, 2007 10:23 AM, <[EMAIL PROTECTED]> wrote: > > The problem with the code below is that it modifies the tag to look like > thi

[jQuery] jQ UI: sortable and draggable...

2007-11-22 Thread Guy Fraser
Hi, I'm struggling to mix the effects of sortable and draggable... I have two divs, each containing items that I want to be both draggable and sortable. Pseudo code: foo bar moo chimp fish marmoset I want to configure it so that if I drag an item within it's containing

[jQuery] Superfish Flash Content Over Menu (Only In Linux)

2007-11-22 Thread [EMAIL PROTECTED]
Hi, I can't make some flash content appear under the superfish menu although it does work well when under MS Windows using FF and IE6. I have configured all the known options to make this work ie: I'm using Firefox 2.0 and Flash v9. Any suggestions will be appreciated. Thanks Manuel

[jQuery] Superfish Image menus

2007-11-22 Thread [EMAIL PROTECTED]
Hello, I'm trying to build a Superfish where the menu items are images with two states. I managed to play with the background-image attribute of the ".nav li" and ".nav li:hover" elements but that applies to all the menu elements background. I need each element to have its own background. I trie

[jQuery] Re: disabling jQuery in older browsers

2007-11-22 Thread Guy Fraser
If it's purely older versions of IE where you want to disable it, use a conditional comment around a script block. matisse wrote: > hi all, > > > because of the code and stylesheets complexity, I have to disable > javaScript entirely in IE 5.5< . > I have a few js files with $(document).ready(fu

[jQuery] Re: .css() doesn't seem to work when I add the transitional DTD to my index page?

2007-11-22 Thread Mark Lacas
Nevermind, The browser just doesn't let bad syntax work. Note, I left off the px extension on posx and posy and that was what was making it fail. Now back to your regularly scheduled program. ml On Nov 21, 10:14 am, Mark Lacas <[EMAIL PROTECTED]> wrote: > I'm having a weird problem. . . > > W

[jQuery] Re: using thickbox with jquery live

2007-11-22 Thread alexanmtz
I made the same thing, but Im having trouble... Im having a lot of requests per time... On Nov 7, 11:59 am, tlphipps <[EMAIL PROTECTED]> wrote: > I did that very thing be modifying the tb_init() function in > thickbox. Here is my modified version that uses livequery. > > function tb_init(domChun

[jQuery] Re: Edit database rows

2007-11-22 Thread Luciano G. Panaro
I don't know the details of configuration, but that plugin includes in its features list: * Inline row edit. I guess it explains in http://creamarketing.net/Products/jqGridView/tabid/56/Default.aspx the steps needed to make the ajax call when editing a row. On 22 nov, 07:06, "Kaare Rasmussen" <

[jQuery] Re: Off-line documentation

2007-11-22 Thread TunaSandwich
So what I'm understanding is that there is no official jQuery documentation that we can download for offline reading and development? I searched this area and that's all I've found so far. Some of it is old. Is there a better solution? I mean, I'm about to take the bus for 45m and I'd like to us

[jQuery] looking for a event calendar.

2007-11-22 Thread MiguelGnomoNet
I´m looking a for a event calendar with jQuery technology. my actual solution is to configure a JSON array of events, and pass it to YUI.calendar. I´m using YUI calendar., and i´t works great, but wanna migrate all my jScript to jQuery. the idea is to have an inline calendar in wich i could 'ma

[jQuery] Selectors tr and img

2007-11-22 Thread Toccamonium
Hi, I'm using this code to add alternating table rows: $('.content_table tr:odd').addClass('odd'); $('.content_table tr:even').addClass('even'); Now I have some cells with images includes: Here I want to have another class added. Now I tried to get all the where an image is contained. U

[jQuery] continus scroll - news ticker - div scroller

2007-11-22 Thread MiguelGnomoNet
Hi all. i´m Miguelito ( newbe in jQuery from Spain) I have to do a continuos scroll function to a div with html structure like this: div-class listaScroll) ul li li li li /ul /div each li has html inside ( news to scroll) it works, but surelly you can hep me with some 'bugs' 1.- Rest-of-the-pag

[jQuery] jQuery in Ottawa

2007-11-22 Thread TunaSandwich
Are there any jQuery people in Ottawa, Montreal, Kingston or the surrounding area? Ontario that is.

[jQuery] Re: A few jQuery Patterns

2007-11-22 Thread TunaSandwich
Thanks! I have made a bit of progress with: Expando-Show Scroll'm-Rollem Once I have them operational, I'd be glad to share them. It amazes me how little code is involved with this stuff. I wonder if there's any wisdom in plugginizing them. Darcy On Nov 21, 4:02 pm, polyrhythmic <[EMAIL P

[jQuery] clueTip: opening one tip closes another tip

2007-11-22 Thread PJ
Hello I'm pretty sure I am missing atrick here - but just in case... I have the following collection of images/buttons that display a sticky clueTip when clicked: $('a.warn').cluetip({ activation: 'click', width: 180, 'sticky': true,

[jQuery] GreaseMonkey with native jQuery

2007-11-22 Thread Catch22
Folks, I have created an enhanced greasemonkey extension based on the latest greasemonkey extension which loads the latest jquery into the runtime of all user scripts. User scripts need not do anything different, just start using jquery. You can find my enhancement here: http://monkey.coolspacer

[jQuery] Re: does anyone have a latest document PDF

2007-11-22 Thread TunaSandwich
Funny, this is exactly what I'm looking at right now. I just searched this discussion forum and all I can find are downloads that are old and unofficial. So I guess there's no official documentation download? On Nov 21, 10:18 pm, Fayland Lam <[EMAIL PROTECTED]> wrote: > I searched with Google b

[jQuery] Re: Accordion Bug?

2007-11-22 Thread Jason Cartwright
Nice one Jörn, works a treat. J On 21/11/2007, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > > Jason Cartwright schrieb: > > Hi all, > > > > I think I've found a bug with the accordion [1] component. $ > > ().activate(false) [2] doesn't seem to remove the "selectedClass" > > class from the header

[jQuery] Re: Again on tablesorter and row hovering

2007-11-22 Thread drvillo
Thanks a lot, actually while I was waiting for the message to be accepted I had finally found the solution:) Next time I'll wait some before posting. cheers Francesco On Nov 22, 10:23 am, Suni <[EMAIL PROTECTED]> wrote: > You can add the "!important" rule modifier to your css for the "hover" > c

[jQuery] disabling jQuery in older browsers

2007-11-22 Thread matisse
hi all, because of the code and stylesheets complexity, I have to disable javaScript entirely in IE 5.5< . I have a few js files with $(document).ready(function() in them. my current solution is to put the following lines right in the begining of the function: // IE 5.5 and lesser aren'

[jQuery] Help with jquery.autocomplete and extraParams

2007-11-22 Thread Shawn
I'm using the autocomplete plugin found at http://www.dyve.net/jquery/?autocomplete. I'm trying to set a second parameter to be passed to my serverside code, and am getting odd behavior. I'm stumped on this one. Here's the offending code: $("#dialogTMLeader").autocomplete( "employee_autoc

[jQuery] remove tr

2007-11-22 Thread rayfidelity
Hi, I have a cloned row(s) and a function to remove selected cloned row function remove_row(){ $('a.remove').click(function(){ $(this).parents("tr").remove(); }); } the problem is that i have to click twice on the link before anything happens (deletes row) and i

[jQuery] fadeout a div after a few seconds

2007-11-22 Thread guix69
Hello all ! I have a DIV which I update after an ajax form submit (form plugin). This DIV is filled with a message like "Your details have been saved". I would like to fade out the text in this DIV after a few seconds. How can I do that ? Thanks ! G.

[jQuery] Re: How to concatenate all the OPTIONs of a SELECT to a text field ?

2007-11-22 Thread guix69
Great ! Thanks !:D

[jQuery] IE: load()-related memory leak?

2007-11-22 Thread Sagari
Greetings, I am using jQuery in AJAX-based Web-application that uses load() to update contents of (a part of) a Web page, through sequences like $("#pagepart").empty(); $("#pagepart").load(url, {}, afterload); The problem is that in IE a strange problem was detected: every time the above sequen

[jQuery] Re: Rounded corners-canvas and ie6

2007-11-22 Thread caruso_g
@Marco - Examples on the developer page simply don't use nested divs with different backgrounds, so, the bug, is not visible. I hope the plugin dev can help us. On 21 Nov, 23:31, marco <[EMAIL PROTECTED]> wrote: > Yes, I ran into the same issue myself. I have not found a solution for > this mysel

[jQuery] Again on tablesorter and row hovering

2007-11-22 Thread Francesco Vivoli
Hi all I've changed a table to use tablesorter (+ its pager) instead of server side sorting+paging, so far so good. The last bit that is missing to make it fully functional is the classic "hovering highlights" effect. I've been reading here and there and I've found no precooked solution, nor I h

[jQuery] Re: Rounded corners-canvas and ie6

2007-11-22 Thread caruso_g
HI, the effect is been achieved by inserting the bordered div into a div with bottom rounded border too, contained itself into a bottom rounded div with a double margin relatively to inner ones, so that it Seems a white 10 px border. The trick is in the second container, it lets me not to show its

[jQuery] Re: Superfish IE7 Error

2007-11-22 Thread jrd
Oh, haha. And I was trying to be all cool by deleting the changelog. Thanks for the headsup. Jennifer On Nov 21, 10:22 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Jenny, > > It looks like you deleted the change log from the Superfish JS file > (which is good) but left the remaining comment

[jQuery] Simple payment calculator/form

2007-11-22 Thread nimbuz
Hi, Although I've used jQuery for corners, equal columns etcs but I've no clue about this one, a simple payment calculator/form: Cash/Check/Money Order (Payment Dropdown) [amount] (text field for inserting an amount) [+] (plus button) Total: [Total amount] Plus button display another Payment

[jQuery] Re: jQuery.Rule 0.9

2007-11-22 Thread Guy Fraser
Flesler wrote: > The plugin is meant to work well in IE6 and FF2, Windows, that's what > I tested on. CSS rules are quite buggy among browsers, so I don't > think it will survive in most untested environments. > Example: http://www.freewebs.com/flesler/jQuery.Rule/ > I did some testing on Windo

[jQuery] Re: .eq(variable) causing problem

2007-11-22 Thread Karl Swedberg
Hi there, I'm not sure, but it could be that the .eq() method is expecting an integer only. Have you tried it this way instead? $("#"+menu+" .itemMenu li:eq("+item1+")").addClass("highlight"); that should do t he trick. --Karl _ Karl Swedberg www.englishrules.com www.lear

[jQuery] Re: AJAX Security

2007-11-22 Thread Fabien Meghazi
> In non AJAX apps, automatic checking can be prevented using Captcha in > the registration page. As you could do with an AJAX application, I don't understand what would prevent you to do so. What main difference do you see between a GET or POST made by the browser when submitting a plain old for

[jQuery] Re: Edit database rows

2007-11-22 Thread Kaare Rasmussen
Hi Luciano, Not sure what you're telling me. I will fetch the rows with Perl in my backend and send it to a page. Will jqGridViewcould make Ajax calls when updating? Actually you will need something in the middle, that is, an exposed page (PHP, ASP, whatever) that would act as a proxy of y

[jQuery] Re: Storing last clicked to check against in future function calls.

2007-11-22 Thread Wizzud
Right. All your anchors have href's - do these go anywhere? If they do (and they're not just bookmarks) then what's the point of showing/hiding anything? If they don't then why are they there? Reason for asking is that unless you really, really want or need those anchors you could simplify your

[jQuery] Re: Storing last clicked to check against in future function calls.

2007-11-22 Thread Suni
There is no need to store that stuff in a variable. Try this: When an a-element (whichever) is clicked: 1) Check if it was open. If yes, close it 2) if it was not open, close all it's siblings and open it Here (tested) with using some css styles to do the hiding: CSS: #control li ul {

[jQuery] Re: Again on tablesorter and row hovering

2007-11-22 Thread Suni
You can add the "!important" rule modifier to your css for the "hover" class so that it precedes tablesorter's css: td.hover { background-color: #0F0 !important; } Hope that helps. -- Suni

[jQuery] Re: .eq(variable) causing problem

2007-11-22 Thread Suni
Do you have a sample page where this problem shows up? It would make debugging a lot easier. There must be some other problem at work here. Using a variable as the parameter should not matter, jQuery doesn't even know where the value comes from (from a var or hardcoded). -- Suni On 22 marras, 03