[jQuery] Re: clueTip plugin: Passing values via AJAX to the clueTip, then passing values back to the parent page to update div content

2008-05-04 Thread Karl Swedberg
Hi there, Sorry for the delay in responding. Take a look at the onShow option. you can call a function when the clueTip is shown and bind event handlers at that time as well. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 1, 2008, at 1:32 AM,

[jQuery] Re: Which jQuery book to choose?

2008-05-04 Thread Lee O
You don't think both books is overkill? Not to say that you can ever "learn too much", but i imagine the books are only 85-90% different from eachother (in physical ideas and code). They obviously do things slightly different, but i imagine a vast majority of the end content learned is the same. A

[jQuery] jquery tabs: removing old loaded content from DOM

2008-05-04 Thread [EMAIL PROTECTED]
Hi, If I have JQuery Tabs, say I select tab 2, it loads HTML, and then I select tab 3. How when selecting tab 3 can I remove from the DOM the content loaded by tab 2? - Dave

[jQuery] jMP3 plugin: Preventing more than one song from playing at the same time.

2008-05-04 Thread Louder Than Ten
Does anyone have any experience manipulating the jMP3 plugin (http:// www.sean-o.com/jquery/jmp3/) to stop songs when new ones are started? Here is the site I've implemented it on: http://gataylor.travinternet.com I would like to prevent more than one song playing at the same time. I'm assuming

[jQuery] Re: Need help on jQuery.browser.version

2008-05-04 Thread Michael Geary
Like this? // See http://developer.apple.com/internet/safari/uamatrix.html for Safari versions if( $.browser.safari && $.browser.version < 523 ) document.write( 'test' ); else document.write( 'test' ); As an aside, note how the use of single quotes for the strings

[jQuery] Re: New to jQuery.. Seeking help with early ideas

2008-05-04 Thread Hamish Campbell
First of all, hide the div so it's initially... err.. hidden. $('#subNav').hide(); Now you can throw in a function to call when the div loads content: $("a#interactive").click(function () { $("#subNav").load("work_interactive.html", {}, function() { $(this).show('slow'); // change t

[jQuery] Re: jQuery Form Plugin file upload problem

2008-05-04 Thread Mike Alsup
> I'm attempting to use the jQuery Form Plugin on a page that has > multiple forms. The particular form I am using to allow the uploading > of files is the third form on the page. I'm also using that form > within a modal dialog box, using the SimpleModal jQuery plugin. I > have a Java Ser

[jQuery] Re: jQuery Form Plugin file upload problem

2008-05-04 Thread Mike Alsup
> I'm attempting to use the jQuery Form Plugin on a page that has > multiple forms. The particular form I am using to allow the uploading > of files is the third form on the page. I'm also using that form > within a modal dialog box, using the SimpleModal jQuery plugin. I > have a Java Ser

[jQuery] Superfish Menu

2008-05-04 Thread gijinka
I am having a bit of an issue in IE6 and IE7. The drop down menu apears behiend any element with a position relative. You can see this on the gallery test I have set up. http://www.jadearts.com/test/examples/lightbox.php. I have a positon relative set to the tags so that the title appears in th

[jQuery] New to jQuery.. Seeking help with early ideas

2008-05-04 Thread jkab
I'm currently loading an external .html file on click. The code is: $("a#interactive").click(function () { $("#subNav").load("work_interactive.html"); }); However, I'm having difficulty trying to learn how to add effects on the content's load in. Maybe a fade in, or a drop down of the div,

[jQuery] jQuery Form Plugin file upload problem

2008-05-04 Thread dtc
Hi, I'm attempting to use the jQuery Form Plugin on a page that has multiple forms. The particular form I am using to allow the uploading of files is the third form on the page. I'm also using that form within a modal dialog box, using the SimpleModal jQuery plugin. I have a Java Servlet handl

[jQuery] Need help on jQuery.browser.version

2008-05-04 Thread chrbar
Hello, I saw there were a Browser Detect included with jQuery. I would like to use two different code line in my Web page depending of the browser version: If the browser is Safari and the version is older than 3, the code line is: test Else (for all other browsers including Safari 3), the code

[jQuery] Re: Which jQuery book to choose?

2008-05-04 Thread Rey Bango
Lee, Both books are great and offer insight into jQuery. I'm actually reading Learning jQuery for a review for Packt and while going through it, I've had a couple of "Whoa, I didn't know I could do that!" moments. The jQuery In Action book is equally awesome and a little more up-to-date but

[jQuery] Re: hover and fadin and fade out need help...

2008-05-04 Thread Aaron
No not a drop down. I want it just like a table or look how a tool tip looks but I want the stuff inside the table area to be clickable. Like I have a photo of a person and I want that person to be able to put the mouse over the photo to fade in their photo album with other photos in a sqaure win

[jQuery] Re: processing json object

2008-05-04 Thread Nicola Rizzo
success: function(json, status){ var records = json.Records; var str = ""; if(records){ for(var i = 0; i < records; records++){ for(var j in records[i]){ str += j + " --> " + records[i][j] + "\n"; } } window.alert(str); }

[jQuery] JSON doesn't work

2008-05-04 Thread Zae
Hope anyone here can help me, i'm having some problems with $.getJSON. http://tsdme.nl/digitaalmuseum/ This page is using getJSON to get information about a painting and then loads it. Only problem... it doesn't work in other browsers except Firefox, sometimes at least... refreshing seems to wor

[jQuery] Re: Simple Ajax calls to server for data

2008-05-04 Thread dineshv
Hey, thanks. The $.get JSON sounds right. How do I now construct the Ajax Json statement? The Json data is being returned from the server in a list called 'result'. Cheers! Dinesh On May 4, 1:47 pm, the_woodsman <[EMAIL PROTECTED]> wrote: > If your AJAX call returns JSON, you might be better

[jQuery] Which jQuery book to choose?

2008-05-04 Thread Lee Olayvar
I'm a beginner to javascript, and am in need of learning Ajax & jQuery (mainly ajax in jquery, for now) fast. With that said, out of the two books listed on http://jquery.com/ , can anyone give any insight on which i should choose? I'm having a heck of a time deciding.. heh.

[jQuery] Re: Simple Ajax calls to server for data

2008-05-04 Thread the_woodsman
If your AJAX call returns JSON, you might be better off using the JSON specific ajax methods. If you're new to JQ and JS, do you use Firebug in Firefox? With that tool, you can more easily check what's being returned from your ajax call etc. On May 4, 9:18 pm, dineshv <[EMAIL PROTECTED]> wrote:

[jQuery] Re: treeview - async - problems reinitializing tree

2008-05-04 Thread rolfsf
thanks jpmcc! I was pondering that at the end of the day Friday what if we just remove() the entire UL? Seems like an extra step, but if it works that's great news. rolf On May 4, 1:11 pm, jpmcc <[EMAIL PROTECTED]> wrote: > I've just been battling with the very same problem. I tried emptyi

[jQuery] Re: treeview - async - problems reinitializing tree

2008-05-04 Thread jpmcc
I've just been battling with the very same problem. I tried emptying out the element too, but found the duplicated divs with the side effect that sub branches would not open even though valid data had been retrieved using the async extension (and the data was sitting in the tree but hidden). I d

[jQuery] Simple Ajax calls to server for data

2008-05-04 Thread dineshv
First, I'm very new to JS/JQ. I've got a simple HTML list of items that I want updated from the server whenever the user requests it (by hitting a submit button). The results from the (Python/webpy) server are held in a list result[]. Here is the html: "$result[0]" "$result[1]" "$

[jQuery] Re: JQuery Ajax Form Plugin

2008-05-04 Thread Pedro Mendonça
Hi to all, After some debuging, I found the problem. Fireworks istn't dealing very well with the 'email.php' being in the same server. At least this is what I've found. I was using email.php in another server, where I can make my php 'mail' function to work, since It's not working on my XAMPP ins

[jQuery] Re: Problems with $.addClass()

2008-05-04 Thread Eddie
Have you already considered toggling those classes? $('#some_div').toggleClass('new_class').toggleClass('defaultClass'); Maybe you'll have to rewrite the 'new_class' properties to keep some persistent styles. On 4 maio, 11:37, Liam Byrne <[EMAIL PROTECTED]> wrote: > An explicit "by id" style set

[jQuery] Re: JQuery Ajax Form Plugin

2008-05-04 Thread Pedro Mendonça
Hi, My website have a lot of jQuery, tabs, accordions, etc. It seems that now I've isolated the problem it worked! Now, thanks to you, I'll have another go on this :) After this being solved, I'll start to search info on How to include the plugin Validate with this one FORM. Thanks. Pedro O

[jQuery] Re: JQuery Ajax Form Plugin

2008-05-04 Thread JP
i use the form plugin with firefox and it seems to work fine. On May 4, 7:36 am, Pedro Mendonça <[EMAIL PROTECTED]> wrote: > Hello, > > http://malsup.com/jquery/form/ > > I'm trying to implement the Form plugin in my site, but I have a > problem. I use ajaxForm to make the form send the variabl

[jQuery] processing json object

2008-05-04 Thread JP
how can I process values from json object without having to use indivual reference names? using json: ( {"Records": [ {"firstname":"Nancy","lastname":"Davolio"} ], "RecordCount":"1" } ) instead of : $.ajax({ .. success: function(json, status) { if(json.Records){alert("Records="

[jQuery] Re: hover and fadin and fade out need help...

2008-05-04 Thread Eddie
Is it like dropdown menu? Your markup is made of nested lists, right? On 4 maio, 11:25, Liam Byrne <[EMAIL PROTECTED]> wrote: > What's "li" meant to be - in that code it's not assigned at all > > If it's meant to be "every list item on the page", then it should be > $("li"), and you'll also n

[jQuery] Re: Why won't this get the image's width?

2008-05-04 Thread Eddie
Hi Bruce, You have to declare the image's width before getting it, but if it's not desired, you have to preload the image. On 4 maio, 07:08, Bruce MacKay <[EMAIL PROTECTED]> wrote: > Hello folks, > > This piece of code > > if (($('#theImage').length>0)) { > var img_width =

[jQuery] Re: hover and fadin and fade out need help...

2008-05-04 Thread Aaron
oh sorry when I pasted it I by mistake took out the"" ya it's the list item on the page. but I plan to make a id or class so that I can have many different lists. so I would check if it's visible or not by an if and then statment right I know programming but just want to know what function wou

[jQuery] Re: hover and fade in fade out problems...

2008-05-04 Thread Alexandre Plennevaux
hi Aaron, your function braces are missing, it should be: $(document).ready(function() { $("#image").hover( function () { $(this).append(' ***'); }, function () { $(this).find("span:last").remove();}); });

[jQuery] Re: JQuery Ajax Form Plugin

2008-05-04 Thread Mike Alsup
> Hello, > > http://malsup.com/jquery/form/ > > I'm trying to implement the Form plugin in my site, but I have a > > > problem. I use ajaxForm to make the form send the variables to > email.php that interpret the httpPOST variables and send mail by php. > This is working correctly in IE 7 but

[jQuery] JQuery Ajax Form Plugin

2008-05-04 Thread Pedro Mendonça
Hello, http://malsup.com/jquery/form/ I'm trying to implement the Form plugin in my site, but I have a problem. I use ajaxForm to make the form send the variables to email.php that interpret the httpPOST variables and send mail by php. This is working correctly in IE 7 but when I use firefox, it

[jQuery] Re: Problems with $.addClass()

2008-05-04 Thread Liam Byrne
An explicit "by id" style setting will always override a class-level style setting unless you use !important. Any way that you could have the some_div as a class instead of an ID ? That way the most recent applied class will override the initial setting. Liam rene.olivo wrote: Hello, I ha

[jQuery] Re: hover and fadin and fade out need help...

2008-05-04 Thread Liam Byrne
What's "li" meant to be - in that code it's not assigned at all If it's meant to be "every list item on the page", then it should be $("li"), and you'll also need to check whether or not the outer "ul" or "ol" for the li is visible. Liam Aaron wrote: well I don't plan using a class I a

[jQuery] Re: hover and fadin and fade out need help...

2008-05-04 Thread Aaron
well I don't plan using a class I am trying to use an id. in css I have stuff declared like #image{css stuff here;} here is the code I have. $("#image").hover( function(){ $(li).fadeIn("slow"); }, function(){ $(li).fadeOut("slow"); }, ); what I want to do is w

[jQuery] Re: Cycle Plugin and IE/FF

2008-05-04 Thread Mike Alsup
On Sat, May 3, 2008 at 9:56 PM, Bo <[EMAIL PROTECTED]> wrote: > > Hey, > > I am in the process of locally redesigning my blog and I wan to use > the cycle plugin to show my last 6 blogposts. I ran into some problems > doing this, though. The plugin works in Firefox, but it just won't > stop l

[jQuery] Re: Problems with $.addClass()

2008-05-04 Thread Karl Swedberg
Not sure why it doesn't work for you. Of course, I was using "#container" as an example. You would need to replace that with an actual ID of a containing element on your page. There's no reason it shouldn't work if you're identifying IDs and classes correctly. You could also modify the st

[jQuery] Re: Selector Madness! How to Select all the Text on a Page?

2008-05-04 Thread Balazs Endresz
Hi! Here's a plugin that does it for you: http://code.google.com/p/jquery-translate/ It grabs the text the way you described, but if a tag has childnodes and textnodes too then it grabs its innerhtml. So i.e. if a paragraph has 'a' tags inside then the paragraphs innerhtml will be translated. On

[jQuery] Re: Problems with $.addClass()

2008-05-04 Thread rene.olivo
Makes lots of sense but still doesn't work, I'll take it into account this next time I start a project. Thanks a lot. On May 3, 11:57 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > In general, IDs take precedence over classes for CSS style rules. One > thing you could do is refer to a containing

[jQuery] jCarousel with text

2008-05-04 Thread Null
Hi, I am trying to get some text underneeth each image. I thought it would work with the excample profided in de zip (php excample), but I cant seem to get it to work. This is the code the php file must gather: getIntTableRows($fields="*", $from="prop_img", $where="p_id=".$res['id']."

[jQuery] getJson not working - need help

2008-05-04 Thread JP
pictures of cats show but Ican't get response function to alert when pointing to an ASP page. ASP page does render the sample json response listed below http://www.w3.org/TR/html4/loose.dtd";> $(document).ready(function(){ $.getJSON("[jQuery] Why won't this get the image's width?
Hello folks, This piece of code if (($('#theImage').length>0)) { var img_width = $('#theImage').width(); $.log(img_width); $("#sCaption").css("width",img_width); }; follows an ajax call to bring content to an existing div... $.get("s