[jQuery] Re: Google Analytics Tracking With jQuery

2007-10-26 Thread jason
Yep, that's my understanding as well, although: 1) I don't know how long it will be in beta -- what's there now is not recommended for production use and is subject to change. 2) I don't know how configurable it will be out of the box -- a lot of the things people do with urchin.js now are

[jQuery] Re: Code in loop

2007-10-26 Thread Jean
Ae brazuca naum sei do resto mas sei que vc esta errando aqui var id = $(this).attr(id_delete) The attr method catch or set a the value of the jq object. Try this var id = $(this).attr(id) On 10/25/07, Jimmy Neph [EMAIL PROTECTED] wrote: This is the code:

[jQuery] Re: Google Analytics Tracking With jQuery

2007-10-26 Thread Mika Tuupola
On Oct 26, 2007, at 3:54 AM, jason wrote: - Examine all of the links on the page and attach onclick events to: - External links. - Mailto links. - Downloads. - Call urchinTracker() when these links are clicked, prefixing them appropriately. AFAIK new ga.js tracks outbound links

[jQuery] load a file from local file system

2007-10-26 Thread [EMAIL PROTECTED]
Hi, the $(element).load(url) works well, but is there a way load from a local file system? thanks. A.C.

[jQuery] Saving contents

2007-10-26 Thread [EMAIL PROTECTED]
Hi, I have a need to save content of a div id=test/div to some global variables and re-load it sometime later, possible with jQuery? thanks. A.C.

[jQuery] Re: load a file from local file system

2007-10-26 Thread Gordon
No, this is deliberately left out of javascript on the grounds that it could prove a massive security risk if abused. On Oct 26, 10:49 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, the $(element).load(url) works well, but is there a way load from a local file system? thanks. A.C.

[jQuery] Re: New Plugin: SimpleModal

2007-10-26 Thread Eric Martin
On Oct 25, 3:54 pm, bbuchs [EMAIL PROTECTED] wrote: I think he's referring to the queuing and duration of the fade effects. First the overlay fades in, the the modal fades in... start to finish it's more than a full second from the moment the trigger was clicked. Your fade durations are set

[jQuery] Re: New Plugin: SimpleModal

2007-10-26 Thread Eric Martin
On Oct 25, 6:48 pm, Pops [EMAIL PROTECTED] wrote: Ok, I checked into it and I have the FireFox NOSCRIPT plugin. Just too dangerous out there to willy nilly allow all sites use Javascript. So I turn it on on a site by site basis. NOSCRIPT puts alittle clickable icon in the status bar telling

[jQuery] Multiple animate problem

2007-10-26 Thread Globule
Hi all, I realised something like http://demos.mootools.net/Fx.Elements with JQuery with background image transition. But images are not resized simultaneously, so the last button sometime get down. You can see it in action on http://denon.joomlation.org More precisions --- I

[jQuery] Displaying same input box

2007-10-26 Thread Merlin
Hello everybody, I am new to jquery and do currently try to add a reply field to each of many user comments under a picture. Therefore I have create a function in jquery that displays a html form with a save and cancel button. My goal is now to show this form whenever someone clicks on one of

[jQuery] Changing form action with hidden field named action in IE causes error

2007-10-26 Thread Adrian Lynch
The long subject says it all! If I have a hidden field named 'action', trying to change the form action attribute fails in IE7. If I change the hidden field to something other than action it works. Can anyone think of a way around this? I would like to keep the hidden field named 'action' if I

[jQuery] Re: Hovering over jQuery retrieved HTML

2007-10-26 Thread Charles Sexton
Hi Jolyon, I believe that's exactly what I'm doing, as it works perfectly fine for the first dropdown. It's when jQuery is told to look at HTML gained via Ajax that I begin to see a problem, but only with mouse gestures. The key functions work perfectly fine. Here's the code for the first

[jQuery] Re: Checkboxes and radios

2007-10-26 Thread Feijó
Here it is If any checkbox is clicked, it needs do enable the radio next to it. In the bottom I have 3 links to check it all, uncheck it all, or toggle. In those cases the radios need to respond as well. That's my last jquery attempt: $('.form-

[jQuery] Re: Saving contents

2007-10-26 Thread Adrian Lynch
Of course. var divContent; function saveDivContent() { divContent = $(#test).html(); } function doSomethingWithTheSavedContent() { alert(divContent); } But, be careful if the div content contains a form with dynamically created elements. I've had trouble with saving those in

[jQuery] Re: load a file from local file system

2007-10-26 Thread Gordon
AJAX requests are cached by default, but they can only occur from a web server and must occur in the domain the page is hosted in. For example if you have a HTML page at www.example.com that includes some AJAX javascript, the AJAX requests can only occur on files on www.example.com On Oct 26,

[jQuery] Re: load a file from local file system

2007-10-26 Thread [EMAIL PROTECTED]
hi, ok, so javascript does not have a way to access local file. a related question, can ajax loaded file be cahced? On Oct 26, 6:37 pm, Gordon [EMAIL PROTECTED] wrote: No, this is deliberately left out of javascript on the grounds that it could prove a massive security risk if abused. On

[jQuery] How to Check jQuery Status

2007-10-26 Thread SDyke
I am using jQuery to do an AJAX post. The servlet runs code to generate an Excel file. On the firing page a hyperlink appears that will display the Excel file. My problem is keeping the link from appearing before the file has finished generating. How do I use a response flag to tell the page

[jQuery] OT: a very simple download indicator (marquee strikes back)

2007-10-26 Thread Klaus Hartl
marquee direction=right.../marquee ;-) http://www.stilbuero.de/2007/10/26/a-very-simple-download-indicator-the-glorious-return-of-the-marquee-tag/ --Klaus

[jQuery] Re: Method addClass is not working with MS Internet Explorer (IE) 6

2007-10-26 Thread Mindjoy
Karl, you're right, your suggestions work fine in IE. However, I will settle on attr method since it's shorter and does exactly what I want to do. Thank you for your help. Regards, Ivica Mikic On Oct 25, 6:19 pm, Karl Swedberg [EMAIL PROTECTED] wrote: I'm guessing this is a weird css

[jQuery] Re: Displaying same input box

2007-10-26 Thread Adrian Lynch
How about creating the form once and moving it to where ever it's needed. Something like this: script type=text/javascript var replyForm = $('div id=replyForm/div'); $(document).ready(function() { replyForm.append($('textarea id=replyText/textarea'));

[jQuery] Transparencys and Overlays

2007-10-26 Thread S. Robert James
I'm having trouble understanding how various jQuery plugins show transparency and overlays over certain elements (or the whole page). I think CSS provides the ability to do this, but I'm not sure. What is the basic CSS to: 1) Put a gray, semi-transparent sheet over the whole page? 2) To do the

[jQuery] DIV resizes in IE using show

2007-10-26 Thread [EMAIL PROTECTED]
I am having problems with showing a DIV after hiding it, but only in Internet Explorer. Initally, the div loads fine, but if i hide it and then show it again, it gets resized. Can anyone have a look at http://irish-property.ie in Internet Explorer, click on any of the hide links and then click

[jQuery] Re: drawing on mousemove - performance problem

2007-10-26 Thread Flesler
$(function(){ $(document).mousemove(function(e){ draw([ e.pageX, e.pageY ]); }); }); do you really need to generate an array? I suppose draw( e.pageX, e.pageY ); will be a bit faster. On Oct 25, 6:57 pm, powtac [EMAIL PROTECTED] wrote: Is there a way to reduce the cpu load

[jQuery] Re: Scrolling a textarea to the bottom each time it's updated

2007-10-26 Thread Flesler
I haven't tested it but: var $t = $('textarea');//whatever the selector you use. $t.animate({ scrollTop: $t.height() }, 1000); On Oct 25, 8:54 am, Eli [EMAIL PROTECTED] wrote: Hey, I'm in need for a function that will scroll my textarea to the bottom each time it's updated, how can I do

[jQuery] Re: Scrolling a textarea to the bottom each time it's updated

2007-10-26 Thread Flesler
I haven't tested it but: var $t = $('textarea');//whatever the selector you use. $t.animate({ scrollTop: $t.height() }, 1000); On Oct 25, 8:54 am, Eli [EMAIL PROTECTED] wrote: Hey, I'm in need for a function that will scroll my textarea to the bottom each time it's updated, how can I do

[jQuery] Manipulation image objects

2007-10-26 Thread Nick LaTerra
Hello, Suppose I load an image in the browser cache using the JS Image constructor, how safe is it to manipulate directly the resulting object (which basically isn't in the DOM) with JQuery? For instance: var img = new Image(); img = sunset.jpg; $(#place1).append(img);

[jQuery] Re: Best regex for this, getting software version numbers

2007-10-26 Thread Flesler
Shouldn't that be: [^.]+\.[^.]+ ? He didn't say he want to capture the first part, and '.?' will match something else. Just in case you are interested, you can achieve the same using: s.substring( 0, s.indexOf( '.' ,s.indexOf('.')+1 )); Ariel Flesler On Oct 25, 10:05 pm, Andy Matthews

[jQuery] Re: ScrollTo

2007-10-26 Thread Flesler
http://jquery.com/plugins/project/ScrollTo On Oct 25, 8:29 am, djl [EMAIL PROTECTED] wrote: jCaroussel Lite is perfect for the Coda-style:- http://www.gmarwaha.com/jquery/jcarousellite/ On 25 Oct 2007, at 05:30, Josh V wrote: what about horizontal scrolling panes. the following sites

[jQuery] Superfish and IE6 issue

2007-10-26 Thread walterg2
Joel, I'm currently implementing your superfish JS function into a vertical navigation structure and so far, it's worked out great. There is, however, an issue with IE6 as it doesn't open the menu at all and for the life of me I cannot figure out why. I'm using JQuery 1.1.4 and Superfish 1.3

[jQuery] Edit in place: only one textfield open per page

2007-10-26 Thread Codex
Hi, I'm using the code from the '15 days of jquery' demo of edit in place: http://15daysofjquery.com/examples/jqueryEditInPlace/demo.php JS: http://15daysofjquery.com/examples/jqueryEditInPlace/jqueryEIP.js I have a page that has 10+ eip textfields and it all works well. But when you open 2

[jQuery] Jquery 1.2 API

2007-10-26 Thread Josh Ain
Hello all, I've been using http://jquery.com/api/ extensively as a reference for developing with jquery 1.1.2. Is there a comparable gui available for browsing the jquery 1.2 api? Thanks, Josh Ain ITA Software

[jQuery] Re: New Plugin: SimpleModal

2007-10-26 Thread njsuperfreak
Wow that is pretty sweet, I like the fact that the div flows the scroll bar, as compared to others. But can the powered by SimpleModel be removed?

[jQuery] Re: Help with dynamically loading and running Javascript

2007-10-26 Thread [EMAIL PROTECTED]
Perfect. 5 stars. - On Oct 25, 5:49 pm, Wizzud [EMAIL PROTECTED] wrote: Remove the HTML commenters from around the Javascript (the !-- and -- ). On Oct 25, 8:53 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm trying to add some HTML to a DIV (the HTML is contained in the

[jQuery] Re: Best regex for this, getting software version numbers

2007-10-26 Thread Andy Matthews
I should have noted, I'm not using Javascript for the actual code part. I was just asking this learned community for input on the regex portion. The .? will match 0 or 1 periods. In some cases, there will not be a period: Yahoo! Slurp is a good example. -Original Message- From:

[jQuery] Autocomplete for hierarchical data (aka a Tree)...

2007-10-26 Thread Dan G. Switzer, II
Before I go about re-inventing any wheels, I was wondering if anyone's see any good Autocomplete plug-ins for handling hierarchical data organized in a tree? For those familiar with the program Quicken, I'm looking for something that provides functionality similar to the Category field (which

[jQuery] Re: How to Check jQuery Status

2007-10-26 Thread Adrian Lynch
You can supply a callback function when making your AJAX call. When the result is returned it will run the callback and this is where you can make the link appear. Adrian On Oct 26, 2:34 pm, SDyke [EMAIL PROTECTED] wrote: I am using jQuery to do an AJAX post. The servlet runs code to generate

[jQuery] Re: IE bug with IFRAME?

2007-10-26 Thread cfdvlpr
I have a similar issue and I'd love to see a jquery expert chime in here.

[jQuery] Re: Jquery 1.2 API

2007-10-26 Thread Tane Piper
The docs have been moved to the Wiki: http://docs.jquery.com/Main_Page On 26/10/2007, Josh Ain [EMAIL PROTECTED] wrote: Hello all, I've been using http://jquery.com/api/ extensively as a reference for developing with jquery 1.1.2. Is there a comparable gui available for browsing the jquery

[jQuery] Re: Transparencys and Overlays

2007-10-26 Thread Glen Lipka
CSS is used by the plugins. Do you use Firebug or IE Dev toolbar? They are invaluable to inspect elements on the page and see what makes them tick. Look at the JS of this page: http://parkerfox.parkerfox.railsplayground.net/labs/zoombox/ Look at the dimScreen plugin that it uses. You will

[jQuery] Re: Jquery 1.2 API

2007-10-26 Thread Glen Lipka
It would be really useful to have the XML version. Is that in the works? Glen On 10/26/07, Tane Piper [EMAIL PROTECTED] wrote: The docs have been moved to the Wiki: http://docs.jquery.com/Main_Page On 26/10/2007, Josh Ain [EMAIL PROTECTED] wrote: Hello all, I've been using

[jQuery] jQuery 1.2 benchmark

2007-10-26 Thread Lauris Bukšis-Haberkorns
Has anyone seen this one? http://alexandre-mercier.vinnac.org/slickspeed/ jQuery does not perform that well there. Lafriks

[jQuery] Re: New Plugin: SimpleModal

2007-10-26 Thread Eric Martin
On Oct 26, 8:08 am, njsuperfreak [EMAIL PROTECTED] wrote: Wow that is pretty sweet, I like the fact that the div flows the scroll bar, as compared to others. Thanks =) But can the powered by SimpleModel be removed? Of course! I'll add a license/readme for the demo download(s) with more

[jQuery] Re: Jquery 1.2 API

2007-10-26 Thread Tane Piper
AFAIK, someone is looking into using a plugin that allows the Wiki to be converted to XML so it can be used at sites like Jorn's API Browser and visualjquery.com On 26/10/2007, Glen Lipka [EMAIL PROTECTED] wrote: It would be really useful to have the XML version. Is that in the works? Glen

[jQuery] Re: jQuery 1.2 benchmark

2007-10-26 Thread Rey Bango
Run this test in Internet Explorer and look at the results. jQuery is optimized for Internet Explorer which is the most widely used browser out. When you run the same tests in IE, you'll see that we perform much better and our on par with all of the libs. Also, the SlickSpeed test suite has

[jQuery] Re: New Plugin: SimpleModal

2007-10-26 Thread rober_t
I like it. Clean and simple. Thanks, robert

[jQuery] Re: Code in loop

2007-10-26 Thread Jean
Então para vc colocar o evento para funcionar apenas 1x p/ cada elemneto utilize a funcao once, tipo $(.image).once(function(){ alert('Urrul'); }) mas axo que não é isso que vc quer, axoq eh isso $(.delete).bind('click', function(e){ var _id = $(this).attr(id);

[jQuery] Re: Code in loop

2007-10-26 Thread Jean
I think this will works $(.delete).bind('click', function(e){ var _id = e.target.id; $(#confirm_box).css({left: e.pageX-453, top: e.pageY}) $(#confirm_box).fadeIn(300); $(#del_nao).bind('click', function(){

[jQuery] Re: jQuery 1.2 benchmark

2007-10-26 Thread Andy Matthews
Never mind...IE for some reason didn't show the legend colors at the bottom. I ran the test in FF and saw the colors. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, October 26, 2007 11:30 AM To:

[jQuery] Re: jQuery 1.2 benchmark

2007-10-26 Thread Andy Matthews
Can someone simply explain what the colors indicate for any specific row? Red? Orange? Green? Grey? Black? Also, in IE7, these are the results I got (for what it's worth): Dojo query 0.9: 1020 jQuery 1.2: 1350 Mootools r887: 2525

[jQuery] Re: table pagination plugin

2007-10-26 Thread FreeFallFred
The doc explains very well how it works. All you have to do is add a pager div to the existing tablesorter object. As for the DB question, you pull all the data once, and the pager plugin does the magic for you. On Oct 19, 7:56 am, Bhaarat Sharma [EMAIL PROTECTED] wrote: Hi is there a good

[jQuery] Re: Jquery 1.2 API

2007-10-26 Thread Josh Ain
Thanks for the response all. I love the alphabetized api list and use it all the time. I hope we get the 1.2 api exposed in this manner again soon. Josh On 10/26/07, Andy Matthews [EMAIL PROTECTED] wrote: The problem with the docs version is that it's not at all user-friendly. It's

[jQuery] Re: jqModal and the ESC key?

2007-10-26 Thread will
You may as well use jQuery for that. :-) $(document).keydown( function( e ) { if( e.which == 27) { // escape, close box $(.jqmWindow).jqmHide(); } }); -Mike nice. ;) jQuery ftw.

[jQuery] Re: How to Check jQuery Status

2007-10-26 Thread James Dempster
That's because you are providing the parentheses () which executes the function there and then rather than passing the function to be executed later when the ajax request is complete. Try. jQuery.post(/BFEWebApp/PreviewBFEDListServlet,detaillitstring= + detailListString, processReqChange);

[jQuery] Re: Saving contents

2007-10-26 Thread [EMAIL PROTECTED]
Hi, Thanks, what I want to do is, a list of items displayed in the div, if user click one of them, it will be erased and replaced with form, and later restore the list of items when done, possible? On Oct 26, 7:19 pm, Adrian Lynch [EMAIL PROTECTED] wrote: Of course. But, be careful if the

[jQuery] Re: Checkboxes and radios

2007-10-26 Thread Wizzud
And the radio buttons would be where? On Oct 26, 11:35 am, Feijó [EMAIL PROTECTED] wrote: Here it is If any checkbox is clicked, it needs do enable the radio next to it. In the bottom I have 3 links to check it all, uncheck it all, or toggle. In those cases the radios need to respond

[jQuery] Re: jQuery 1.2 benchmark

2007-10-26 Thread John Resig
Really? It runs really fantastic in IE, for me. --John On 10/26/07, Lauris Bukšis-Haberkorns [EMAIL PROTECTED] wrote: Has anyone seen this one? http://alexandre-mercier.vinnac.org/slickspeed/ jQuery does not perform that well there. Lafriks

[jQuery] Re: Jquery 1.2 API

2007-10-26 Thread Rey Bango
We're working on that. rey Josh Ain wrote: Hello all, I've been using http://jquery.com/api/ extensively as a reference for developing with jquery 1.1.2. Is there a comparable gui available for browsing the jquery 1.2 api? Thanks, Josh Ain ITA Software

[jQuery] Re: Jquery 1.2 API

2007-10-26 Thread Andy Matthews
The problem with the docs version is that it's not at all user-friendly. It's difficult to find what you're looking for, you're forced to make multiple clicks, and those tabs (while a great UI element for apps), is not a good choice for documentation set up like this. The simple, alphabetized

[jQuery] Loop thru options of a Select box

2007-10-26 Thread [EMAIL PROTECTED]
Hi, given this, how to iterate thru the options? thanks select name=state id=state option value=NYNew York/option option value=ALAlaska/option option value=KYKentuky/option option value=IAIOWA/option /select

[jQuery] Re: How to Check jQuery Status

2007-10-26 Thread SDyke
Can you elaborate. I have a third parameter in my calling code: jQuery.post(/BFEWebApp/PreviewBFEDListServlet,detaillitstring= + detailListString, processReqChange()); The processReqChange() turns on the link. However, this function is called as soon as the post code fires. Adrian Lynch-2

[jQuery] Re: Loop thru options of a Select box

2007-10-26 Thread [EMAIL PROTECTED]
Hi, Thanks, can you show sample code of accessing every element's value and label? On Oct 27, 1:30 am, Wizzud [EMAIL PROTECTED] wrote: jQuery('#state option').each(function(i){ }); On Oct 26, 5:49 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, given this, how to

[jQuery] How to set selected of Select box which works with Safari as well?

2007-10-26 Thread [EMAIL PROTECTED]
Hi, I ajax load a list of options into a Select box and then set the value to 'AL', this will display the currently selected options as Alaska, it works with Firefox, but not with Safari, although the selected one is 'AL', but it does not show ALASKA in the display, it shows the first element

[jQuery] Re: Loop thru options of a Select box

2007-10-26 Thread Wizzud
jQuery('#state option').each(function(i){ }); On Oct 26, 5:49 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, given this, how to iterate thru the options? thanks select name=state id=state option value=NYNew York/option option value=ALAlaska/option option

[jQuery] DropDown list and selected Index - SelectedIndex ?

2007-10-26 Thread BuckRogers
How do I go about retreiving the selected value of a dropdown list using jquery? In regular js I do this : select onchange=f(this.selectedIndex) option/option option/option /select

[jQuery] Re: Transparencys and Overlays

2007-10-26 Thread bbuchs
Take a look at BlockUI: http://jquery.com/plugins/project/blockUI It will apply an overlay to either the whole page or a specific element. Might not be exactly what you need, but it's a good starting point. - b On Oct 26, 11:02 am, Glen Lipka [EMAIL PROTECTED] wrote: CSS is used by the

[jQuery] Re: Changing form action with hidden field named action in IE causes error

2007-10-26 Thread Wizzud
There is no way round it, and it's not down to jQuery. You're going to have to call your 'action' field something else. On Oct 26, 12:10 pm, Adrian Lynch [EMAIL PROTECTED] wrote: The long subject says it all! If I have a hidden field named 'action', trying to change the form action

[jQuery] Re: Best regex for this, getting software version numbers

2007-10-26 Thread d . wachss
At first glance, I thought he needed to escape the '.' the way you have it, but he doesn't since the [^.] matches everything that isn't a period, so the wildcard '.' has to match only a real period, so [^.]+.? [^.]+ works. Still, I think \. makes it clearer. Danny On Oct 26, 8:34 am, Flesler

[jQuery] Re: Validating checkboxes

2007-10-26 Thread wattaka
Thanks Josh, sorry for the confusion. I am actually using Jörns plugin for validation, so my question should have been: How do I use Jörns Validation plugin to validate that a user has checked at least one box in a group of uniquely named checkboxes Thanks On Oct 25, 10:45 pm, Josh Nathanson

[jQuery] Re: 1px rounded corners issue

2007-10-26 Thread weepy
that plugin is the bomb it should be promoted more in the jQuery world. . On Oct 25, 12:08 am, SterlingK [EMAIL PROTECTED] wrote: @ weepy - Thanks so much for posting that link. That answered some of my issues as well. We all appreciate it when people like you go the extra mile to help

[jQuery] Re: Checkboxes and radios

2007-10-26 Thread Feijó
Ops, sorry I add this jquery to dynamicaly insert the radio $(document).ready(function() { $('.form-checkbox').parent().parent().prepend(' input type=radio name=radio class=radio disabled '); }); On Oct 26, 3:28 pm, Wizzud [EMAIL PROTECTED] wrote: And the radio buttons would be where?

[jQuery] Re: New Plugin: ZoomBox

2007-10-26 Thread weepy
faster than before when you upgraded it to jQuery 1.2? possibly :) i don't have the old one to compare :)

[jQuery] Re: Loop thru options of a Select box

2007-10-26 Thread Glen Lipka
The code Wizzud gave is pretty good. To get a value and label just use the attr function. jQuery('#state option').each(function(i){ alert($(this).attr(value)); alert($(this).attr(label)); }); Glen On 10/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Thanks, can you show

[jQuery] Re: OT: a very simple download indicator (marquee strikes back)

2007-10-26 Thread Jean
LOL On 10/26/07, Klaus Hartl [EMAIL PROTECTED] wrote: marquee direction=right.../marquee ;-) http://www.stilbuero.de/2007/10/26/a-very-simple-download-indicator-the-glorious-return-of-the-marquee-tag/ --Klaus -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com

[jQuery] Re: DropDown list and selected Index - SelectedIndex ?

2007-10-26 Thread George
Hi Buck, To mimick your onchange event you might use unobtrusive js instead, perhaps something like... script ... $(function(){ $(SELECT).change(function(){ f(this.selectedIndex) }); // or: $(SELECT).change(function(){ // This old js method will

[jQuery] Re: Newbie question on hide objects

2007-10-26 Thread Adrian Lynch
How about creating the form once and moving it to where ever it's needed. This assumes you can only have one form displayed at a time. Failing that. Make one form and clone it each time it's needed. Adrian On Oct 25, 9:15 pm, Merlin [EMAIL PROTECTED] wrote: Hello everybody, I am trying to

[jQuery] Re: Modding WYMeditor dialogs

2007-10-26 Thread Paul Colomiets
Hydro007 wrote: I'm trying to load he WYMeditor dialogs in a seperate div instead of a popup window. This all works quite nice, but I have some issues when it comes to retrieving the submitted data and inserting it into the WYMeditor instance. Right now i'm stuck at the point where var

[jQuery] Re: open file after posting data

2007-10-26 Thread Adrian Lynch
If I understand correctly, yes it is. Use the form plugin to post the form data then in the callback call the onclick of the link. Form plugin: http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js Sample code: script type=text/javascript src=/shared-scripts/

[jQuery] Re: How to set selected of Select box which works with Safari as well?

2007-10-26 Thread Adrian Lynch
Just a thought, maybe set it to be selected with attr(selected, selected). Adrian On Oct 26, 6:34 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I ajax load a list of options into a Select box and then set the value to 'AL', this will display the currently selected options as Alaska,

[jQuery] Re: Saving contents

2007-10-26 Thread Adrian Lynch
Yup, have a look at this: http://www.appelsiini.net/projects/jeditable Adrian On Oct 26, 5:53 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Thanks, what I want to do is, a list of items displayed in the div, if user click one of them, it will be erased and replaced with form, and

[jQuery] Re: DropDown list and selected Index - SelectedIndex ?

2007-10-26 Thread Adrian Lynch
Try selecting different options and clicking debug: $(function() { $(#debug).click(function() { var selected = $(#state [EMAIL PROTECTED]); alert(selected.text() + : + selected.val()); }); }); select name=state id=state option

[jQuery] Re: Changing form action with hidden field named action in IE causes error

2007-10-26 Thread Adrian Lynch
I'm in agreement. I've changed the name to 'act'. I won't tell you how long it took to debug the problem as it's kind of embarrassing! In case anyone else has issues like this, watch out for naming your submit button 'submit'. Adrian On Oct 26, 7:14 pm, Wizzud [EMAIL PROTECTED] wrote: There

[jQuery] setRequestHeader(Accept, text/xml) - problem with

2007-10-26 Thread AlexK
My server expects the dataType as text/xml. This is the code I use to set the the type. $(function() { $.ajax({ type: GET, url: location.href, dataType: xml, beforeSend : function(req) { req.setRequestHeader(Accept, text/xml); },

[jQuery] Re: Show/Hide divs depending on choice made in a select box

2007-10-26 Thread Adrian Lynch
Hey ioor, this sort of thing should be fairly straight forward, what are you having trouble with? To get you started: $(function() { $(#edit-taxonomy-3).change(editTaxonomyChanged); }); function editTaxonomyChanged() { var selectedOption = $([EMAIL PROTECTED]); alert(Do

[jQuery] Re: is it possible to call jqModal after the page has loaded?

2007-10-26 Thread Adrian Lynch
As far as I know you can run whatever JS you want in the a tags onclick attribute. Is it not working? Adrian On Oct 25, 4:21 pm, vanwil [EMAIL PROTECTED] wrote: Hi. I would like to call jqm on an element's onclick event. It does not work. Why is that? Is it MANDATORY to make these calls

[jQuery] Re: sortable problem ...

2007-10-26 Thread [EMAIL PROTECTED]
I just found this same issue, was trying to get some sortables to do an ajax call and couldn't get stop or update to work... Has anyone found a solution or work around for this? On Oct 24, 6:23 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have started to user the Sortables and I see that

[jQuery] Subscription problems

2007-10-26 Thread bostone
I changed my subscription options to Abridged Email and I still get each posting. I think it comes from some email archive service that I sign in with previously and I can't find link to it any longer (I signed through jQuery.com website) Any ideas?

[jQuery] [SITE] newsweek.com

2007-10-26 Thread Alexandre Plennevaux
wow, the redesigned newsweek.com uses jquery! HYPERLINK http://www.newsweek.com/id/57485http://www.newsweek.com/id/57485 Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte Lakensestraat/Rue de Laeken 104 B-1000 Brussel-Bruxelles-Brussels Belgie-Belgique-Belgium Tel:+32(0)2.219.65.55

[jQuery] Re: BlockUI Dialog + FireFox - Breaks down

2007-10-26 Thread Mike Alsup
I just tried it 10 times on that page without any problem. I'm also using 2.0.0.8. Maybe one of your FF plugins is causing a problem? On 10/26/07, Gediminas [EMAIL PROTECTED] wrote: Hey, When i'm trying to open BlockUI Dialog (Yes/No) few times in a row - my FireFox (v2.0.0.8) breaks down.

[jQuery] BlockUI Dialog + FireFox - Breaks down

2007-10-26 Thread Gediminas
Hey, When i'm trying to open BlockUI Dialog (Yes/No) few times in a row - my FireFox (v2.0.0.8) breaks down. Any solutions to this problem? If i'm trying to open BlockUI few times without that dialog - everything is ok... The same problem is not only on my page, but on BlockUI demo page also:

[jQuery] Re: Changing form action with hidden field named action in IE causes error

2007-10-26 Thread Mike Alsup
I'm in agreement. I've changed the name to 'act'. I won't tell you how long it took to debug the problem as it's kind of embarrassing! In case anyone else has issues like this, watch out for naming your submit button 'submit'. You must be very careful when naming your form inputs. IE

[jQuery] Re: clueTip feedback and suggestions

2007-10-26 Thread DaveG
Karl Swedberg wrote: thanks, Dave. You're right about that. Problem is, I'm not sure how to deal with it. I'm afraid I was too stingy with the DIVs when I decided on the HTML structure. The rounded-corner theme was an afterthought that I kind of shoe-horned into what was there. Guess that

[jQuery] Re: DropDown list and selected Index - SelectedIndex ?

2007-10-26 Thread Wizzud
var selected = jQuery('select :selected'); On Oct 26, 7:37 pm, Adrian Lynch [EMAIL PROTECTED] wrote: Try selecting different options and clicking debug: $(function() { $(#debug).click(function() { var selected = $(#state [EMAIL PROTECTED]);

[jQuery] Need a cookie to cap the frequency of my sliding div

2007-10-26 Thread somnamblst
I just tried the cookie I used with my scriptaculous sliding div it did not cap frequency. I would like my cookie to cap the frequency of $ ('#slidebar').slideDown(normal); but not prevent a user from using $ ('#slidebartrigger').click(function(){$ ('#slidebar').slideToggle(); }); to interact

[jQuery] Re: New Plugin: SimpleModal

2007-10-26 Thread Eric Martin
On Oct 26, 9:07 am, rober_t [EMAIL PROTECTED] wrote: I like it. Clean and simple. Thanks, robert Thanks robert! I just updated the demo's (http://www.ericmmartin.com/simplemodal/) and included client-side validation for the email address as well as a few other browser specific fixes. I

[jQuery] Re: BlockUI Dialog + FireFox - Breaks down

2007-10-26 Thread Gediminas
Yes you are right! The AI Roboform toolbar v6.9.1plugin was causing all my problems... (really strange though... i suspected some Web developer tools or FireBug :) Thanks for the idea to check FF plugins :) It saved lot's of time! Gediminas On 26 Spa, 23:35, Mike Alsup [EMAIL PROTECTED] wrote:

[jQuery] Re: BlockUI Dialog + FireFox - Breaks down

2007-10-26 Thread Gediminas
Yay! It helped! The plugin that was causing problems was AI Roboform Toolbar v6.9.1 Thanks! Gediminas btw i might have pressed not Reply to group, but Reply to author, while sending one message here, so Mike if you'll get an email - sorry, it had to go here ;) On 26 Spa, 23:35, Mike Alsup

[jQuery] Re: Edit in place: only one textfield open per page

2007-10-26 Thread Codex
Anyone? On 26 okt, 16:24, Codex [EMAIL PROTECTED] wrote: Hi, I'm using the code from the '15 days of jquery' demo of edit in place: http://15daysofjquery.com/examples/jqueryEditInPlace/demo.php JS:http://15daysofjquery.com/examples/jqueryEditInPlace/jqueryEIP.js I have a page that has

[jQuery] Re: clueTip feedback and suggestions

2007-10-26 Thread DaveG
And another buglet. In my implementation, for some reason, the bl.gif is not positioned correctly (ie, the bl corner is not visible/round, and it's squared off) -- this is across all browsers. I'm basically using the standard clueTip, with the rounded theme. However, removing the line:

[jQuery] Re: Checkboxes and radios

2007-10-26 Thread Wizzud
OK, so they're actually children of the grandparents (aunts/ uncles?)... var checkBoxes = $('.form-checkbox').click(function(e, triggered){ $(this).parent().siblings('input:radio')[0].disabled = triggered ? this.checked : !this.checked; }); $('#toggle').click(function(){

[jQuery] Re: Need a cookie to cap the frequency of my sliding div

2007-10-26 Thread Wizzud
Where does frequency come into your script? You have a one-off timeout delay, and 2 durations (on the animations) ... no frequency. I think there may possibly be more script (that's still relevant to the question)? Also, you should avoid setting html() on an element while it's being animated.

  1   2   >