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,
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
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
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
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
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
> 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
> 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
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
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,
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
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
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
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
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);
}
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
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
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.
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:
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
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
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]"
"$
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
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
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
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
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="
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
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 =
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
hi Aaron,
your function braces are missing, it should be:
$(document).ready(function() {
$("#image").hover(
function () {
$(this).append(' ***');
},
function () {
$(this).find("span:last").remove();});
});
> 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
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
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
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
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
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
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
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
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
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']."
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
43 matches
Mail list logo