[jQuery] Re: Getting element index, then adding text later to that index location

2008-07-01 Thread Michael Geary
I'm not quite following this. If you have a DOM element (i.e. this in your click function), and you want to do something with it later, simply save a reference to the element itself. Why do you want to use an index into a jQuery result array? Also, in a page with many elements, those * selectors

[jQuery] Re: Using tabs - how do I get tabs to load on a nested page?

2008-07-01 Thread Klaus Hartl
Why not using a for or wile loop for the repetetive adding? $(function() { $(#example ul).tabs({ cache: true, load: function(e, ui) { $(#seasons ul).tabs(); for (var year = 2008; year = 1996; year--) $(.seasonSelector).tabs(add,

[jQuery] Re: IE error on jquery braces {}

2008-07-01 Thread Klaus Hartl
The javascript protocol is obsolete in DOM Level 0 event handlers. Here's how I would write that piece of code: $(span/).addClass('tag').click(function() { showBookmarks(i); }).text(i).appendTo(#leftcol); Saves you the hassle with quoting and looks much cleaner, at least to me. --Klaus

[jQuery] Re: Cookie domain and path

2008-07-01 Thread Jörn Zaefferer
See http://dev.jquery.com/changeset/5759 Jörn On Tue, Jul 1, 2008 at 1:02 AM, jcruz [EMAIL PROTECTED] wrote: That seems like it would work fine as well. In the above patch, the user only needs to set the options they want to use. Unset options result the default cookie settings used by

[jQuery] tutorial: how to convert from thickbox to jqModal + how to load external url in jqModal

2008-07-01 Thread Alexandre Plennevaux
I hope that my little blurb will be useful to some of you :) http://www.pixeline.be/blog/2008/javascript-loading-external-urls-in-jqmodal-jquery-plugin/ Let me know if you have any comments, questions, ok ? -- Alexandre Plennevaux LAb[au] http://www.lab-au.com

[jQuery] What is the opposite of the jQuery.param() method? (to deserialise an object)

2008-07-01 Thread George Adamson
Hi all, If we use the $.param(myobject) method to serialise an object, how can we deserialise that string back to an object? Maybe that function exists somewhere and I'm having a mental block. Please help! In the absence of such a method I would do something like this: jQuery.extend({

[jQuery] Google Analytics Cross domain link tracking: My pain and (hopefully) as nice solution

2008-07-01 Thread Colin Guthrie
Hi, This is jQuery related so bear with me! I'm CCing someone who asked about this recently as I think this may help them. Apologies to you if this is out of turn :) I was recently asked by a client to implement cross domain link tracking. Fair enough, Google does this in their analytics

[jQuery] Re: Minor fixes required in order to play nice with other libraries that extend Object (code inside)

2008-07-01 Thread Bramus!
Hi Jörn, The problem in fact is Ext Related, yet can be reproduced without Ext: any library that expands the Array prototype with a function can be the wrongdoer. Create a new blank document (nothing needs to be in it), open up firebug and paste in the code below:

[jQuery] Strange jQuery cross-browser problem

2008-07-01 Thread vprelovac
Hi list, We are developing a site at http://www.trashortreasure.com.au/ When you click on an icon on a Google map, the info window opens and when you click on read more it should open a thickbox. Problem is that some of our users report the feature not working in FF3. Then for some it doesn't

[jQuery] clash in code? jQuery document ready and window.onload

2008-07-01 Thread ChrisQuery
hi, im new to jQuery and to programming in general so i hope this isnt a stupid question. A have an accordion which is animated to open and close when a user clicks a header div. The accordion holds a decent amount of content which takes some time load in ie (and only ie for some reason)

[jQuery] [treeview] hundreds of requests for images in IE6.

2008-07-01 Thread Darren
Hello, I am using the jQuery treeview plugin and when expanding nodes in IE6 the browser is making large amounts of requests for the supporting images. Is there a way around this so that each image is only requested once. I noticed that this also happens with the samples. Thanks. Darren.

[jQuery] Is there a way to add namespace to every css class?

2008-07-01 Thread Albert8752
Hi, Is there a way to add namespace to every css class? a. Dynamically on the page? b. If it is not possible dynamically, how to do it not dynamically. For example - Original css-- .nav {.some css atribute } .main {.some css atribute } .box {.some

[jQuery] How to display a Dialog Box (with confirmation buttons) when external link is clicked

2008-07-01 Thread Michael Brennan-White
jQuery Newbie question. I work for a state government and need to display a message letting the user know a link is to an external site. In the past I have obviously used a javascript alert() but would rather use something nicer which could hopefully allow the use of a background image and

[jQuery] Re: [jquery validate] Validating disabled inputs

2008-07-01 Thread oscarml
Ok, let me explain what I'm aiming. I have a form with 4 inputs: 2 of them are normal ones: enabled so user can write on them 2 other: disabled because the value is gonna be inside is not typed by the user directly, is filled from a grid placed in a modal window. So, when user double click in

[jQuery] patience is an art well learnt when one is at the mercy

2008-07-01 Thread britnispears007
patience is an art well learnt when one is at the mercy of nature do as romans live as romans god showers on you * http://glamourworldpriya.blogspot.com/ *

[jQuery] Re: Re[jQuery] moving character from title attribute

2008-07-01 Thread 5atfink
Works a treat. Gracias ! Karl Swedberg-2 wrote: Hi there, I think you can do it this way: $(#myDiv [title*='_']).attr('title',function () { return this.title.replace(/_/g,' '); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Extract the function signature from a list collection

2008-07-01 Thread helveticus
On a page, I have a list of dynamically generated image links 1, 2.. N that are displayed on the page as follows: div class=imgBg img id=imgProd src= alt=/ /div div id=imgEnum ul lispan class=sqr1

[jQuery] Retrieve function signature from a list

2008-07-01 Thread helveticus
I have a list of dynamically generated image hyperlinks that are displayed on a page as follows: div class=imgBg img id=imgProd src= alt=/ /div div id=imgEnum ul lispan class=sqr1 onmouseover=updImage('Images/aaa.01.jpg');1/span/li

[jQuery] AJAX Load posting script defined datas

2008-07-01 Thread PatrickPoncet
I'm a jquery beginer. I want to use the load function in a special way, the datas should be defined by th sript, depending on which part of my form I'm posting. My code is the following : $(.form_param).change(function(){ var param_val = $(this).val();

[jQuery] [treeview] hundreds of requests for images in IE6.

2008-07-01 Thread Darren
Hello, I am using the jQuery treeview plugin and am noticing that every time I expand and collapse nodes the browser is making hundreds of requests for the images associated with the tree. I notice it also happens on the treeview demo page. Does anyone have a workaround for this? Many Thanks.

[jQuery] cluetip drop shadow problem

2008-07-01 Thread hellmachine
hi, is there a way to get drop shadows on cluetips without a fixed width? i need width:auto because the content of the cluetip differs in width and the cluetip have to scale with the content. but with width:auto the shadow just disappears, at least in ie6. any ideas?

[jQuery] jScrollPane - maintainPosition malfunction

2008-07-01 Thread Luxiouronimo
nope, i spoke too soon.. for the life of me, i can not get jScrollPane's maintainPosition to work, and in searching for this keyword, i find i am not alone. i put together the most concise example i can imagine; http://beta.dsub.net/ as far as i can tell, maintainPosition will only work

[jQuery] Multiple tabs on one page..?

2008-07-01 Thread t1mmie
Hey all, There's a few ways that I could pull off this kind of effect... But I have used the jUI Tabs plugin - www.webhero.co.uk/test The problem is, as you may find, that not all of the tabs work correctly! The first 2 or 3 do, but the last never does - and for what seems to be no reason! I

[jQuery] Re: zebra striping + flashing/blinking effect?

2008-07-01 Thread [EMAIL PROTECTED]
A zebra stripe doesn't need any Javascript given IE7, either. The tr:hover bit is accepted by the browser if your doctype is set to strict mode. On Jun 30, 10:15 pm, sketchy [EMAIL PROTECTED] wrote: I recently got acquainted with jquery and implemented this tutorial on zebra striping to my

[jQuery] Re: Lightbox alternative that supports .php files

2008-07-01 Thread Chris
you can also use facebox with external files, objects or divs. http://famspam.com/facebox

[jQuery] Re: jqModal - How to close the modal box from an iframe

2008-07-01 Thread Hypolite
tlphipps wrote: Based on my experiences with thickbox, I don't believe this is true. I have code in thickbox iframes which will close the thickbox window whenever I call it. I use something like: document.top.tb_remove() (can't remember exact syntax) Ok, starting from your suggestion

[jQuery] Re: dimensions, RTL and IE offset problem

2008-07-01 Thread iTsadok
Hmm... adding a DOCTYPE tag at the top of the html seems to resolve this. Can anyone shed light on this? However, now I have a different problem: when content grows to the left, offset().left seems to grow by the overflow size. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/

[jQuery] Re: Strange jQuery cross-browser problem

2008-07-01 Thread Dan G. Switzer, II
Vladimir, We are developing a site at http://www.trashortreasure.com.au/ When you click on an icon on a Google map, the info window opens and when you click on read more it should open a thickbox. Problem is that some of our users report the feature not working in FF3. Then for some it

[jQuery] tutorial: how to convert from thickbox to jqModal + how to load external url in jqModal

2008-07-01 Thread pixeline
I hope that my little blurb will be useful to some of you: in this article i explain how to use jqModal with anchors pointing to external url, or in iframe mode, to put it differently. I also describe how to convert an old thickbox implementation into a jqModal implementation without touching the

[jQuery] Re: Best way to detect between jQuery triggered event and actual browser-based event...

2008-07-01 Thread Dan G. Switzer, II
Hmmm...that hasn't come up for me yet. Seems like the way you're doing it would be the way to go for now. Maybe in the next jQuery version they could add a key internalTrigger or something like that to the event object when the trigger method is run. Needing to determine the difference is a

[jQuery] Re: jqModal r12 release

2008-07-01 Thread Alexandre Plennevaux
On Mon, Jun 30, 2008 at 8:29 PM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: aloha Brice! Further to my previous message, i've been trying some but didn't get much success with this, maybe you can help me: basically, my app is full of thickbox calls where urls are parts of the url query

[jQuery] Re: Issue using a long array in jquery autocomplete

2008-07-01 Thread Gearóid O'Ceallaigh
Hi, thanks for the reply. I can't post the page since the site is being developed locally. I figured out several things that may prove useful however. I tried using a group of the data to see if this was the problem. IE6 returned the same error: Unterminated String Contstant but I noticed that

[jQuery] Re: Using tabs - how do I get tabs to load on a nested page?

2008-07-01 Thread Sam
Of course that is better - thanks for the good catch. On Jul 1, 1:44 am, Klaus Hartl [EMAIL PROTECTED] wrote: Why not using a for or wile loop for the repetetive adding? $(function() {     $(#example ul).tabs({         cache: true,         load: function(e, ui) {             $(#seasons

[jQuery] Re: trouble with fadeIn and fadeOut on a element in ie6 and ie7, works in firefox

2008-07-01 Thread mjatharvest
Wanted to mention it works in Firefox 3 and Safari 3.

[jQuery] Re: Google Analytics Cross domain link tracking: My pain and (hopefully) as nice solution

2008-07-01 Thread Colin Guthrie
Colin Guthrie wrote: I have solved all of these issue and implemented an example (attached - hopefully) that shows the various methods in action with lots of comments. I did of course forget to change the URL of the jquery inclusion before I posted: d'oh! Just correct this if you are

[jQuery] Fadein with ajax load()

2008-07-01 Thread Pickledegg
I'm using an ajax load() with an onChange event: $('#id-of-my-div').load('somescript.php?name='+escape($(this).val())); Which is lovely, but how can I add a fadeIn to it so that every time my div is updated, it fades into the div in a sultry provocative fashion? Thanks.

[jQuery] Re: Validating disabled inputs

2008-07-01 Thread MorningZ
Use readonly instead of disabled See: http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html

[jQuery] Re: (Newbie Help) Cluetip not showing up

2008-07-01 Thread Karl Swedberg
Hi again, You have a couple problems here. 1. None of the rounded corner examples are using a selector that will select the link you're trying to activate with a clueTip. If you only want one clueTip to appear, and you want it to appear when hovering over that first image (or, more

[jQuery] Re: Minor fixes required in order to play nice with other libraries that extend Object (code inside)

2008-07-01 Thread Jörn Zaefferer
Okay, so the issue is that letsBreakStuff gets iterated together with the rest of the array, while it should be ignored, as it doesn't have a numerical index, right? How does that relate to your patch? Jörn On Tue, Jul 1, 2008 at 11:36 AM, Bramus! [EMAIL PROTECTED] wrote: Hi Jörn, The

[jQuery] Mirrored radio button select/disable problem

2008-07-01 Thread Luc Pestille
Hi, I've run out of brain power when it comes to a particular jQuery problem I've got - has anyone done something similar to this: I have two sets of radio buttons, both with the same list of items, and selecting one should disable it's respective duplicate in the other list. e.g. - (*)

[jQuery] Re: jqModal r12 release

2008-07-01 Thread tlphipps
Alexandre, Thanks for writing this. It's a really great reference. I posted this question on your blog too, but thought I'd repost here and get feedback from others (maybe even Brice). What are the advantages/disadvantages of using jqmodal vs. using the new ui.dialog? I'm also wanting to get

[jQuery] [autocomplete] Multiple Values, Update Hidden Field

2008-07-01 Thread lfrodrigues
Hello, I'm trying to to a message sending system. The message may have multiple destinations so i'm using the something similar to Multiple Birds (http://jquery.bassistance.de/autocomplete/demo/) When I add a new user it's id get added to the hidden field (with is correct). But if I delete a

[jQuery] Re: Moving mouse fast causes mouseout not to fire

2008-07-01 Thread Shaun
Thanks for the reply. I actually tried that. This was my first attempt: $(#Layer-4).addClass(defHide).hide(); $(#Layer-3).hover( function(){ $(#Layer-4).show(); $(#Layer-3).hide(); }, function(){ $(#Layer-3).show(); $(#Layer-4).hide(); }); ... And that doesn't work because I'm

[jQuery] [autocomplete] Multiple Values, Update Hidden Field

2008-07-01 Thread lfrodrigues
Hello, I'm trying to to a message sending system. The message may have multiple destinations so i'm using the something similar to Multiple Birds (http://jquery.bassistance.de/autocomplete/demo/) When I add a new user it's id get added to the hidden field (with is correct). But if I delete a

[jQuery] Re: Best way to detect between jQuery triggered event and actual browser-based event...

2008-07-01 Thread Dan G. Switzer, II
Needing to determine the difference is a corner case, but it's an issue I've run into from time-to-time. For example, I've got a plug-in where I've got a click event set to toggle the current visibility of an element. However, if I call that event programmatically I always want to make sure that

[jQuery] Re: IE error on jquery braces {}

2008-07-01 Thread Ariel Flesler
Yeah, I was about to mention. We don't support string event handlers using attr(). It won't work on IE and it'd be useless to worry about that within attr(). -- Ariel Flesler http://flesler.blogspot.com On 1 jul, 03:51, Klaus Hartl [EMAIL PROTECTED] wrote: The javascript protocol is obsolete

[jQuery] Re: AJAX Load posting script defined datas

2008-07-01 Thread Ariel Flesler
$(.form_param).change(function(){ var data = {}; data[ this.name ] = this.value; $(#moniteur).load(session_maj.php, data); }); -- Ariel Flesler http://flesler.blogspot.com On 1 jul, 05:40, PatrickPoncet [EMAIL PROTECTED] wrote: I'm a jquery beginer. I want to use the load function

[jQuery] Re: Mirrored radio button select/disable problem

2008-07-01 Thread Luc Pestille
As is usually the case, 30 minutes after posing the question, I figure it out myself. For those that are interested: radio class=first_choice id=choice_1 / radio class=first_choice id=choice_2 / radio class=first_choice id=choice_3 / radio class=second_choice id=choice_1b / radio

[jQuery] Shadowbox 2.0rc1

2008-07-01 Thread Michael J. I. Jackson
If you're using the Shadowbox jQuery plugin, it has been updated. The new version features increased flexibility and stability for various media types. It also includes much better support for i18n and skinning. Just wanted to let you know in case you are using it.

[jQuery] Re: Shadowbox 2.0rc1

2008-07-01 Thread Glen Lipka
Is there a homepage for this plugin? I cant seem to find it. Glen On Tue, Jul 1, 2008 at 9:44 AM, Michael J. I. Jackson [EMAIL PROTECTED] wrote: If you're using the Shadowbox jQuery plugin, it has been updated. The new version features increased flexibility and stability for various media

[jQuery] Re: Shadowbox 2.0rc1

2008-07-01 Thread tlphipps
http://mjijackson.com/shadowbox/ On Jul 1, 12:37 pm, Glen Lipka [EMAIL PROTECTED] wrote: Is there a homepage for this plugin? I cant seem to find it. Glen On Tue, Jul 1, 2008 at 9:44 AM, Michael J. I. Jackson [EMAIL PROTECTED] wrote: If you're using the Shadowbox jQuery plugin, it

[jQuery] Multiple File Upload Update

2008-07-01 Thread Diego A.
Annoucement to anyone using this plugin: - MAJOR BUG FIX - New documentation website - Documentation available to download (works off-line just as it does online)

[jQuery] Star Rating Plugin

2008-07-01 Thread Diego A.
Announcement to anyone using this plugin: - MAJOR BUG FIXES: - - split stars did not work in hidden layers - - now works without dimensions plugin - New documentation - Documentation can be downloaded (works off-line just as it does online)

[jQuery] Re: Multiple File Upload Update

2008-07-01 Thread Diego A.
Oops, forgot to post the link: http://www.fyneworks.com/jquery/multiple-file-upload/ On Jul 1, 6:48 pm, Diego A. [EMAIL PROTECTED] wrote: Annoucement to anyone using this plugin: - MAJOR BUG FIX - New documentation website - Documentation available to download (works off-line just as it does

[jQuery] Re: Star Rating Plugin

2008-07-01 Thread Diego A.
Oops, forgot to post a link: http://www.fyneworks.com/jquery/star-rating/ On Jul 1, 6:50 pm, Diego A. [EMAIL PROTECTED] wrote: Announcement to anyone using this plugin: - MAJOR BUG FIXES:  - - split stars did not work in hidden layers  - - now works without dimensions plugin - New

[jQuery] getJSON callback bug

2008-07-01 Thread Robert O'Rourke
Hi all, I think there may be a bug with the getJSON callback function. See http://www.sanchothefat.com/dev/jquery/json/ An alert should show and the body should turn blue if it's successful. Using firebug you can see it gets the file. I don't know what's wrong. MIME type maybe? Cheers,

[jQuery] Re: Retrieve function signature from a list

2008-07-01 Thread helveticus
I forgot about Firebug! After some debugging, I came up with the code below which solves the problem: jQuery(document).ready(function() { spn0 =$(#imgEnum ul li span).get(0); // Extract span content from the first list element sigimgURL =spn0.attributes[0].nodeValue; // Get mouseover

[jQuery] Adding a privileged function to a class in a separate file.

2008-07-01 Thread lrbabe
Hello there, I am building a class in a namespace extending jQuery this way : ;(function($) { $.myNamespace = $.myNamespace || {}; $.extend($.myNamespace, { myClass: function() { this.myPrivilegedFunction = function() { return myVar; } var myVar =

[jQuery] Re: getJSON callback bug

2008-07-01 Thread armsteadj1
It's the format of your json.js http://www.codejames.com/temp/test.html On Jul 1, 1:31 pm, Robert O'Rourke [EMAIL PROTECTED] wrote: Hi all, I think there may be a bug with the getJSON callback function. Seehttp://www.sanchothefat.com/dev/jquery/json/ An alert should show and the body

[jQuery] .submit with ajax inside

2008-07-01 Thread DXCJames
In the code below It seems that if i uncomment the return true; at the bottom it seems to happen before the ajax call is complete.. is there anyway to force it to wait for the call or have the call back return true or false and have that be returned to the submit's function?

[jQuery] Re: Minor fixes required in order to play nice with other libraries that extend Object (code inside)

2008-07-01 Thread Bramus!
Hi Jörn, exactly, the function gets iterated too and is considered as the last element of the array. When passed on to autocomplete, it will break as s.toLowerCase() is invalid when s isn't a string. Therefore; my patch over at

[jQuery] Noob question about accessing element contents

2008-07-01 Thread ml1
Hi: I'm a noob, so please be kind. I am using jquery to parse some xml. I'm looking for the best practice to access an elements text contents. Let's say my xml looks like this: items item Hello world! /item item Goodnight moon! /item items I can get a wrapped set of

[jQuery] Re: select option name attribute

2008-07-01 Thread Happy
$('select[name=textselector] option:selected').attr('name') On Jun 25, 7:07 pm, chasryder [EMAIL PROTECTED] wrote: How do I retrieve the name attribute of a selectedoptionusing jquery. IE: selectname=textselector optionname=11Text/option optionname=12Text 2/option /select In this

[jQuery] Re: Shadowbox 2.0rc1

2008-07-01 Thread Atanasio Segovia
This looks like the home page: http://mjijackson.com/shadowbox/ -asegovia On Tue, Jul 1, 2008 at 10:37 AM, Glen Lipka [EMAIL PROTECTED] wrote: Is there a homepage for this plugin? I cant seem to find it. Glen On Tue, Jul 1, 2008 at 9:44 AM, Michael J. I. Jackson [EMAIL PROTECTED]

[jQuery] Re: X_REQUESTED_WITH ie6

2008-07-01 Thread armsteadj1
hey ken, I tracked it down.. its because of getJSON using the cached version.. that is what was wrong with mine.. it works fine if you use $.ajax and with json as the return type and cache to false.. =D On Jun 28, 1:10 pm, Ken Gregg [EMAIL PROTECTED] wrote: This may not be an IE6 problem. I

[jQuery] Superfish - button width

2008-07-01 Thread MossyOwls
Hey, Sorry if this is an elementary question, but what is the easiest way to set up the superfish menu so that each main menu button has its own width, depending on the length of the content? I got the menu working without any problems, but all the example css files are made with buttons that

[jQuery] Re: jCarousel Lite and IE6/7

2008-07-01 Thread SeanR
Any one able to help with this request? Thanks SeanR On Jun 24, 7:34�pm, SeanR [EMAIL PROTECTED] wrote: Hi all, I'm having problems getting jCarousel Lite working in IE6 7 http://www.gmarwaha.com/jquery/jcarousellite/ Firefox works fine, but the unordered list does not get any styling

[jQuery] I am making a Drag/Drop applications BUILDER (feedback appreciated)

2008-07-01 Thread lorlarz
I am making a Drag/Drop applications BUILDER (feedback appreciated): http://mynichecomputing.com/GuideInfoandPlanner/UniversalDD.htm The user interface is done, but it does no building. Whole thing may be done in a couple of days. BUT, I would like any input/feedback/ideas or suggestions.

[jQuery] Re: clash in code? jQuery document ready and window.onload

2008-07-01 Thread ChrisQuery
Solved, the accordion script has a few $ used in it. By using the jQuery.noConflict function everything now works happely ever after :) On Jul 1, 3:16 am, ChrisQuery [EMAIL PROTECTED] wrote: hi, im new to jQuery and to programming in general so i hope this isnt a stupid question. A

[jQuery] Including the submit element in the querystring.

2008-07-01 Thread LTG
Serialize is a great method to automatically prepare a form, but it doesn't include the element that initiated the submit in the case where I attach a click event to a div and call submit from the click event. Is there a typical pattern to adding the submit element to the serialized string so

[jQuery] Re: (Newbie Help) Cluetip not showing up

2008-07-01 Thread datatv
Well, actually there is a file there in that folder so I don't know why you're not getting it. I followed your lead though and deleted all the .js from that page and added yours and I get the rounded corners box and then added all the other features I want like arrows and now they show up too.

[jQuery] Re: Retrieve function signature from a list

2008-07-01 Thread helveticus
Well the code works! I guess the browser kept staled values in the cache causing the code to fail. The js script looks as follows: script type=text/javascript jQuery(document).ready(function() { spn0 =$(#imgEnum ul li span).get(0); // Extract span cnt from first list element sigimgURL

[jQuery] Re: Multiple tabs on one page..?

2008-07-01 Thread Klaus Hartl
Why dou you initialize tabs twice? This is sufficient: $('#1 ul, #2 ul, #3 ul, #4 ul').tabs({ selected: null, unselect: true, fx: { height: 'toggle', opacity: 'toggle'} }); Apart from that I couldn't see any difference between the two pags and also couldn't see what is wrong with tabs.

[jQuery] Re: hundreds of requests for images in IE6.

2008-07-01 Thread Klaus Hartl
I think this is the typical IE flickering background images problem. Googling flicker background will give you lots of information... Also, I think it only occurs if oyu turn off cache in IE. --Klaus On Jul 1, 11:21 am, Darren [EMAIL PROTECTED] wrote: Hello, I am using the jQuery treeview

[jQuery] Re: getJSON callback bug

2008-07-01 Thread MorningZ
You are missing commas in between your inner {}'s for instance, your JSON is this (and this is just the first two records) { 275: { tags: , name: 1st Wickham Scout Group, code: 1stWickhamScoutGroup } 1: {

[jQuery] Re: ajaxSubmit plugin question

2008-07-01 Thread Mike Alsup
var options = {  target: '#results',  beforeSubmit: toggleSubmit(true),  success: toggleSubmit(false) }; Just create two anonymous functions like this: var options = { target: '#results', beforeSubmit: function() {toggleSubmit(true)}, success: function() {toggleSubmit(false)}

[jQuery] Re: Star Rating Plugin

2008-07-01 Thread Jack Killpatrick
Thanks Diego. I'm in the process of evaluating your plugin to use in a project and it's nice to see an update (ie, that the project is alive). :-) - Jack Diego A. wrote: Oops, forgot to post a link: http://www.fyneworks.com/jquery/star-rating/ On Jul 1, 6:50pm, "Diego A." [EMAIL

[jQuery] Re: Noob question about accessing element contents

2008-07-01 Thread Mike Alsup
I am using jquery to parse some xml.  I'm looking for the best practice to access an elements text contents. Let's say my xml looks like this: items   item      Hello world!    /item    item       Goodnight moon!    /item items I can get a wrapped set of the elements this way:

[jQuery] Re: Including the submit element in the querystring.

2008-07-01 Thread Mike Alsup
Serialize is a great method to automatically prepare a form, but it doesn't include the element that initiated the submit in the case where I attach a click event to a div and call submit from the click event. Is there a typical pattern to adding the submit element to the serialized string

[jQuery] Re: Including the submit element in the querystring.

2008-07-01 Thread Carl Von Stetten
By default, the jQuery.ajax (or $.ajax) function uses the get method, which passes the data as a querystring tacked onto the url. So does the jQuery.get (or $.get) function. This is the same as a form submitted using the get method. If you are using the $.ajax function, you can set the

[jQuery] Re: Multiple tabs on one page..?

2008-07-01 Thread t1mmie
Ok, that was just how it was in the official fading tab example. I'm having trouble with the last tab working on IE7, FF3, and Opera 9.5... Is it just me!? All of the tabs work ok, but the last one doesn't seem to, and the third one isn't if the first two are open. The tabs should still also

[jQuery] Re: Including the submit element in the querystring.

2008-07-01 Thread LTG
Is there a place that explains the differences in functionality between the core and the forms plugin? I came across a 2006 thread where so many people supported adding the functionality to the core that I just assumed it happened. thanks for the reply, ltg On Jul 1, 5:03 pm, Mike Alsup

[jQuery] Re: Including the submit element in the querystring.

2008-07-01 Thread Mike Alsup
Is there a place that explains the differences in functionality between the core and the forms plugin? I came across a 2006 thread where so many people supported adding the functionality to the core that I just assumed it happened. You're right, a good portion of the Form Plugin's

[jQuery] Preventing form field caching on refresh...

2008-07-01 Thread Dan G. Switzer, II
Does anyone know a reliable way to prevent form field caching on a page reload? I want all form fields to return to their original state (aka defaultValue.) I'm developing a page and I really need the form to always return to it's original HTML state. The page isn't being cached, but FF is

[jQuery] Re: Fadein with ajax load()

2008-07-01 Thread Equand
try $('#id-of-my-div').load('somescript.php?name='+escape($(this).val()), {},function(){ $('#id-of-my-div').fadeIn(slow) }); http://docs.jquery.com/Ajax/load#urldatacallback On 1 июл, 14:26, Pickledegg [EMAIL PROTECTED] wrote: I'm using an ajax load() with an onChange event:

[jQuery] Re: getJSON callback bug

2008-07-01 Thread sanchothefat
D'oh, Thanks. It's been a long day... On 1 Jul, 21:30, MorningZ [EMAIL PROTECTED] wrote: You are missing commas in between your inner {}'s for instance, your JSON is this (and this is just the first two records) {                 275: {                 tags: ,                 name: 1st

[jQuery] Assigning the value of a field to another hidden field.

2008-07-01 Thread JimD
Hi all, Quick question regarding retrieving a field value. I have the following code. Basically based on a select menu option I want to set a hidden field to specific value depending on what is selected. So if the user selects Urgent or Critical the hidden field would be set to the value of

[jQuery] Re: Assigning the value of a field to another hidden field.

2008-07-01 Thread Michael Geary
A few notes... == is the comparison operator, not the assignment operator. = is the assignment operator. $().val is a *method*, not a property. $().val() retrieves the value, and $().val(newvalue) sets the value. (So you wouldn't want to use the assignment operator anyway.) You're setting a

[jQuery] comet long polling with jquery

2008-07-01 Thread cambazz
hello, I finally got my server to run an example comet application, which uses the long polling method. The example code I got uses prototype library, which i dont want to use. I understand there is a comet plugin for jquery that supports the bayeux protocol, which is not what I want.

[jQuery] comet long polling with jquery

2008-07-01 Thread cambazz
hello, I finally got my server to run an example comet application, which uses the long polling method. The example code I got uses prototype library, which i dont want to use. I understand there is a comet plugin for jquery that supports the bayeux protocol, which is not what I want.

[jQuery] Targeting elements with more than one class

2008-07-01 Thread jez_p
Please excuse my noobiness, I just started playing with jQuery today and I cannot seem to find the answer to this: If you have elements with multiple classes, how do target just one class? For example: p class=big blueblah blah blah/p p class=big greenblah blah blah/p p class=small greenblah

[jQuery] Targeting elements with more than one class

2008-07-01 Thread jez_p
Please excuse my noobiness, I just started playing with jQuery today and I cannot seem to find the answer to this: If you have elements with multiple classes, how do target just one class? For example: p class=big blueblah blah blah/p p class=big greenblah blah blah/p p class=small greenblah

[jQuery] Re: Targeting elements with more than one class

2008-07-01 Thread Mike Alsup
Please excuse my noobiness, I just started playing with jQuery today and I cannot seem to find the answer to this: If you have elements with multiple classes, how do target just one class? For example: p class=big blueblah blah blah/p p class=big greenblah blah blah/p p class=small

[jQuery] ClueTip: Rounded Corners not appearing correctly

2008-07-01 Thread datatv
I've got my tooltip now pretty much in order expect for one problem. The rounded corner placement on the tooltip. Seems the bottom right corner is going just below the Close text link instead of actual bottom of the box. If you go to this page: http://www.datatv.com/sw/SW_wp_sampler.html and

[jQuery] Re: Shadowbox 2.0rc1

2008-07-01 Thread Karl Swedberg
Thanks for the update, Michael. I'm a big fan. :-) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 1, 2008, at 12:44 PM, Michael J. I. Jackson wrote: If you're using the Shadowbox jQuery plugin, it has been updated. The new version features

[jQuery] Re: (Newbie Help) Cluetip not showing up

2008-07-01 Thread Karl Swedberg
Hi, well, I don't know about easily, but you can set the sticky option to true and then use Firebug to inspect the element once it's visible (or even when it's hidden, actually). Here is the structure of a fairly typical rounded-corner, sticky tooltip: div id=cluetip

[jQuery] The Cycle plugin and residue

2008-07-01 Thread Bruce MacKay
Hello folks, I'm using the Cycle plugin to display annotated slideshows - I'm having problems with it remembering and presenting the titles of previous slideshows. My sequence is this: 1. The page is loaded and the current slideshow is started $(document).ready(function() { ...

[jQuery] Re: comet long polling with jquery

2008-07-01 Thread Mike Alsup
hello, I finally got my server to run an example comet application, which uses the long polling method. The example code I got uses prototype library, which i dont want to use. I understand there is a comet plugin for jquery that supports the bayeux  protocol, which is not what I want.

[jQuery] Re: The Cycle plugin and residue

2008-07-01 Thread Mike Alsup
On Jul 1, 8:58 pm, Bruce MacKay [EMAIL PROTECTED] wrote: Hello folks, I'm using the Cycle plugin to display annotated slideshows - I'm having problems with it remembering and presenting the titles of previous slideshows. My sequence is this: 1. The page is loaded and the current

[jQuery] Re: zebra striping + flashing/blinking effect?

2008-07-01 Thread sketchy
I think you misunderstood my post. It works fine but i'm looking to add more with an effect such as flashing/blinking rows to represent that its important to the visitor to check it out. On Jul 1, 2:55 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: A zebra stripe doesn't need any Javascript

  1   2   >