[jQuery] keypress event using $(this)

2008-08-27 Thread hubbs
I have a simple keypress event that throws an alert when you press "a" or "s". Is it possible to bind this event to specific elements, so that it is not a global keypress, but only fired if the test link is first clicked. Then, $(this) would be used to get attributes of the clicked element if ne

[jQuery] Re: missing ; before statement

2008-08-27 Thread Michael Geary
Go here and download Komodo Edit: http://www.activestate.com/Products/komodo_edit/ Open your JavaScript source file in Komodo and rest the mouse over the line of code with the red squiggly underline, or click the "document icon with a red circle and white exclamation point" at the bottom of the

[jQuery] Re: File Upload

2008-08-27 Thread Karl Rudd
The file input doesn't style very well, at least on all browser. Have a look here: http://www.quirksmode.org/dom/inputfile.html You can kind of "fake it", that is you hide the actual input and do some tricks with JavaScript. There's a jQuery plugin that does this by the looks of it: http://

[jQuery] Re: missing ; before statement

2008-08-27 Thread mohsin
missing ; before statement HTTP/1.1 200 OK\n this is the complete error i m getting on line 65

[jQuery] Re: missing ; before statement

2008-08-27 Thread mohsin
var listing_update = this_domain_mybayut+"/includes/sub/ updatelistings.php"; $(".view_detail").livequery(function(event) { /*$(this).mousemove(function() { return overlib('View Property Detail',WIDTH,150,CENTER); }); $(this).mouseout(function()

[jQuery] Re: File Upload

2008-08-27 Thread rudy ub
I've seen it on ExtJS FileUploadField example: http://extjs.com/deploy/dev/examples/form/file-upload.html On Thu, Aug 28, 2008 at 8:46 AM, shapper <[EMAIL PROTECTED]> wrote: > > Hi, > > Does anyone knows how to style and input of type file with JQuery? > > I want to use an image as the button or

[jQuery] dumb form button element question

2008-08-27 Thread Maarten
with .child I know I can get the number of children of a certain element, but if i have something like this is there a way to know when i click on either one, that I clicked on child 1 of 2 or 2 of 2?

[jQuery] Re: Can anyone explain the jitter in my website using the "slide" effect?

2008-08-27 Thread hareesh
On Aug 28, 6:58 am, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Don't apologize for asking people to click on your link - that's the best > (only!) way to see the problem. > > The jittering below the details box is being caused because the > #compmusfinal box is changing in height. Click the sa

[jQuery] Re: Can anyone explain the jitter in my website using the "slide" effect?

2008-08-27 Thread Michael Geary
Don't apologize for asking people to click on your link - that's the best (only!) way to see the problem. The jittering below the details box is being caused because the #compmusfinal box is changing in height. Click the same song over and over again and watch the bottom of the box. If you open F

[jQuery] Re: Does JQuery Handle to Window

2008-08-27 Thread Mike Alsup
> Lets says if i open a  browser window using File -> New -> Window. > I am wondering if Jquery creates a handle or reference to the browser > window and stores it in Jquery Object. > This kind of information will be very helpful to detect if browser has > multiple windows opened. > Please let me

[jQuery] File Upload

2008-08-27 Thread shapper
Hi, Does anyone knows how to style and input of type file with JQuery? I want to use an image as the button or maybe a simple normal input styled with CSS. I also want to style the input where the path is ... I want it to have a grey background and no border. Any idea of how to accomplish this?

[jQuery] Re: missing ; before statement

2008-08-27 Thread Mike Alsup
> No one can help you with this, because you haven't shown us the code in > question. What? Is that a challenge? I bet mohsin's code is missing a brace somewhere. :-)

[jQuery] Re: missing ; before statement

2008-08-27 Thread Michael Geary
No one can help you with this, because you haven't shown us the code in question. Post a link to a test page that has the error, and then someone can help you. Or, at the very least, post the code in a message. Otherwise, I'd have to say... You probably have some missing semicolons! :-) -Mike

[jQuery] Re: SimpleModal for lead generation

2008-08-27 Thread Eric Martin
Seth, Are you just looking for advice on how to do it or are you having a problem/issue? On Aug 27, 9:21 am, Seth - TA <[EMAIL PROTECTED]> wrote: > Hi there > > I am attempting to create a modal which will ask for an email address > when a user attempts to download a document. The basic function

[jQuery] Re: missing ; before statement

2008-08-27 Thread Karl Swedberg
Hmm. I'm surprised that you're seeing this as an error. Are you sure it isn't just a warning? Where is it being reported? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 27, 2008, at 12:58 PM, mohsin wrote: I am get error missing ; before statement o

[jQuery] Re: Selecting text nodes

2008-08-27 Thread moester
May want to look at Ariel Flesler's Translator: http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html I used it to write a simple incrementor for numerals within a selected set. jQuery.fn.incr = function(amount, fn) { amount = typeof amount == 'undefined' ? 1 : Number(am

[jQuery] Re: Selecting text nodes

2008-08-27 Thread moester
May want to look at Ariel Flesler's Translator: http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html I used it to write a simple incrementor for numerals within a selected set. jQuery.fn.incr = function(amount, fn) { amount = typeof amount == 'undefined' ? 1 : Number(am

[jQuery] Does JQuery Handle to Window

2008-08-27 Thread bansi
Lets says if i open a browser window using File -> New -> Window. I am wondering if Jquery creates a handle or reference to the browser window and stores it in Jquery Object. This kind of information will be very helpful to detect if browser has multiple windows opened. Please let me know if its

[jQuery] Re: Validate remote method don't work

2008-08-27 Thread adrianrz
Hi Jörn, Very very thanks for your advice. The problem was in the name of GET parameter on the remote script $request = trim(strtolower($_REQUEST[codigo])); $_REQUEST[codigo] instead $_REQUEST[value] This problem was because in the Milk example (server side script) is bad explained. Best

[jQuery] Re: Binding Click & Double Click on the same object ?

2008-08-27 Thread Karl Rudd
You can't stop the click from firing before the double-click. Usually elements that respond to double-click either don't respond to click at all, or click puts them in a "selected" state (think of clicking on a file in the Explorer/Finder). Karl Rudd On Thu, Aug 28, 2008 at 5:36 AM, Liam Byrne <

[jQuery] Re: change event without losing focus

2008-08-27 Thread Karl Rudd
Unfortunately, as you've discovered, the "change" usually event only fires when a field loses focus. I suggest, to catch changes as quickly as possible, you do something like the following: function doSomethingOnChange() { // do something }; $(':text').bind('keyup change paste cut', doSomethin

[jQuery] change event without losing focus

2008-08-27 Thread edpeur
Hi, I want to have a simple event that notifies me whenever some gets changed its content. But I can not use change() because it only fires when the input changes and the input loses focus. The event I would like would be an mixture of keydown, keypress, paste, ... events. Do you guys know an e

[jQuery] Why do a recursion while window unload?

2008-08-27 Thread Sutra Zhou
Another question, in jquery.js(include version 1.2.3, 1.2.6 etc.) why add this code: 1. // Prevent memory leaks in IE 2. // And prevent errors on refresh with events like mouseover in other browsers 3. // Window isn't included so as not to unbind existing unload events 4. jQue

[jQuery] Re: Auto populate form input field based on another

2008-08-27 Thread Mattl
Hi Jorn, I now have the following based on your suggestion to populate the second input field: $(document).ready(function(){ $("#lotno1").autocomplete("../js/autocomplete.php?SaleNo=102", { matchContains: true, mustMatch: true,

[jQuery] Using cluetip in local mode; how to wait until element has content?

2008-08-27 Thread sprak
Greetings; here is what I am trying to accomplish. On my page, I have a hidden div; when I mouse over a link elsewhere on the page, I want to populate that hidden div with other data from the page to build the tip to display. Once that div is updated, then I want to cluetip to do its magic and d

[jQuery] Dan Switzer's Autocomplete plugin - can I do this...

2008-08-27 Thread Andy Matthews
I'm using Dan's autocomplete plugin in an app and it's working great. I just have one question. I'm loading in all options (around 5-10) into an array when the page loads. I'd like to trigger the list selection screen when the user clicks into the text field. Is this possible? So if I've got the

[jQuery] Re: "inserting file in file" using cluetips

2008-08-27 Thread André
On Aug 27, 5:23 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi André, > > There are a couple ways I can think of to do #1. I've whipped up a   > couple demos to show you: > > http://plugins.learningjquery.com/cluetip/demo/multi-ajax.htmlhttp://plugins.learningjquery.com/cluetip/demo/multi-aja

[jQuery] Re: Validate remote method don't work

2008-08-27 Thread Jörn Zaefferer
Can you check if a request is made and what the response is via Firebug? In any case, a testpage would help a lot. Jörn On Wed, Aug 27, 2008 at 9:56 PM, adrianrz <[EMAIL PROTECTED]> wrote: > > Hi, > > I've try to use remote method and not work. > > > There are the parameters > > > > $(document

[jQuery] Re: Should not trim the values in jquery validation

2008-08-27 Thread Jörn Zaefferer
Thanks for pointing this out so clearly. Its now fixed in the latest revision: http://dev.jquery.com/changeset/5841 The first parameter is now the untrimmed value, so methods that relied on the trimmed value are now more correct. The required method now does the necessary trimming. Jörn On Wed, A

[jQuery] Re: "inserting file in file" using cluetips

2008-08-27 Thread Karl Swedberg
Hi André, There are a couple ways I can think of to do #1. I've whipped up a couple demos to show you: http://plugins.learningjquery.com/cluetip/demo/multi-ajax.html http://plugins.learningjquery.com/cluetip/demo/multi-ajax2.html Just view source to see how they're done. The second one is s

[jQuery] Validate remote method don't work

2008-08-27 Thread adrianrz
Hi, I've try to use remote method and not work. There are the parameters $(document).ready(function(){ var validator = $("#formcode").validate({ rules: { codigo: { required: true, minlength: 3, remote: "valcodigo.php"

[jQuery] Re: ajax IE error - only loads parts of the response

2008-08-27 Thread pedalpete
HOLY FRUSTRATING!!! Turns out this was an error being that i had an extra div in the output! rrrggghh.. well, that was the first problem anyway, i suspect the second problem is similar. Thanks for the help, Pete On Aug 26, 8:31 pm, pedalpete <[EMAIL PROTECTED]> wrote: > Hey Gang, > > I've g

[jQuery] Re: Superfish loading problem

2008-08-27 Thread glowens
I figured out the problem. Well, most of it. 1st I needed to use jQuery.noConflict to get around the $ issue. The code is var $jQ = jQuery.noConflict(); var $jQ = jQuery; $jQ(document).ready(function(){ $jQ("ul.sf-menu").superfish({

[jQuery] Validate remote method not work

2008-08-27 Thread adrianrz
Hi, I've try to use remote method and not work. I donwload the complete Milk example and it don't work too. This is the parameters $(document).ready(function(){ var validator = $("#form1").validate({ rules: { codigo: { required: true,

[jQuery] Re: Can anyone explain the jitter in my website using the "slide" effect?

2008-08-27 Thread Eric
I appreciate the help, but that doesn't actually address my problem. I'm not trying to be rude, but you'll have to look at my actual website to see the problem (http://www.freewebs.com/edauenhauer). I'm sorry if that is a lot of trouble, but I don't know how to explain my problem better than actu

[jQuery] Targeting hidden elements kills each() process

2008-08-27 Thread Po Cheng
Hi, General: I'm trying to access several elements on the page, some hidden, some not. When I try to call methods on these objects using each(), the process dies because of the hidden elements. Specific: I'm trying to target several flash audio buttons within a "playTone" div to tell them all

[jQuery] Binding Click & Double Click on the same object ?

2008-08-27 Thread Liam Byrne
Hi folks I did this before and can't remember how. If click and double-click are both bound to the same object, how can I stop the "click" from firing during "double-click" ? Thanks, Liam

[jQuery] jQuery slideshow

2008-08-27 Thread admi99
I'd like to do slideshow by myself but I've met some problems. This example is quite simplified: var pos= 0; slide = function(){ currImg[pos].fadeOut("slow", function(){ curImg[pos+1].fadeIn("slow", slide() ); } pos = pos + 1; ); } It's wrong example because of recursion. How can it be made?

[jQuery] Re: Accessing JQuery from frames

2008-08-27 Thread Bob Gregg
Wow... nothing... Is anyone using JQuery with a regular old-fashioned frameset and frames? On Aug 25, 2:56 pm, Bob Gregg <[EMAIL PROTECTED]> wrote: > My apologies if this has been asked before; but in searching I can't > see that anyone asked quite the same thing in the past.  I have a frame-bas

[jQuery] Re: equivalent to prototype's invoke?

2008-08-27 Thread riegersn
Ah, that makes sense. Thats my fault for not reading the docs thoroughly. Thanks!

[jQuery] Front page link to google stored code

2008-08-27 Thread Zoram
With the code being stored on Google ( http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery ) would it not be beneficial to have that information shown next to the download area so people know that they can link to the version on google's servers. The only time I can think when you

[jQuery] Re: equivalent to prototype's invoke?

2008-08-27 Thread Josh Nathanson
You need to do this: $("#div1, #div2").hide(); Both selectors go inside the quotes. Otherwise, you are passing 2 arguments to jquery, and the second argument sets the context for the selector search. -- Josh - Original Message - From: "riegersn" <[EMAIL PROTECTED]> To: "jQuery (

[jQuery] equivalent to prototype's invoke?

2008-08-27 Thread riegersn
I recently made the switch to jQuery and i'm happy I did so far. However I'm missing my trusty invoke method from prototype. invoke: $('div1', 'div2').invoke('hide'); this is how im doing it now... $.each(['#div1', '#div2'], function(i, s){ $(s).show() }); I tried $('#div1', '#div2').hide(); th

[jQuery] Re: ajax IE error - only loads parts of the response

2008-08-27 Thread pedalpete
sorry, posted by accident. For some reason, the above code only returns popList in both holdBands and popList. I think using json adds a level of complexity that isn't neccesary, as the alert shows the IE can find the string, but doesn't display that string. I assume that json would convert the

[jQuery] Re: Help with jQuery Cycle Plugin Transitions

2008-08-27 Thread Mike Alsup
> Hi Mike, > > Thanks for your reply... OK, I now am using "jQuery Cycle Plugin with > all transitions - > uncompressed"http://www.malsup.com/jquery/cycle/jquery.cycle.all.js?v2.25 > and now can't seem to achieve even the fade!? > > Where in the js file do I define, say, scrollDown?  I've tried i

[jQuery] Re: full blown news ticker

2008-08-27 Thread Ariel Flesler
The @see comment ? That's on purpose, read the description :) -- Ariel Flesler http://flesler.blogspot.com On Aug 27, 1:15 pm, Almir Karic <[EMAIL PROTECTED]> wrote: > i acutally was already on that page, but was to dumb to realize that > it does almost everything i'm looking for. together with

[jQuery] Re: Hiding other divs when I show one

2008-08-27 Thread illtron
Another update: I've got it all working. Can you help me optimize the code? I have to imagine that what I wrote isn't the best jQuery in the world. You can see it here: http://oldhomeweek.info/dropbox/jquerytest.html On Aug 27, 9:54 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Do you have a

[jQuery] Re: Selecting 'this''s parent

2008-08-27 Thread Mike Alsup
> I am fairly new to jQuery so excuse me if this is a somewhat dumb > question. I have a click function applied to all my links with the > class "delete". How do I select the parent div of this link? I have > tried the code below with no success. Thank you. > > > Hide my parent div > > > > > $(

[jQuery] Re: ajax IE error - only loads parts of the response

2008-08-27 Thread pedalpete
I haven't tried using JSON, but I did try manipulating the response directly using jquery with [code] success: function(response){ var popList = $(response +' .thisPopList').html(); var showsList = $(response+' .thisShowList').

[jQuery] Re: Help with jQuery Cycle Plugin Transitions

2008-08-27 Thread NYJC102
Hi Mike, Thanks for your reply... OK, I now am using "jQuery Cycle Plugin with all transitions - uncompressed" http://www.malsup.com/jquery/cycle/jquery.cycle.all.js?v2.25 and now can't seem to achieve even the fade!? Where in the js file do I define, say, scrollDown? I've tried in the default

[jQuery] Selecting 'this''s parent

2008-08-27 Thread Kyle Decot
I am fairly new to jQuery so excuse me if this is a somewhat dumb question. I have a click function applied to all my links with the class "delete". How do I select the parent div of this link? I have tried the code below with no success. Thank you. Hide my parent div $(".delete").click(fun

[jQuery] missing ; before statement

2008-08-27 Thread mohsin
I am get error missing ; before statement on different lines of jquery code. I provided all necessary ; (semi colon) but still getting error. Can anyone help me in resolving this problem as it is really headache for me

[jQuery] Events

2008-08-27 Thread alex.cheshev
Hello. Can I do these steps using jQuery: 1) store old events of elements; 2) bind new events to the elements; 3) remove the new events; 4) restore the old events. I have a drop down menu. I want to hide it when a user clickes anywhere else.

[jQuery] Re: autocomplete -- elegant way to manipulate results?

2008-08-27 Thread Franz See
I am getting the same problem as well. I used formatResult to format the data being placed in my input but my result callback is still getting the unformatted data as its 3rd parameter. Any ideas why? Thanks, Franz On Aug 15, 2:32 am, Professor B <[EMAIL PROTECTED]> wrote: > Thanks again, gent

[jQuery] Re: Turn off elements depending on current URL

2008-08-27 Thread MauiMan2
Thanks. It seems to be working now.

[jQuery] Superfish loading problem

2008-08-27 Thread glowens
I am running Superfish with Smarty templating engine but there appears to be a conflict with jquery and smarty I call Superfish using the basic code below but it will not work $(document).ready(function(){ $("ul.sf-menu").superfish({ pathClass: 'current' });

[jQuery] Re: Hiding other divs when I show one

2008-08-27 Thread illtron
I updated my script slightly to include the fade in/out, but still no progress on the bigger problem of hiding other forms when clicking inside of a new searchpanel. On Aug 27, 11:29 am, illtron <[EMAIL PROTECTED]> wrote: > Here you go. This example functions how I initially described it. > > htt

[jQuery] Re: full blown news ticker

2008-08-27 Thread Almir Karic
i acutally was already on that page, but was to dumb to realize that it does almost everything i'm looking for. together with your answer to Quadblade's question it does exactly what i want, thank you. btw, small bug in http://demos.flesler.com/jquery/serialScroll/js/init.js , it links to http://

[jQuery] Re: Jquery Problem in IE 6

2008-08-27 Thread Kusmayadi
I have the same problem too ... I use jQuery 1.2.6. This script doesn't work on IE 6: $(document).ready(function() { $.ajax({ type: "POST", url: "someurl.php", dataType: "html",

[jQuery] SimpleModal for lead generation

2008-08-27 Thread Seth - TA
Hi there I am attempting to create a modal which will ask for an email address when a user attempts to download a document. The basic functionality is to capture a click, send document src (so redirecting from the modal can be done), send email address to remote page for processing, detect for er

[jQuery] FF3 Error With Preloaded CSS Images -- Works in IE?!!

2008-08-27 Thread Joe
Okay, so I built a site using jQuery as my preferred JavaScript library (of course). However, I'm getting the strangest error in FF2/3 for a preLoadedCSSImages plugin. It works fine in IE 6/7. FTW?! Here's the site: http://www.headacheandpain.com Now, I will say, this site is hosted on a sha

[jQuery] Re: Changing the width of a superfish vertical menu

2008-08-27 Thread Joel Birch
That should have read "where px or percentages..."

[jQuery] Re: Changing the width of a superfish vertical menu

2008-08-27 Thread Joel Birch
You can use whatever units you prefer. I prefer ems where possible but can imagine situations where of or percentages would be preferable, eg. to fit a fixed width sidebar. Joel Birch. On 28/08/2008, Shloime <[EMAIL PROTECTED]> wrote: > > Thanks so much. Does the width need to be in em or can c

[jQuery] Re: Temporarily disabling events?

2008-08-27 Thread Ariel Flesler
I used the disabled approach once. Another option is a global variable, sort of a semaphore/mutex. All the bound function first check: if( disabledEvents ) return false; Another option is using event delegation. If you bind only one function, you can easily unbind/rebind it, OR bind another func

[jQuery] Re: Hiding other divs when I show one

2008-08-27 Thread illtron
Here you go. This example functions how I initially described it. http://oldhomeweek.info/dropbox/jquerytest.html On Aug 27, 9:54 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Do you have a link you can provide? Something online? > > > > -Original Message- > From: jquery-en@googlegrou

[jQuery] Re: slide()/show()/hide() does not expand across columns

2008-08-27 Thread J Junos
ah, thanks for the info. I tried to implement this with fade, it doesn't look that great in IE unfortunately (simply looks like the regular toggle truth be told). As well, there was no fadeToggle function unfortunately, but it was a trivial addition: fadeToggle: function( speed, callback ) {

[jQuery] data cache and tag attributes

2008-08-27 Thread Paul Carey
Hi I've been setting arbitrary attributes on my html tags, and using jQuery to make AJAX requests based on their values. These has worked well so far as writing out arbitrary attributes from the backend is trivial. But I'm about to start using per element attributes more intensively, and now I'm

[jQuery] Re: Doc's site down?

2008-08-27 Thread [EMAIL PROTECTED]
The docs site is excruciatingly slow again for me today. I have come to rely heavily on jQuery and use the docs site almost daily. On days like this when it is slow I wish for an up to date mirror. There are alternatives, but AFAIK they are not the most current. I am confident the docs site be

[jQuery] Re: Changing the width of a superfish vertical menu

2008-08-27 Thread Shloime
Thanks so much. Does the width need to be in em or can can I use any other units, like px? On Aug 27, 7:47 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Shloime, > > Simply change the ul element's width property within the CSS. Here is > a link to the CSS which, when added to the base Superfis

[jQuery] Re: callback executed before effect ended

2008-08-27 Thread Paul Carey
> problem is that next element appears while current element is still > fading out, any idea what i'm doing wrong? Maybe you could add "display:none; " to the "current" css class. Paul

[jQuery] Re: Hiding other divs when I show one

2008-08-27 Thread illtron
Nothing publicly visible at the moment, but I'll get an example up on another server shortly. On Aug 27, 9:54 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Do you have a link you can provide? Something online? > > > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL

[jQuery] callback executed before effect ended

2008-08-27 Thread Aljosa Mohorovic
i'm trying to fadeIn element after first element fadeOut. i have this in $(document).ready: - $("a.link").click( function() { current = $(".link.current"); id = $(this).attr('rel'); next = $("#link_"+id); next.addClass('cu

[jQuery] Re: $(div.tabs > div.containers) in Safari 3

2008-08-27 Thread MorningZ
That line has nothing to do with the error, because putting an alert right after the selector results in "[object Object]", which is what is expected anyways, good practice is that if you are going to show/hide stuff on page generation, then do it with CSS, that way there's no need to have jQuery

[jQuery] IE and safari bug with jquery.each and $.ajax

2008-08-27 Thread [EMAIL PROTECTED]
I think I've found a bug in jquery in IE7 and safari, seems fine in FF3. Try running this code in IE7. The alerted index comes out randomly incremented. $(function() { var dataItem = $('li'); $(dataItem).each(function(i,item){ $.ajax({ url: '/ajax'

[jQuery] jqModal and div

2008-08-27 Thread Tony
http://dadoodesign.com/jqDemo/ IE6 ISSUE** As you can see when the button is pushed, the modal pushes the div down? Tried playing with the Z index but that didn't seem to solve the issue. Not worried about placement of buttons or other css attributes right now. Just trying to resolve gap that's

[jQuery] Re: Get heights of multiple divs

2008-08-27 Thread Steven Black
In addition to what MorningZ has said, see the vjustify plugin: http://michael.futreal.com/jquery/vjustify The nugget there is to use the offsetHeight property, which factors-in margins, padding, etc. **--** Steve On Aug 27, 7:25 am, james_fairhurst <[EMAIL PROTECTED]> wrote: > Hoepfully a qu

[jQuery] Re: Get heights of multiple divs

2008-08-27 Thread james_fairhurst
Bah I'm such a tool, thanks the reply, its one of those days! J On Aug 27, 2:16 pm, MorningZ <[EMAIL PROTECTED]> wrote: > Right from the Docshttp://docs.jquery.com/Core/each > > "This means that every time the passed-in function is executed (which > is once for every element matched) the 'this'

[jQuery] Temporarily disabling events?

2008-08-27 Thread Keith Hughitt
Hi all, I was wondering if anyone had any suggestions as to a method to temporarily disable/prevent certain events from firing once one event is fired? E.g. when pressing one button, I want to disable all other button presses until an animation has finished. One idea is to temporarily add some c

[jQuery] Re: Can anyone explain the jitter in my website using the "slide" effect?

2008-08-27 Thread Steven Black
Remy Sharp's explanation may serve you well; It's all about padding. http://jqueryfordesigners.com/animation-jump-quick-tip/ Animation Jump - quick tip **--** Steve On Aug 27, 1:31 am, Eric <[EMAIL PROTECTED]> wrote: > I am building a website and using the "slide" effect to transition > obj

[jQuery] "inserting file in file" using cluetips

2008-08-27 Thread André
Hi everyone, I've just started using jquery and a few plugins including cluetips: they are wonderful! :-) Now, my question. I am using cluetips to display the content of a short help file on some elements. Many elements are such that their help file differ only slightly. What I would like to

[jQuery] Re: Hiding other divs when I show one

2008-08-27 Thread Andy Matthews
Do you have a link you can provide? Something online? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of illtron Sent: Wednesday, August 27, 2008 8:37 AM To: jQuery (English) Subject: [jQuery] Hiding other divs when I show one I'm working on a sc

[jQuery] Hiding other divs when I show one

2008-08-27 Thread illtron
I'm working on a script, and I've got it working about halfway. The page will show a bunch of panels, and clicking a link hides a text div and shows a form. Here's the jQuery. Right now, it toggles the searchform and panel_text divs in the same searchpanel div. I'd like to have it so that when yo

[jQuery] Re: ui.dialog & Accessibility (Screen Readers)

2008-08-27 Thread Richard D. Worth
Thanks for pointing that out. It has been cleaned up. - Richard On Tue, Aug 26, 2008 at 10:36 PM, Guy Fraser <[EMAIL PROTECTED]> wrote: > > Richard D. Worth wrote: > > http://groups.google.com/group/jquery-a11y > > That group could do with deleting the porno spam :s >

[jQuery] Hiding other divs when I show one

2008-08-27 Thread illtron
I'm working on a script, and I've got it working about halfway. The page will show a bunch of panels, and clicking a link hides a text div and shows a form. Here's the jQuery. Right now, it toggles the searchform and panel_text divs in the same searchpanel div. I'd like to have it so that when yo

[jQuery] Re: Get heights of multiple divs

2008-08-27 Thread MorningZ
Right from the Docs http://docs.jquery.com/Core/each "This means that every time the passed-in function is executed (which is once for every element matched) the 'this' keyword points to the specific DOM element" so it should be $('.box').each(function(){ console.log( $(this).height()

[jQuery] Re: Superfish - Evenly spread menu through entire width of ul

2008-08-27 Thread Joel Birch
Actually, sorry Guy, but that is not what Supersubs does. Joel Birch.

[jQuery] Re: Changing the width of a superfish vertical menu

2008-08-27 Thread Joel Birch
Hi Shloime, Simply change the ul element's width property within the CSS. Here is a link to the CSS which, when added to the base Superfish CSS file, creates a vertical-style menu... http://users.tpg.com.au/j_birch/plugins/superfish/css/superfish-vertical.css ...the very first rule contains width

[jQuery] Re: Autocomplete -- creating hyperlinks and getting rid of horizontal scrollbar

2008-08-27 Thread jlb
Regarding your first question, have you tried putting this in your autocomplete stylesheet? overflow-x: hidden; This should suppress the horizontal scrollbar.

[jQuery] Re: ui.dialog & Accessibility (Screen Readers)

2008-08-27 Thread Guy Fraser
Richard D. Worth wrote: > http://groups.google.com/group/jquery-a11y That group could do with deleting the porno spam :s

[jQuery] Re: Superfish - Evenly spread menu through entire width of ul

2008-08-27 Thread Guy Fraser
Ara wrote: > Quick question (hopefully quick). I'm trying to use superfish to > create a nav bar style menu, this all works as advertised, however > I've set the width of the to be 960px, I'd like all the li's to > spread evenly through the entire 960px. > > The default behavior is squished to t

[jQuery] Re: jQuery.data and pre-rendered pages.

2008-08-27 Thread P. Skoog
Ok, Thanks for the answer. On Aug 26, 3:08 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > The problem is that i don't have access to the metadata plugin. > > > So the question is still... is this possible with the built in > > function $.data? > > No, the data function does not extract data from t

[jQuery] Re: jQuery Accordion Library and jQuery Lightbox Plugin Conflict?

2008-08-27 Thread Steven W
That didn't work for me. Now I'm trying to implement lightbox 2 with jQuery accordion library and I still can't them to work together. I replaced every $ with $j and added var $j = jQuery.noConflict() to the top of my accordion js files (like someone suggested in a different forum) but that wa

[jQuery] Need help with a quiz

2008-08-27 Thread Caoimh
Hi, I'm trying to make a quiz (it's only for displaying information for kids). The requirements are as follows: A list of questions (say 10-15). Each question will have a list of checkboxed answer options Some questions require a combination of two or more checkboxes to be checked (this is where

[jQuery] $(div.tabs > div.containers) in Safari 3

2008-08-27 Thread gemmes
Hi, I have been learning Jquery and been following along from a tutorial I found online. I have used the latest jquery file, the tutorial is few months old. The script below does not work in Safari because I used the following selector : $('div.tabs > div.containers') instead of $('div.tabs d

[jQuery] Re: it doesn't work with HTML loaded dynamically

2008-08-27 Thread Willy ROUVRE
thanks a lot Ariel

[jQuery] Changing the width of a superfish vertical menu

2008-08-27 Thread Shloime
Hi, Would anyone know if and how it is possible to change the width of a vertical Superfish menu (the main panel)? Thanks, Shloime

[jQuery] Re: slideToggle not working correclty in i.e.

2008-08-27 Thread [EMAIL PROTECTED]
hi, i found out whats triggering the error. the problem is the pathname provided for the images. firefox is dealing with ../../pathtoimg but i.e. is taking hostname plus path. so the if condition fails at this point. i'll show you my approach to solve this issue as soon as i have a solution O

[jQuery] Set cursor position in textarea/input

2008-08-27 Thread Greeg
i know its of the annoying topics but... im using this function to set cursor position: function setSelectionRangeX(input, selectionStart, selectionEnd) { // IE if (input.createTextRange) { var range = input.createTextRange(); range.collapse(true); range.moveEnd('character

[jQuery] Re: jEditable question

2008-08-27 Thread saf_
I am submitting to a function instead of url. This function makes an ajax request. If server cannot save the edited data or some other error. It will return "ErRoR" in the string. I check if there is "ErRoR" text in the return string I am displaying an message box. Now i want the edit form to be

[jQuery] Changing the width of a superfish vertical menu

2008-08-27 Thread Shloime
Hi, Would anyone know if and how it is possible to change the width of a vertical Superfish menu (the main panel)? Thanks, Shloime

  1   2   >