Hi Abba,
I can only guess that you mean that in Firefox the type sometimes
shifts one pixel after the animation is complete. My experiments show
that this is likely something to do with Firefox rounding off relative
units such as em units for line-height, vertical padding and possibly
font-sizes
Glad to hear that it worked for you, Ed!
For future reference, the FAQ has answers to a bunch of questions like
this one. Just thought I'd point it out because sometimes the FAQ gets
lost amid the large amount of documentation.
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_sele
Hi there.
Ive got some strange thing here. HTML looks like this:
asdasdsw
etc ...
↓ display thumb list
After "hov
Worked like a charm!
I used this one:
$this.find("name\\:funny").attr("post");
Thanks!
-Ed
On Jul 11, 6:23 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> I can think of 2 options:
>
> $this.find("name\\:funny").attr("post");
>
> I'm not sure that will work. The other one:
>
> this.getElements
Hi Guys
I am using JQuery and a rounded corners plugin to round the edges of
my div IDs. I have an index page and use innerHTML to inject HTML into
the index page. The problem is the HTML which is injected into the
index page, the div tags which are supposed to become rounded remain
unchanged. Se
What jQuery or javascript code would get how far the window is
scrolled down the page?
I want to know if the current visitor is at the top of the page or how
far they have scrolled down the page.
This is a php thing. Indicates the parameter is an array.
On Jul 11, 3:57 pm, Alan Gutierrez <[EMAIL PROTECTED]> wrote:
> When I call $("#list").sortable("serialize") I get
>
> article[]=2&article[]=1
>
> Why the square brackets? I've not seen this sort of style of query
> string before.
>
I'm hoping someone can shed some light on this for me. I have a
combination of jQuery and PHP code that takes care of generating and
processing some XML. Basically the XML is the status, etc. of AJAX
functions that are called, so, for example, the response XML might
look like 1001Customer succes
you can user unbind
$('#myButton').unbind("click")
-- Original --
From: "Andy Matthews"<[EMAIL PROTECTED]>;
Date: 2008年7月12日(星期六) 凌晨00:50
To: "jquery-en";
Subject: [jQuery] Re: Button Click
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sh
Perhaps sommin like this: (untested)
var clients =
[
'nike' : 'swoosh.jpg',
'addidas' : '3stripes.jpg',
'reebok' : 'rbk.jpg',
'default' : 'default.jpg'
];
var class = $("#main").attr("class");
typeof clients[class] != "undefined" ? insertImg(clients[class]) :
insertImage(clients['default']);
fu
Should you? Well if thats the only javascript on the page there isn't
much point in including a library for something like that.
However you could do it by saying:
// jQuery's document ready
$(function() {
// grab the button and assign event
$("#Cancel").click(function() {
window.locatio
First of all, you should be assigning your content links (the ones on
the left) classes and not IDs. Not only is it bad practice, but
jQuery will stop after it hits the first one.
Second of all,
$("a").click(function () {
var filter = $(this).attr("id");
$("li").not(filter).not("
Hello,
I have a button which redirects to a page:
Cancel
Should I remove the onclick from the button and do this with JQuery?
And how can I do that using JQuery?
Thanks,
Miguel
Usually this indicates that somehow, you are rebinding the event handler to
the button on each ajax call. Each time you do a binding, it is additive --
there is nothing to check and see if the event handler is already bound.
Check your logic and make sure you are only binding the event handl
not tried this, I might have an obvious error, but this is what i would try
var $suggest =$("#suggest");
var $testo = $("#testo");
// perform function on each isbn from xml source
$("isbn", xml).each(function (i, n) {
// append the text to the su
I am building a test site with jquery. The site lists links from
several rss feeds. On the right side of the page there is a sources
legend. I would like to be able to click a source and show only links
from that source while the others hide. Then when I click a different
source, those links appea
Hi folks,
I'm a jQuery newbie and I'm trying to traverse a XML given by a PHP
script to get information for organizing them and displaying them on
my page. Here's a kind of my XML:
0156001314015603297X0847829863084782646501510135190156029065015601159X081095905401560323923829601867
and here's my
How do I add a dynamic parameter in getJSON url?
[code]
function onSelectChange(){
var whatChecked = $("input:checkbox:checked").val();
$.getJSON("select.php", {whatChecked:"somevalue"}, function(json)
{
...stuff to do
}
[/code]
I want the url that getJSON uses to be dynamic and lo
I'm working on an app that uses Jquery and the BlockUI plugin. An odd
problem I'm having is that there are extra ajax calls being made. For
every Ajax call I make, and the number of calls made increments. In
other words, the initial ajax call is made by clicking a button in a
message I display wit
Thanks for the tips, Joel.
When I first implemented SuperFish on this site, it was
my first use and I wasn't sure what bgiframe.js was for exactly,
so I included it just to be safe. (I just didn't take the time
to read...)
Now that I know what it's for, I realize I don't need it to overcome
IE6
Thank-you
On Jul 10, 9:20 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> Each .append() expects a complete (and best if valid) element. So where
> you've got .append("") near the beginning of your chain, and
> .append("") near the end, you need .append(" .append("") just near the beginning.
okai sorry if this is a duplicate but my machine acting weird...
so my question is UI/Effects/Transfer plugin only transfers the
outlines , is there a way to transfer an image ? even if it is using a
different plugin ?
Hi All,
I just updated the version I was using 1.0 of the jquery autocomplete
to version 1.0.2. And right away one thing does not work the same for
me. The display used to be a nice list with no scroll bars and would
say More at the bottom with arrows. Now it comes up with both a
horizontal an
Hi Vik,
On Thu, Jul 10, 2008 at 4:41 PM, joomlafreak <[EMAIL PROTECTED]> wrote:
> ...
My impression so far had been that they really are
> not counted much compared to your experience. It is generally
> mentioned by people that increasing competition has led to companies
> using the credentials
hey guys ,
just quick question , I am trying to transfer an image not an
outline .. is that even possible ?
> $.ajax({url: "cart.inc.php", data: $(this.elements).serialize(),
What is "this" in the line above?
I'm using this tutorial for xml consumption with jquery:
http://www.webmonkey.com/tutorial/Easy_XML_Consumption_using_jQuery
The tutorial includes this code example to find the value of the
"post" attribute in the node "name":
studentPost = $this.find("name").attr("post");
But... It doesn't
Thanks so much for the help Richard!
Joel.
That's done it :)
On Jul 11, 3:23 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote:
> Just found this explanation (last couple of comments on the
> page):http://allinthehead.com/retro/328/when-bugs-collide-fixing-text-dimmi...
>
> Have altered the fix - hopefully it works now. Please scream in anguis
$.browser.version returns as string
This should work:
if ($.browser.mozilla && parseFloat($.browser.version) < 1.9)
$('body').css('-moz-opacity',.999);
On Jul 11, 3:17 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote:
> I was quite confused by why Firefox3 identifies itself as 1.9 via
> $.brows
Just found this explanation (last couple of comments on the page):
http://allinthehead.com/retro/328/when-bugs-collide-fixing-text-dimming-in-firefox-2
Have altered the fix - hopefully it works now. Please scream in anguish if not.
Cheers
Joel Birch.
On Jul 11, 9:51 am, noon <[EMAIL PROTECTED]> wrote:
> Don't understand when this could occur to make any sense for images
> being inserted like this without an example, but at any rate..
noon, thanks for your help, I'll give it a try.
I should have been a little more specific sorry. It's for dis
I was quite confused by why Firefox3 identifies itself as 1.9 via
$.browser.version. Any idea what I should be checking for?
Cheers
Joel Birch.
Hi Joel
Indeed this is quite a frustrating FF bug! Your fix has not solved the
solution for FF2 Mac, I have to assume because you're checking for
browser verion < 1.9 .. ?
On Jul 11, 2:16 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote:
> Okay, the IE7 fix has been released - Superfish is now v1.4.6
Don't understand when this could occur to make any sense for images
being inserted like this without an example, but at any rate...
You'll have to think about when and how this is triggered in order for
these if statements to be executed because as said, i don't understand
switch ($('#main').att
Because the length attribute of arrays is dynamic, and is evaluated
each time you use it.
That's a perfomance optimization.
Also.. if you add items to the array inside the 'for', you'll go into
an infinite loop.
--
Ariel Flesler
http://flesler.blogspot.com
On 11 jul, 08:06, Javier Martínez <[EMA
Hi Rick, thanks for the congrats. I checked your site in IE7 and this
is what is happening: the pngs are solid black until the animation has
fully faded in, then they switch to being transparent. This is the
same problem I had with the drop shadows, although I thought it only
occurred when the bac
Hey all,
I'm using Seamus Leahy's AddAClassNameAtRandomToAnElement.js (http://
moronicbajebus.com/2006/07/30/add-a-class-randomly-from-a-set/) to add
a random class to a div, and then trying to insert an image based on
the random class name.
So if I have
I'd like to say "if #main.aa, then ins
Okay, the IE7 fix has been released - Superfish is now v1.4.6
(couldn't be bothered saying 1.4.5.1).
Richard, I found that adding -moz-opacity:.999 to the body of the
documentation CSS (to fix FF2 Mac) caused the fade-ins not to work in
FF3 Mac! They just popped straight to full opacity after the
Hi, Joel... congrats on the new version.
I've been working with the 1.4.1 version of Superfish for
awhile on a new site and I have put 24-bit png's as the background
images for the menu items (not the main items, just in the dropdowns)
all was working fine for months.
Then all of a sudden, in IE
I figured it out. The culprit is because I am setting the focus of
the username input box. For whatever reason, when I remove this it is
slid correctly.
On Jul 11, 8:57 am, Liam Byrne <[EMAIL PROTECTED]> wrote:
> IE 7 shows scrollbarsmaybe the animation isn't making it big enough
> to displ
IE 7 shows scrollbarsmaybe the animation isn't making it big enough
to display it properly ?
Make it bigger and see what happens.
L
noon wrote:
I wrapped it in a div and slid the div. Still same problem, visible
again at http://nunyez.googlepages.com/slidedowntest
On Jul 8, 6:37 pm, K
Check that the ID & name of the image object are the same, and that
there are no duplicate names on the page.
L
pere roca wrote:
hi,
a very simple question related to ** IE$ behaviour.
I have a very very simple jquery function to change the src of images; after
applying it, while in Firefox
hello,
I wrote a comet servlet, and this is how I get the data into jquery:
function pS() {
$.ajax({
url:'tS',
type: 'GET',
timeout: 10,
complete: function(xhr, status) {
alert(status);
if(status==='success') {
if(xh
Hi Jörn,
I have basically this, and still a no go.
var nameForThisValidator = $("#formName").validate();
$("#closeLogin").click(function (event) {
nameForThisValidator.resetForm();
nameForThisValidator.submitted = {};
document.forms['formName'].reset();
$("#loginLink").show();
$("#for
1 - 100 of 118 matches
Mail list logo