[jQuery] Re: How to use context and reference it inside a jquery object

2008-09-18 Thread Ariel Barreiro
Right, I kind of figured the missing var out by accident, but thanks a lot for helping out, it's a lot clearer now. I didn't know about that $(this.form) constructor, I'll certainly try that as well. On Fri, Sep 19, 2008 at 12:26 AM, Richard D. Worth <[EMAIL PROTECTED]> wrote: > Ah, you're missi

[jQuery] Toggle Only the below the on click

2008-09-18 Thread [EMAIL PROTECTED]
This is probably a noob question but... I have a bunch of definition lists on a page with the same class so that I can stripe every other in the list. What I want to do is hide the elements and when I click on the toggle the elements to visible. I want this to happen only on the elements in

[jQuery] Re: How to use context and reference it inside a jquery object

2008-09-18 Thread Richard D. Worth
Ah, you're missing the var keyword. Compare your eachForm = $(this); to Dave Methvin's var $form = $(this); That's why you were always getting the last form element. No var keyword means global scope means no closure. - Richard On Thu, Sep 18, 2008 at 9:36 PM, Ariel Barreiro <[EMAIL PROTECTED

[jQuery] Re: Show image gradually

2008-09-18 Thread Richard D. Worth
See the jQuery UI Slide Effect: http://docs.jquery.com/UI/Effects/Slide With effects.core.js and effects.slide.js included, you can do $("img").hide("slide", { direction:"down" }); $("img").show("slide", { direction:"down" }); The files can be downloaded here: http://ui.jquery.com/download_bu

[jQuery] Re: Xpath Plugin: Child Selector Predicate Support [\d+]

2008-09-18 Thread Karl Swedberg
you could use the :eq() selector: http://docs.jquery.com/Selectors/eq#index --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 18, 2008, at 1:42 PM, John Boxall wrote: Hey Jquery hackers: I'm doing some work with the Xpath plugin and I notice it doesn't

[jQuery] Re: How to use context and reference it inside a jquery object

2008-09-18 Thread Dave Methvin
If you want to do something to every form on the page, you don't need a class named form, just select the element. The "this" element in the each is the DOM element, so you can create a jQuery object from that. If you wanted you could use that element in a closure, or remember the an input DOM ele

[jQuery] Re: How to use context and reference it inside a jquery object

2008-09-18 Thread Richard D. Worth
How about a different approach? $(":input").parents("form"); - Richard On Thu, Sep 18, 2008 at 9:36 PM, Ariel Barreiro <[EMAIL PROTECTED]> wrote: > > I have a question, is there a way to reference the context in a way > such as $(this)? > > for example, let say I have this (using general select

[jQuery] Re: Dialog Box Too Small

2008-09-18 Thread Richard D. Worth
The dialog plugin has width and height options: $("#myEl").dialog({ width: 500, height: 730 }); If you want to change either after init, you can do so by $("#myEl").data("width.dialog", 600).data("height.dialog", 700); - Richard On Thu, Sep 18, 2008 at 3:07 PM, Brad M <[EMAIL PROTECTED]> w

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread Karl Swedberg
On Sep 18, 2008, at 8:40 AM, Michael wrote: U! Thatsalot. Weel i guess that answers my questions perfectly. Hope you're getting this fixed. Even nicer would be, if you could tell us, there's a standalone version of the help-system out there. (who's based on 1.2.6) :-) -- micha Ple

[jQuery] Re: Show a Div based on a Dropdown selection

2008-09-18 Thread ripple
I've had to do this exact thing. Do a search on it.   onchange() or change() depends on whether your using javascript or jQuery.   You might not be getting any guidance or help, cause your not showing any attempts other than html.     http://www.2whoa.com/dominate   --- On Thu, 9/18/08, ButtersR

[jQuery] Show a Div based on a Dropdown selection

2008-09-18 Thread ButtersRugby
So I have a dropdown with the 50 states in it. I want to show a div based on the selection. I understand pieces of what to do but not sure how to put it together. Alabama Alaska etc.. This is Alabama

[jQuery] Reset Validation with new rules

2008-09-18 Thread MACE
The problem: I have a form that changes its validation rules based on user input. I have tried: $("#form1").validate({rules:}); $("#form1").unbind("submit"); $("#form1").validate({rules:}); // Doesn't work... His there a better way to this? Can you remove all the rules and add new one

[jQuery] Re: Finding DIVS with similar IDs

2008-09-18 Thread MACE
No problem. Thank you all for all your help... and quickly! On Sep 18, 6:03 am, MorningZ <[EMAIL PROTECTED]> wrote: > yeah, my mistake on my post, shouldn't have had "#" in it

[jQuery] How to use context and reference it inside a jquery object

2008-09-18 Thread Ariel Barreiro
I have a question, is there a way to reference the context in a way such as $(this)? for example, let say I have this (using general selectors) $('.forms').each(function(i) { // I want to iterate over all forms // here $(this) is each form $(':input', $(this)).change(function(){ // Here I

[jQuery] Re: puzzling black hole in $(...).hasClass()?

2008-09-18 Thread Dave Methvin
> the argument to `hasClass` is problematic: it uses selector-syntax and > starts with a dot. this is a mistake that easily results from copy-n- > pasting code. acceptable reactions of jQuery to this would be > responding with something like `null`, `undefined`, or `false`, or > raising an excepti

[jQuery] Re: put image on top of another image

2008-09-18 Thread ricardobeat
It will work, but IE6 doesn't support transparent PNGs. You need to use transparent GIFs or this: www.twinhelix.com/css/iepngfix/ ricardo On Sep 18, 5:52 pm, cc96ai <[EMAIL PROTECTED]> wrote: > it won't work in IE 6. > > On Sep 9, 2:42 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > > > You do

[jQuery] Simple Q: Javascript fails on JSON data

2008-09-18 Thread light-blue
This is simple, but I'm lost. I click a link, and jquery loads a form using jquery and JSON (works great!) But, the form has collapsible fieldsets (using Drupal's collapse.js) and the javascript doesn't run on them. That's probably because the collapse.js needs to run on the newly loaded form elem

[jQuery] Show image gradually

2008-09-18 Thread yo2lux
Is possible to add a css image with jquery and show the image gradually? (for example sliding up and down) I need something like this menu: www.antena1.ro, without macromedia flash. I try to add a css image when mouse hover the menu: css('backgroundImage', 'url(images/menubg.gif'). But what I n

[jQuery] Re: Jquery 1.2.6 + jGrowl easing error

2008-09-18 Thread gecko68
Thanks. Got it! On Sep 18, 8:11 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > The easing functions are not part of the jQuery core, you need the > "Effects Core" from jQuery UI. Download it > fromhttp://ui.jquery.com/download_builder/ > > ricardo > > On Sep 18, 4:14 pm, gecko68 <[EMAIL PROTECTED]

[jQuery] Re: Nothing displays when reloading Flash content with an .ajax() call

2008-09-18 Thread ricardobeat
That's normal behaviour. To get your dynamically loaded scripts to run you need to append them to the head of your document. Something like $('#ajaxloadedcontent script').appendTo('head"); in your 'success' function should work. ricardo On Sep 18, 4:10 pm, Laker Netman <[EMAIL PROTECTED]> wrote

[jQuery] Re: Nothing displays when reloading Flash content with an .ajax() call

2008-09-18 Thread ricardobeat
That's normal behaviour. To get your dinamically loaded scripts to run you need to append them to the head of your document. Something like $('#ajaxloadedcontent script').appendTo('head"); in your 'success' function should work. ricardo On Sep 18, 4:10 pm, Laker Netman <[EMAIL PROTECTED]> wrote

[jQuery] Re: Jquery 1.2.6 + jGrowl easing error

2008-09-18 Thread ricardobeat
The easing functions are not part of the jQuery core, you need the "Effects Core" from jQuery UI. Download it from http://ui.jquery.com/download_builder/ ricardo On Sep 18, 4:14 pm, gecko68 <[EMAIL PROTECTED]> wrote: > When I am using the default swing method of easing I get this error. > D.eas

[jQuery] Taconite vs JSON

2008-09-18 Thread Kud
Hello, I'm doing a website and I'll use ajax (or ajaj...) but I have a question. I don't know if I should use Taconite or JSON. I already know Taconite, it works well, but there's something which disturbs me. With Taconite, I have to specify directly in the php what html element I'm going to mod

[jQuery] Autocomplete: In Firefox 2 on Mac, form is submitted when menu item selected using Enter key

2008-09-18 Thread naumanp
I'm using Autocomplete 1.0.2 (5747 2008-06-25 18:30:55Z joern.zaefferer). This happens in Firefox 2.0.0.16 on OS X (I'm running 10.5.5). Does *not* happen in Firefox 2 on XP, Firefox 3 on XP & Mac, Safari 3, IE6, IE7. I tried it on two different Macs with the same result. This can be reproduced

[jQuery] Re: jTemplate and AJAX ?

2008-09-18 Thread Adam Guichard
Websam, You need to reread his post. You need to obtain some data generally through a web service, but it doesn't have to be. Then you need to call SetTemplateURL and ProcessTemplate to render the template. Read the example following consuming the service and rendering the result to get a bett

[jQuery] Re: Stop browser to be closed

2008-09-18 Thread Feijó
I need some way to trigger a AJAX that will do the Logoff (and with that end the user session) if user just hit the X to close the browser. I will look about onbeforeunload, thanks! Feijó MorningZ escreveu: I'm not 100% sure what you are after ultimately... but i think the _javascript

[jQuery] Re: Why is getElementById different from $('testid')?

2008-09-18 Thread Jeffrey Kretz
The jQuery selector is returning a special jQuery object which contains the actual DOM element inside it. If you did this: var f=$('#testiframe'); alert(f[0]); you would get [object HTMLIFrameELement] The f variable would have a number of jQuery specific properties and methods that allow you t

[jQuery] Re: nth-child(n) not working for me.

2008-09-18 Thread Karl Swedberg
Do people really put elements in a ? Figured they would just use . Hadn't considered though. Good point. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 18, 2008, at 5:44 AM, Richard D. Worth wrote: On Wed, Sep 17, 2008 at 11:29 PM, Karl Swedberg

[jQuery] Why is getElementById different from $('testid')?

2008-09-18 Thread Geuis
So I have this code to write a content to an iframe which works just fine. I'm trying to rewrite it using Jquery though. var f=document.getElementById('testiframe'); var doc = f.contentWindow ? f.contentWindow.document : f.contentDocument ? f.contentDocument : f.document;

[jQuery] Re: custom / slimmed-down jquery possible?

2008-09-18 Thread Alex Weber
That's possibly the smartest thing I've heard all day! :) The content INSIDE the lightbox/modal does need jquery but the biggest problem is that im dependent on using jquery to display the modal in the first place... thanks i'm gonna look for alternatives! :) On Sep 17, 2:04 pm, ricardobeat <[EM

[jQuery] Re: put image on top of another image

2008-09-18 Thread cc96ai
it won't work in IE 6. On Sep 9, 2:42 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > You don't need jQuery for this. It can be done with CSS. Here's a link that > you can inspect to see what I'm talking about: > > http://www.commadelimited.com/code/overlapimages/ > > andy > > -Original Mess

[jQuery] Re: Using jQuery Form Plugin - submitting special characters

2008-09-18 Thread Carlos André Oliveira
All strings are in the form, to submit this form I'm using the jquery.form plugin as the function below: function foo(){ var options = { url: 'model/serviceRelease.asp?id=5', target: '#divMessage', type: 'get', success: messageSuccess}; $('#myForm').ajaxForm(options); $('#myForm').su

[jQuery] Re: Dialog Box Too Small

2008-09-18 Thread MorningZ
Well, the object isn't going to take on the width/height of the background Have you tried to explicitly set width and height right there in your CSS?

[jQuery] Re: puzzling black hole in $(...).hasClass()?

2008-09-18 Thread ricardobeat
Most jQuery functions fail silently, that's by design. You must write your own function if you want to validate the class name being passed. cheers, ricardo On Sep 18, 11:03 am, "~flow" <[EMAIL PROTECTED]> wrote: > hi all, > > i’m doing this in ffx2 and firebug1.05; i have a local document > loa

[jQuery] Re: Using jQuery Form Plugin - submitting special characters

2008-09-18 Thread ricardobeat
XHR requests are known to have issues with special characters. Try using the funcion encodeURIComponent() around each string you send with Ajax. On Sep 18, 3:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all, same to me!! > Please someone let me know about the solution! > > []'s > >

[jQuery] Re: Passing values to functions

2008-09-18 Thread ricardobeat
Easy way: $('.delete').click(function(){ deleteid(this.href); }); On Sep 18, 3:56 pm, Barney <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to get my head around jquery and am converting some > standard javascript code over. > My old code was setup like this: > function deleteid(id){

[jQuery] Dialog Box Too Small

2008-09-18 Thread Brad M
Thanks for taking the time to read my question. I have a dialog box on my page that pops up after clicking the link. My problem is that when it comes up, it is too small. My content requires the size of the dialog box to be both wider and taller. I've downloaded jquery-ui-themeroller.css from Th

[jQuery] Re: jTemplate and AJAX ?

2008-09-18 Thread websam
Hi Adam, The only thing i have changed in the code from Dave's blog is that I pull the data from a database instead of from a news feed. So you can take a look at the code from the download in his blog, there you will find some javascript function's that deal with jTemplate. Then what I need to

[jQuery] Nothing displays when reloading Flash content with an .ajax() call

2008-09-18 Thread Laker Netman
I've been working on an issue for a while that's got me beat. I have googled quite a bit, and found this article, http://weblogs.asp.net/adamgreene/archive/2007/09/11/ajax-flash-cs3-and-dynamic-javascript.aspx, that describes my issue, but the solution is not jQuery-oriented. Quoting from the art

[jQuery] Jquery 1.2.6 + jGrowl easing error

2008-09-18 Thread gecko68
When I am using the default swing method of easing I get this error. D.easing[this.options.easing || (D.easing.swing ? "swing" : "linear")] is not a function Was easing removed in 1.2.6?

[jQuery] Enabling few dates

2008-09-18 Thread faizal iqbaal
Hi All, I am looking for a calendar component wherein I can enable few dates only for eg...I have, say 15 dates in a year which need to enabled for selection out of the whole year. How do i do it, which plugin can I use, I am at present using a calendar componet by matt kruse and wont want to chan

[jQuery] Re: fadeTo animation repeats multiple times in Firefox...why?

2008-09-18 Thread alexcoleman
Perfect. Thank you Ricardo. In addition, I was missing the ; after each event... :) On Sep 18, 12:37 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > What is happening is that you are toggling the animations everytime > you mouseover/mouseout the element. Try hovering in and out the > element and wa

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread Chris Jordan
Um... jQueryUI's dialog widget is good... and super easy to use. I'm just sayin'... ;o) Chris On Thu, Sep 18, 2008 at 11:51 AM, crypto5 <[EMAIL PROTECTED]> wrote: > > > Hi All, > > what is the best JQuery pop-up window plugin in your opinion? > > I am not strong experienced in JQuery and looking

[jQuery] Re: Stop browser to be closed

2008-09-18 Thread MorningZ
I'm not 100% sure what you are after ultimately... but i think the javascript event "onbeforeunload" is what you need to use http://www.google.com/search?q=javascript+onbeforeunload

[jQuery] Re: Hover on all elements: $(*).hover(...)

2008-09-18 Thread ricardobeat
You can do it with the hover function too for a bit shorter code ;) $('body').hover( function(e){ $(e.target).addClass('selected'); }, function(e){ $(e.target).removeClass('selected'); } ); On Sep 18, 2:16 pm, John Boxall <[EMAIL PROTECTED]> wrote: > Thanks a bu

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread spherop
ahh ...glad you informed. i take back my point and will have to relook at jqModal... MorningZ wrote: > > > "something about the way jqModal requires you to add a class to the > link > bugs me. Or maybe I am recalling it incorrectly" > > You don't *have* to > > for instance, this would wou

[jQuery] Stop browser to be closed

2008-09-18 Thread Feijó
Can I detect and stop user to close the window without logout ? I have a win-cgi system that is configured to a few hours session timeout, so if the user abandon the session, it will die only in several hours I saw that kind of warning or auto-logoff somewhere, just cant remember.  How could

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread MorningZ
"something about the way jqModal requires you to add a class to the link bugs me. Or maybe I am recalling it incorrectly" You don't *have* to for instance, this would would just fine :-) Open Window Modal Window Markup ... $(document).ready(function() { $("#ThisModal").jqm(

[jQuery] Re: div.hover, only w/ background-settings in IE?

2008-09-18 Thread ricardobeat
IE interprets a transparent background as 'phisically' transparent, you can click through. To fix the IE6 background-image flickering bug, add document.execCommand("BackgroundImageCache", false, true) to your JS. On Sep 18, 8:40 am, bnlps <[EMAIL PROTECTED]> wrote: > hi, .. > > by using this

[jQuery] Re: fadeTo animation repeats multiple times in Firefox...why?

2008-09-18 Thread ricardobeat
What is happening is that you are toggling the animations everytime you mouseover/mouseout the element. Try hovering in and out the element and wait, it will cycle through the animations as many times as you hovered. Try this: $('.featured').hover( function(){ $(this).find('.banner').stop().f

[jQuery] Re: dates - fourth Saturday from any given date

2008-09-18 Thread Matt Kruse
On Sep 18, 1:35 pm, cappy <[EMAIL PROTECTED]> wrote: > I need to create a form which the user enters a date and the js > displays the fourth Saturday after that date. This really doesn't need to be jquery-related. You can use any old date library, like mine at: http://www.javascripttoolbox.com/li

[jQuery] Re: cascade question

2008-09-18 Thread ricardobeat
oops, I didn't pay attention. You need to set the selected attribute and then fire the 'change' event on the parent to which the 'cascade' funcionality is bounded by default. $('#first [value=B]').attr('selected','selected').parent().change() ricardo On Sep 18, 4:14 am, kevin <[EMAIL PROTECTE

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread spherop
I have best luck with blockUI. something about the way jqModal requires you to add a class to the link bugs me. Or maybe I am recalling it incorrectly. blockUI is very lean and seems to cover all the bases. crypto5 wrote: > > Hi All, > > what is the best JQuery pop-up window plugin in yo

[jQuery] Re: jTemplate and AJAX ?

2008-09-18 Thread Adam Guichard
I'm new at this as well, but I might be able to provide you some assistance if you clarify your question a little. What are you trying to accomplish? What isn't working? Do you have a link with an example of what's not working? After examining the snippet, this is my perception of what is happ

[jQuery] SlideViewerPro - modification request

2008-09-18 Thread Adam
Im using SlideViewerPro from Gian Carlo Mingati- great plugin!! You can see my implementation here: http://www.mydesign.net/our-projects/attractions/acme-factory-raft-ride I would send him this request, but his entire site is in italian and I dont see a way to contact him. What I would like is t

[jQuery] Re: Using jQuery Form Plugin - submitting special characters

2008-09-18 Thread [EMAIL PROTECTED]
Hi all, same to me!! Please someone let me know about the solution! []'s Casé On 6 ago, 08:57, Eita <[EMAIL PROTECTED]> wrote: > I know this is an old topic, but I'm dealing with the same problem as > Pablo and I didn't find a solution for that. > > If anyone has a clue to solve this behavior..

[jQuery] dates - fourth Saturday from any given date

2008-09-18 Thread cappy
I'm completely new to this group, because I've only just discovered it, so please forgive me for being a novice. I'm totally baffled by dates - I work in an office that runs an intranet which occasionally needs some kind of js to calculate things. I've pretty much got my head round doing basic ca

[jQuery] Xpath Plugin: Child Selector Predicate Support [\d+]

2008-09-18 Thread John Boxall
Hey Jquery hackers: I'm doing some work with the Xpath plugin and I notice it doesn't support expressions like: /html/body/center/form/table/tbody/tr/td[2]/input[3] (Used to select the search box on www.google.com!) I would like to extend the plugin to support this kind of expression. Because

[jQuery] Passing values to functions

2008-09-18 Thread Barney
Hi, I am trying to get my head around jquery and am converting some standard javascript code over. My old code was setup like this: function deleteid(id){ // Delete by id } Then for html I have: Now moving to jQuery I just can't figure out how to pass the id I want deleted attached to the cli

[jQuery] Re: Problem Firing AutoComplete in JQUERY

2008-09-18 Thread MorningZ
If you look inside the js file, specifically at the "$input.bind" part around line 90, the code is looking for keypresses to fire it's events. you're not firing any of those with your ajax load of it so it would be like "mis-use", not "issue" to describe your problem... perhaps trigger

[jQuery] Re: Double JQuery Connundrum

2008-09-18 Thread tlphipps
I'm no expert on jquery, but I would do the following: if (typeof(jQuery) != 'function') { //code to load jquery plugin here } On Sep 18, 11:57 am, geme4472 <[EMAIL PROTECTED]> wrote: > Hi, > I'm creating a widget that uses jquery.  As you might imagine, it > might load on a page already havin

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread Josh Nathanson
jqModal does have a callback for that, but it gets pretty ugly if you're using the same modal window for different forms. Then you have to re-configure the jqModal settings on each modal request. What I've done is use a combination of the ajaxForm plugin and LiveQuery to "listen" for modal

[jQuery] Re: Jcrop v0.9.0 image cropping plugin - comments please

2008-09-18 Thread Kelly
"I wanted to use jQuery UI but the docs site was down" :-) At the end of the day, I don't think potential consumers of plugin(s) should be too concerned whether there's an additional few KB of script loaded on a page which duplicates a functionality already available in another loaded library. No

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread GasGiant
Do any of them have a callback type of function for what to do on close? I'd like to use a modal form that updates the Ajax in the opener, but only when the modal get's closed. On Sep 18, 1:43 pm, MorningZ <[EMAIL PROTECTED]> wrote: > I've had great luck/usage with jqModal > > (http://dev.iceburg

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-18 Thread MorningZ
I've had great luck/usage with jqModal (http://dev.iceburg.net/jquery/jqModal/) very configurable and easy to setup

[jQuery] Best JQuery pop-up plugin.

2008-09-18 Thread crypto5
Hi All, what is the best JQuery pop-up window plugin in your opinion? I am not strong experienced in JQuery and looking for such plugin but don't want test everything. So lloking for short cut. Thanks All! -- View this message in context: http://www.nabble.com/Best-JQuery-pop-up-plugin.-tp19

[jQuery] Re: Hover on all elements: $(*).hover(...)

2008-09-18 Thread John Boxall
Thanks a bunch Karl - I switched to your way much smoother : ) John On Sep 18, 6:54 am, benjam <[EMAIL PROTECTED]> wrote: > Nicely done Karl, I knew there was a better way. > > On Sep 17, 1:54 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > > This one worked for me... > > > $('body').bind('mous

[jQuery] Double JQuery Connundrum

2008-09-18 Thread geme4472
Hi, I'm creating a widget that uses jquery. As you might imagine, it might load on a page already having jquery loaded. Is there a way to load two instances of jquery in a page? Perhaps some variation on noConflict()?

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread misterqj
Hi John, Since we are on the subject of resources... How is jquery funded/supported? Corporate sponsors, community support, pennies from heaven, change from your couch... Thanks for the info. On Sep 17, 12:05 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > We just acquired four new servers from

[jQuery] Re: jQuery.center Plugin

2008-09-18 Thread Andy Matthews
Bob... Is there any reason why you're not doing this with pure CSS? You'd probably be done by now if you did. Here's a simple example: http://commadelimited.com/uploads/center.html As you can see, there's hardly anything to the CSS, and it's very simple to implement. andy -Original Mes

[jQuery] jQuery.center Plugin

2008-09-18 Thread Mr Fett
Hi all, I'm trying to debug a plugin - I believe its a new plugin and has a bug as the behavior of it is incredibly inconsistent across browsers. The plugin is the jQuery.center - http://plugins.jquery.com/project/elementcenter. For reference I've put a basic example of my implementation of thi

[jQuery] Re: Hover on all elements: $(*).hover(...)

2008-09-18 Thread benjam
Nicely done Karl, I knew there was a better way. On Sep 17, 1:54 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > This one worked for me... > > $('body').bind('mouseover', function(event) { >    $(event.target).addClass('selected');}).bind('mouseout', function(event) { > >    $(event.target).remove

[jQuery] Re: this.style is null or not an object

2008-09-18 Thread kim
i've found the cause of the error. seems like jquery doesn't work well with scriptaculous. we are using the lightbox library, and it requires scriptaculous. after excluding the scriptaculous library, my jquery code works! is this a known issue? thanks. On Thu, Sep 18, 2008 at 7:01 PM, MorningZ <

[jQuery] Re: Hover on all elements: $(*).hover(...)

2008-09-18 Thread [EMAIL PROTECTED]
Interesting. Does anyone know if event.stopPropagation() is broken, not implemented for the hover() anonymous functions, or we are using it wrong? On Sep 18, 12:26 am, John Boxall <[EMAIL PROTECTED]> wrote: > Aaron, I had the same thought - when tried event.stopPropagation() it > just kept on sa

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread vld
I had looked for a long time for good off-line copy of jQuery docs. Not only for performance reasons - I do develop while commuting. So far, checking out and using http://jqueryjs.googlecode.com/svn/trunk/tools/api-browser meets my needs. The only thing I am not sure about is how up-to-date the

[jQuery] Re: Superfish navbar for Wordpress

2008-09-18 Thread kiper
Hi Joel! I am just happy if I can contribute to make Superfish even better! All the best, Müfit On Sep 18, 5:29 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Müfit, > > Thanks for your well-articulated thoughts on this. I agree that being > able to specify more that one pathClass would be v

[jQuery] Re: this.style is null or not an object

2008-09-18 Thread kim
ok, i had to make double checks and it's actually the when scriptaculous is used along side effects.js library. all these needed by lightbox. On Thu, Sep 18, 2008 at 9:07 PM, kim <[EMAIL PROTECTED]> wrote: > i've found the cause of the error. seems like jquery doesn't work well with > scriptaculo

[jQuery] Re: nth-child(n) not working for me - I didn't see my previous post

2008-09-18 Thread kcharles
You rock! That was it. -Kevin

[jQuery] Re: jdmenu top level links disabled with submenus

2008-09-18 Thread dduck1934
Okay i saw there is a disableLink property in the jdmenu, and I am not sure how to call it. var settings = $.extend({ // Time in ms before menu shows showDelay: 200, // Time in ms before menu hides hideDelay: 500, // Should items that contain submenus not // respon

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread William Chang
Same here, slowness and unresponsive been going on over a week. I reported on the jQuery Development mailing list: http://groups.google.com/group/jquery-dev/browse_thread/thread/5efcd4be97067ef Sincerely, Will On Sep 18, 8:40 am, Michael <[EMAIL PROTECTED]> wrote: > On Wed, Sep 17, 2008 at 7:05

[jQuery] Re: Need some help with image map coding....

2008-09-18 Thread Aaron
well what can I do to use javascript to submit a name to my php code??? I want to use the image map as a gui so I want it to act just like a form where I can name each state and then pass that name using post method to my php script which will do a database lookup and then once the list is creat

[jQuery] puzzling black hole in $(...).hasClass()?

2008-09-18 Thread ~flow
hi all, i’m doing this in ffx2 and firebug1.05; i have a local document loaded, go to the firebug console, and write $log( $Q( 'div' ).hasClass( '' ) ); $log( '###' ) to which firebug responds with true ### thereby showing bot commands did execute. now i repeat the experiment, but with

[jQuery] jTemplate and AJAX ?

2008-09-18 Thread websam
I have tested the use of jQuery, jTemplates and AJAX together with asp.net shown in this blog : http://encosia.com/2008/08/20/easily-build-powerful-client-side-ajax-paging-using-jquery/ And i got everything to work against my library of methods. However i need to set some event handlers to the d

[jQuery] jTemplates and event handlers ?

2008-09-18 Thread websam
Hi there, I have created a table of data using jTemplates where I have my table template in a seperat .html file. I generate some links in the the table that i want to add a event handler to but i can't get it to work. What i do is using this code to add event handlers to all links with class nam

[jQuery] Problem Firing AutoComplete in JQUERY

2008-09-18 Thread aimhier
Autocomplete is not fired for a textfield when the field is loaded using ajax but the is fired when the same field is loaded directly. Is there any issue that needs to be resolved regarding the same.

[jQuery] Superfish menu - flash of unstyled list before load

2008-09-18 Thread Terry.Morgan
Hi there, I've got a Superfish menu on a page I'm working on but I'm getting a flash of the unstyled list before the menu loads properly. This is slightly different to the fairly rare "flash of unstyled content" bug as the CSS backgrounds and other CSS are being loaded ok at the same time as the

[jQuery] Re: about $(document).ready()

2008-09-18 Thread ~flow
敬��原��但是文字上大概有�c儿不太清楚。 `$(document).ready(x)` [EMAIL PROTECTED] 如果document已��完成的�r候script�f`$(document).ready(x)`的��,那它的引��`x`立即被execute。 一个document ready的引��function可以有多少clauses,也可以在一个script�Y面define多少document ready,它��都�⒈��绦小� 例。$(document).ready(function(){alert('helo')}) 以上。 On Se

[jQuery] jQuery.sheet, new layout, ThemeRoller integrated, what does everyone think?

2008-09-18 Thread K-BL
Hey Guys, I just released jQuery.sheet 0.3.0 and wanted to know what everyone thought about it. Check out documentation & demo here: http://jqueryplugins.weebly.com/uploads/3/1/3/8/313814/jquery.sheet.html Check out home page here: http://jqueryplugins.weebly.com/ . With your help, we can make j

[jQuery] Re: find, not selector not working

2008-09-18 Thread vtjiles
Thank you! Your code worked great and your explanation of the space and > is just what was needed. Based on your explanation of >, because there was no > before the li, it was finding an li at any depth with an input child. By adding the > at the begging it is now only looking for direct children

[jQuery] Re: best/standard way to benchmark your own scripts?

2008-09-18 Thread Ariel Flesler
While firebug's profile is ok... it inflates times quite a lot, prolly due to all the stuff it inserts around in your code. I compare FF w/FB vs FF w/o FB and the results were a lot different. I'd not recommend it for very specific tests. Also, some approaches can be faster on FF and slower on ot

[jQuery] Re: Selecting a nested Ajax Tab from a link

2008-09-18 Thread Klaus Hartl
That's trickier than usual because you have to wait for the first Ajax reponse to be completed (otherwise you would just select the proper tabs in sequence). Try: $('.buynow a').click(function() { $('#main > ul'). bind('tabsload', function(e, ui) { $('ul.sub-ui-tabs-nav',

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread John Resig
> AFAIK jquery.com provides files for downloading not hotlinking. So you > should have used your own server to serve js in the first place. We provide code.jquery.com to hotlink to - that's perfectly ok. --John

[jQuery] Re: get an image from an input field just with javascript

2008-09-18 Thread tlphipps
I've never done it, but I know of two scripts which support it: 1) http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ 2) http://malsup.com/jquery/form/#code-samples (file uploads tab) On Sep 18, 7:22 am, "^AndreA^" <[EMAIL PROTECTED]> wrote: > yeah, unfortunately you are both right... :-| > > In

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread Michael
On Wed, Sep 17, 2008 at 7:05 PM, John Resig <[EMAIL PROTECTED]> wrote: > > We just acquired four new servers from Media Temple, yesterday. We'll > be moving the various sub-domains (docs, plugins, dev, ui) to their > own unique servers this week - this should help with load times > significantly.

[jQuery] Re: get an image from an input field just with javascript

2008-09-18 Thread ^AndreA^
yeah, unfortunately you are both right... :-| In fact I was afraid to receive this answer... Anyway, how can I upload the image just with js and without submitting the form? jQuery standard function ($.ajax) does not seem to allow a file/image as a file type... I also looked to some plugins an

[jQuery] Re: get an image from an input field just with javascript

2008-09-18 Thread ^AndreA^
yeah, unfortunately you are both right... :-| In fact I was afraid to receive this answer... Anyway, how can I upload the image just with js and without submitting the form? jQuery standard function ($.ajax) does not seem to allow a file/image as a file type... I also looked to some plugins an

[jQuery] Re: Using .load and updating the DOM

2008-09-18 Thread Paul
Ah, I've now discovered LiveQuery and it all makes sense. Sorry for wasting your time if you read this.

[jQuery] div.hover, only w/ background-settings in IE?

2008-09-18 Thread bnlps
hi, .. by using this snippet, everything works great in Firefox - you can move the mouse everywhere inside the red DIV border, and get out .. the fading effect always works correctly. but, in IE 6/7, .hover only seems to act when the mouse is AT the red border; well, if you set a background-colo

[jQuery] Re: [validate] Issues in IE6

2008-09-18 Thread Mattl
Thanks Jorn, however I'm still seeing the issue. Could someone check on their version of IE6? I get: Line 30 Char: 1 Error: Object doesn't support this property or method Code: 0 On Sep 17, 8:33 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Works fine for me, even in IE6. > > Jörn > > > >

[jQuery] about $(document).ready()

2008-09-18 Thread 立体风
Hello all, Why sometimes with time, and sometimes "$(document).ready()" with many times?

  1   2   >