Using FF2, FF3b2, IE7 and IE6 I don't get the flicker (XP SP2,
1280x1024, P4 3.2Ghz). Do you have a demo? Maybe you're running lots
of other code first?
On Dec 27, 10:51 am, Jeroen <[EMAIL PROTECTED]> wrote:
> I'm using jQuery on my new photo blog. I am fading in the image when
> the dom has load
Remember event bubbling is taking place for ALL events.
I suspect you will need to stop the event propagation to resolve this
issue. This can be done one of two ways:
1) Return false from your click handler function.
$("#r1").click(function () {
window.console.log("hello");
return false;
Hello all
I have a problem that has been discussed several times on this list,
but I could not find a satisfactory solution yet.
I created a regular html page. I have a onclick event which triggers
an ajax call. This ajax call runs a very simple php script on my
server, which returns some html a
Change line 193 to:
var $a = $('').attr('href',photos[i]['full']['url']);
On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote:
>
>
>
> ok so the other thing the client was requesting was to be able to get
> captions into the lightbox effect. i know that i just need to add the
> caption to the title at
ok so the other thing the client was requesting was to be able to get
captions into the lightbox effect. i know that i just need to add the
caption to the title attribute of the a tags. and it looks like the plugin
pulls the flickr caption as the alt tag for the image but how could i have
it se
Well, like I said, as of right now, can do sets, but if he/she is willing to
append a number infront of the file names you can probably do a sort and get
it in order.
The best place in the code to do that is at about line 223, just swap out
the if statement there with your sort code.
On 12/26/07,
really? man that could really be a problem for me then. he needs them to
be in a specific order. wish i knew that before i started.
bmsterling wrote:
>
> At best, you can set it to randomize the returned json, but with the
> current
> set up, you can't order it or grab a certain set.
>
>
It's funny, I was going to suggest the same thing, right down to the method
name, but Hamish beat me to it. :-)
It's interesting that people don't immediately think of using
$('#id').length > 0 (with or without the > 0). It tells me that they're not
aware of a fundamental fact about jQuery: The $
At best, you can set it to randomize the returned json, but with the current
set up, you can't order it or grab a certain set.
On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote:
>
>
>
> ok so it is working well but the client is asking how he can change the
> order
> of the pictures. it seems like wit
ok so it is working well but the client is asking how he can change the order
of the pictures. it seems like with flickr you can add photos to "sets" and
set a specific order, but there doesnt seem to be an rss feed for "sets",
only for tagged photos. but there seems to be no way to set the ord
Bill,
What is the url for the page with tooltip?
On 12/26/07, Bill <[EMAIL PROTECTED]> wrote:
>
>
> I have posted this message back in November and received no replies.
> I am able to get JQuery Ajax ClueTips to work in Internet Explorer
> fine however when I open the same page in firefox the clue
Zarino - it's because you are building the html within the success function
of the Ajax call, but the binding of the hover function happens outside it.
What you might want to do is put your hover binding into its own function
that you can call from within the Ajax success function:
var binde
On Dec 26, 2007 11:56 PM, Steve Blades <[EMAIL PROTECTED]> wrote:
> You have the closing brackets and parens around the functions of your
> .ajax() call, but you don't appear to close out your
> $(document).ready(function(){ // everything is in here });
$(document).ready(function(){
$.ajax({
I have posted this message back in November and received no replies.
I am able to get JQuery Ajax ClueTips to work in Internet Explorer
fine however when I open the same page in firefox the cluetips do not
work and when I look at the error console I see the following
Error: uncaught exception: [E
Hamish, I like that!
Michael, the question is number two on the FAQ. Despite what seasoned
programmers may think, it's obviously not intuitive to newbies.
Personally, I think it's always good to point out alternatives to
learners. The .is() method is actually quite versatile and can be used
to
I've seen the same behaviour outside of jQuery - something to do with
the way 'for' sends events to the target element.
Can't remember how/if I fixed it, but you could ditch the label and
use jQuery to emulate the label functionality. Not a bad option
considering not all browsers support labels c
Well, I know the answer is yes, but I can't figure out how. Can you
help?
I'm using jQuery to take values from an XML file (a schedule for a
radio station), wrap them up into nice HTML elements, and inject them
into my web page. When the user hovers over any of the jQuery-created
elements, I want
You have the closing brackets and parens around the functions of your
.ajax() call, but you don't appear to close out your
$(document).ready(function(){ // everything is in here });
--
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
___
If I have a div with a label and input in it:
My Label
and I add a click handler like so:
$('r1').click(function() {
window.console.log("hello");
});
Clicking the div or the radio button gets one call to the click function.
Clicking the label element results in the click function being
Hey all, I am new at jQuery and playing with it for a couple of days
and i have:
$(document).ready(function(){
$.ajax({
type: "GET",
url: "words.php",
dataType: "HTML",
error: function(){
alert('Error loa
I suspect this is extraordinarily simple, but I've yet to find a way
to do it so bear with me (very new to jquery).
My mission is to allow a user to click on a link of css class
"closed" (the content below that point in the DOM will be hidden).
When that link is clicked the content will .show(),
I'm using jQuery on my new photo blog. I am fading in the image when
the dom has loaded like this:
$(function() {
// Animate photo
$('#photo').hide();
$('#photo').fadeIn(1500);
}
The problem is, the photo flickers for about a millisecond, as in, you
can see it
in full opa
Yehuda, I will agree and (respectfully) disagree with you. Yes, using
the length property is expedient. It's how millions of programmers
have been doing such things, in many different languages, and they
will probably continue to do it. No harm there, as indeed JS treats
zero as a false and it wor
Hello there,
I was wondering if you knew about a plugin, or if you knew if it was
easy to make a text input coupled with an autocomplete functionality
which adds a "box" for each item added to it. A bit like facebook does
to add multiple recipients for a message into a text input, as
illustrated
extendify!
$(document).ready(function() {
jQuery.fn.exists = function() {
return ( this.is('*') )
}
}
});
On Dec 27, 10:28 am, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> It's funny, if I saw:
>
> if( $('#id').is('*') ) { ... }
>
> I would have no
Seems like database issue (got a database timeout error when trying to
access the wiki). Worked the second time after a while tho
On Dec 26, 11:23 am, traunic <[EMAIL PROTECTED]> wrote:
> getting timeouts when attempting to go tohttp://jquery.com/
I have a table with both Row Header and column headers. However, this
table's width goes beyond the page. We don't want to use the
horizontal scrollbar, instead would like a slider like control that
will keep the row headers sticky but would scroll/move the table
colums left or right as I am movin
It's funny, if I saw:
if( $('#id').is('*') ) { ... }
I would have no clue what the code was trying to do until I thought hard
about it: "Let's see... is star... Now that's going to match *anything*.
Wouldn't it always return true? Naw, that can't be right, what would be the
point of this code...
Would this be the correct way of cloning events?
for(var i = 0; i < array_length; i++)
$new_dom[x] = $('#hotel_information div#hotel_selection' +
table_id).clone(true);
}
for(var x = 0; x < array_length; x++)
{
var new_element = new_dom[x];
$(new_element).appendTo('#hotel_informatio
seems to be ok now maybe a DOS?
On Dec 26, 2:23 pm, traunic <[EMAIL PROTECTED]> wrote:
> getting timeouts when attempting to go tohttp://jquery.com/
Thanks for the tip, Olivier. I'll check it out!
Rick
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Olivier
Percebois-Garve
Sent: Wednesday, December 26, 2007 12:22 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Need input on best approach to this type of m
getting timeouts when attempting to go to http://jquery.com/
forgot to mention. it is open source and avail under the GPL
On Dec 26, 11:14 am, GeekFreak <[EMAIL PROTECTED]> wrote:
> For you folks that want to run jQuery serverside, here's a little
> teaser for a product we're releasing early in the new year, that will
> allow you run jQueryserverside(and m
For you folks that want to run jQuery serverside, here's a little
teaser for a product we're releasing early in the new year, that will
allow you run jQuery server side (and much more) , we currently have
most of the jquery unit tests working, and hope that the wonderfully
active jQuery community
Hi Rics,
Glad it works for you. I used setTimeout() in the code that I sent to
you, so I'm not sure why you're mentioning that you must use it. Are
you using it somewhere other than the place where I'm using it? I put
it in the callback of the fadeIn() method so that the element would
st
I would definitely recommend $("#id").length. When working in a
language, it's important to keep in mind the language's idioms. In the
case of JS, 0 == false, so if($("#id").length) is a perfectly good
idiom.
It's a bit confusing coming from another language (where 0 is true),
but that'
You need to provide more information about what you're trying to do.
You can do something like $("#button_a, #button_b,
#button_c").click(...), but I'm not sure why you're defining those
variables. Also, without var, those variables are being defined in the
global scope, which is bad pract
If you're only using IE, you're good to go. An alternative that works
cross-browser is to hijack Flash's access to the clipboard via
ExternalInterface.
-- Yehuda
On Dec 26, 2007, at 9:29 AM, Chris Jordan wrote:
Okay, I think I just found it. Before I posted this question I was
searching g
First, since all of your functions do the same thing, you do not have
to repeat yourself. I would suggest either wrapping all the buttons
and textboxes in another element or giving them a class so that they
can be selected together, for example:
$('#wrapper input').click(...); or $('.buttonCl
Hi, I am one of the author of http://www.techlicious.name.my
Nice to meet you all here...
I believe that is what $.data(element) does, it returns a unique id.
However, it only returns an integer number. I would prefer to combine
it with a few characters as well, but I suppose that isn't strictly
necessary.
Byron's function above is a good example of how you could use it. But
if you do
Hey all, I am wondering how I can get my results via php/ajax. Could i
use jquery for that print them out like this:
'.$word.'
And print them all out like that above. Would I use the GET function
with jquery. Get them all printed out.
Thanks so much!
Okay, I think I just found it. Before I posted this question I was searching
google for "javascript programmatic cut and paste" (and other variations on
that theme), but getting no where. Just a bit ago it occurred to me that was
I was really trying to do was get access to the clipboard. Duh. A sea
Hi,
here are two examples using jquery:
1. http://www.gmarwaha.com/jquery/jkwick/test/test.html
2. http://dev.jquery.com/~john/jquery/test/moo-menu.html
Also, u can find a lot of discussion about it here:
http://www.nabble.com/forum/Search.jtp?forum=15494&local=y&query=kwick
Hope it helps.
On
What you are looking for is a tabs system triggered by the onmouseover
event , is it?
I have built something like that but I did not make it into a plugin :
http://www.electris.lu/electris_net/service/conseil_en_energie.php
Olivier
Rick Faircloth wrote:
Hi, all...
I'd like to request some
Is there a way to use jQuery (or javascript in general) to programmatically
controll copy and paste functions? I'd like to replace the right-click
context menu and *only* offer the ability to cut and paste. I was looking at
using Chris Domigan's ContextMenu plug-in to capture the right-click and
re
Hi, Shawn, and thanks for the reply...
Concerning Flash issues, I'm not planning to use
Flash anyway.
I'll check out the bgiframe plugin...thanks for the tip!
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shawn
> Sent: Wednesday, De
Thanks for the help, Rics...
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rics
> Sent: Wednesday, December 26, 2007 7:12 AM
> To: jQuery (English)
> Subject: [jQuery] Re: Need input on best approach to this type of menu feature
>
>
Have you fixed your problem?
2007/12/22, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Can someone look at this code.. for some reason the top expanable menu
> runs "Smoothly" and the one below it are "Choppy" when they expand?
> Now remember Im not really good at this... When you click on a main,
$.ajax({
type: "POST",
url: "add.php",
data: {"word": $("#word").blah.value}
})
I have this now, it sends to my database..but I need to find a way to
now print out the result, I have it printing out via my php while
loop. should i do this through ajax instead?
How would I added to my script t
All,
I would really be grateful if someone can shed light on my issue. My
parent page contains a trigger to open a jqModal window. The modal
window itself contains a button which when clicked on will rewrite the
trigger on the parent page. I need to do this because my real-world
page has a tab
I wanted to create a function that will return an array consisting
values from 3 textboxes.
let's say:
$('document').ready(function() {
$('input#button_a').click(function() {
a = $('input#input_text_a').val();
b = $('input#input_text_b').val();
Try this:
$.ajax({
type: "POST",
url: "add.php",
data: "word": $("#word").blah.value
})
Notice the comma after the data: line has been removed.
Betcha you're getting that error in IE... That's one of the things that
would trigger
Hey all and happy holidays!
I have this code:
$.ajax({
type: "POST",
url: "add.php",
data: {"word": $("#word").blah.value}
})
That sends it fine to my database and will print on page refresh...i
am curious to how I would use it to print out say "Word added." And
then display it on the page.
>From there:
"Only properties that take numeric values are supported (e.g.
backgroundColor is not supported by animate())."
But thanks anyway... Your tip helped me with a lot of other issues! :D
Thanks!!!
rics
On Dec 24, 10:43 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> Check out this page
Yess :
Now it works. But I must use setTimeOut(). Without it the effect
didn't work. You know why? I couldn't find anything in JQuery docs
about it and the plugin even have any docs.
Oh, and by the way, my english is "understandable"? I'm brazilian and
not very good with the
Hm... i didn't use (yet) ajax in jQuery but this one `data: "word":
$("#word").blah.value` looks strange...
maybe something like `data: "word="* **+** *$("#word").blah.value`?
On Dec 26, 2007 8:07 AM, coughlinsmyalias <[EMAIL PROTECTED]> wrote:
>
> Hey all, i have this:
>
>$.ajax({
>
Why not just keep a "global" variable, like:
var _id = 0;
and when you create the new item, use that counter to make like "New_"
+ _id, and then increment the counter
I think that with some show() or slide() functions you can make
something like that.
Make divs or the expandable area and hide them all. Then you can
show() and/or slide() them in mouseover, or something like that.
This is a beginning...
rics
On Dec 26, 12:20 am, "Rick Faircloth" <[EMAIL PR
Two things:
First, that site does NOT work the way it should for me. I'm using FF
2.0.0.11 on Linux. The popup menus are showing behind the flash.
(Linux is an afterthought it seems - again...) The text of the main bar
isn't even properly sized - I'm getting wrapping text on some items, and
60 matches
Mail list logo