Does my demo do the bad behavior you are describing?
It seems to work right for me in different browsers.
Without seeing your html then it's kind of hard to debug.
I gave a working demo, doing exactly what you described. Not sure what more
I could say.
My first guess is that there is a problem w
Hey all,
I've been trying to figure out how to trigger a function after a user
stops scrolling. I was considering a time delay, but that doesn't seem
to make sense for what I'm using this for (a long page of links).
Here's a basic example of what I've got now:
$(document).scroll(function(){
m
So, I just used a standard ajax call with a response object instead of
using jquery. This way, in my event function, I could do:
: request.onreadystatechange = function()
{replaceInputElement(this);};
so that replaceInputElement gets a reference to the calling button,
which I can use
My guess:
You're doing an Ajax call which is loading an HTML chunk that's also
pulling in a fresh copy of jQuery and re-applying the even/odd
styling.
--John
On 10/22/07, Deane <[EMAIL PROTECTED]> wrote:
>
> I'm using jquery to zebra-stripe some tables. On one page, the jquery
> consistently di
Thanks, Glen.
The code is working well in FF2, fairly well in IE7.
I say fairly well, because when I click a "table" once, the div
opens properly. When I click the "table" a second time,
the details div closes properly once, then flashes open and
closed very quickly. But again, this is
I've found a few places in the interface plugin libs where the old
version of dequeue is used; they need to be replaced with the new
calls to work. The old version took two arguments, the new version
uses jQuery chainability. For example:
On line 473 of ifx.js change :
jQu
Hmm, no takers on this one yet. Anyone? I would be happy also with
simply knowing how the page in the iframe can get the id of it's parent
iframe tag. Easier? Jquery or no jquery, either way is fine.
- Jack
Jack Killpatrick wrote:
I've googled around and searched this list's history and fo
> node.get(0).onreadystatechange = function () {
It's setting an event handler for a readystatechange on the first DOM
node in a jQuery object. If the element only has one DOM node, you
should be able to do it this way as well using jQuery's .bind()
method:
node.bind("readystatechange", function
Ooh neat-o
Thanks Jeffrey - I will try it!
--
--
Michael Evangelista, Evangelista Design
Web : www.mredesign.com
Newsgroups: news://forums.mredesign.com
Blog : www.miuaiga.com
"Jeffrey Kretz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
How about this:
$(document).ready(fu
Ahh, I forgot to test that.
It's fixed now. refresh.
Glen
On 10/22/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
>
> Wish I could, Glen.
>
>
>
> This is a secure app, closed to the public… sorry.
>
> I'll be creating some public calendars, etc., with this
>
> technique later on, but haven't, ye
You've got me! What does that do? Where is it from?
--John
On 10/22/07, Thierry <[EMAIL PROTECTED]> wrote:
>
> hey, im new to jquery, and im wondering what this does:
>
> this.node.get(this[0]).onreadystatechange = function ()
>
> somehow, google groups missed my first post on this
>
>
Hi Bernd
You could do this with a variety of CSS techniques (hide the text and
have a background image).
In jQuery you could do something like this:
$(document).ready(function() {
$('#logo').html('');
});
You'd have to have an ID attached to the P.
Text to replace
You can read up
Hi all
I'm fairly new to jQuery, but have been playing with it for a couple
months. This is my first post here.
I've got a page with a where each cell has a div that gets
reloaded using load(). Each page that gets loaded into its cell also
needs to be able to reload -- preferably multiple/inf
This doesn't remedy the problem. It just makes the animation work very
slowly and after a long delay after it runs the initial animation
correctly.
On Oct 22, 5:51 pm, Tobias Parent <[EMAIL PROTECTED]> wrote:
> Well, this isn't the prettiest way of doing it, and it isn't formatted
> to be a plugi
hey, im new to jquery, and im wondering what this does:
this.node.get(this[0]).onreadystatechange = function ()
somehow, google groups missed my first post on this
jQuery List,
I have 2 form element arrays:
-and-
The form's size changes at runtime, so the user can enter as many
rocks as needed. Therefore, the size of the rockno array and units
array are unknown. On the server side, php picks it up:
$rockno = $_POST['rockno'];
$units = $_POST['units']
I'm using jquery to zebra-stripe some tables. On one page, the jquery
consistently displays the same odd behavior.
Here's my code:
$("table.Data tr:even").addClass("EvenRow");
On the first table on the page (the page has several), it applies the
"EvenRow" class to the first eight rows (instead
I'm new to jQuery and i cant figure out what this does:
node.get(0).onreadystatechange = function () {
Hi,
I'd like to replace a word in a text with an image,
something like
this is the logo
with
this is the
any ideas?
best regards
Bernd
--
View this message in context:
http://www.nabble.com/replace-single-word-with-image-on-the-whole-page-tf4674239s27240.html#a13354510
Sent from the jQue
How about this:
$(document).ready(function()
{
$('img').each(function(i)
{
// Get the image, set the count and an interval.
var img = $(this);
img[0].$count = 0;
img[0].$interval = setInterval(function()
{
// Animate the opacity over .2 seconds
img.animate({opa
Wish I could, Glen.
This is a secure app, closed to the public. sorry.
I'll be creating some public calendars, etc., with this
technique later on, but haven't, yet.
Anything you'd like for me to try?
Rick
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf O
Well, this isn't the prettiest way of doing it, and it isn't formatted
to be a plugin, but this works:
$(document).ready(function() {
$(".HP_Column1").hover( expand, contract );
});
function expand() {
$(".HP_Column1").unbind("hover");
I'd suggest looking at the LiveQuery jQuery plugin. It allows you, at a
later time, to connect with dynamically-generated content and attach
events to them.
Regards!
-Toby
jmcintyre_jdg wrote:
I have a form that lives in its own HTML file. If I load the jQuery
library into the page, I can a
thank you very much, this did the job! :-)
cheers,
nico
On Oct 22, 11:16 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> IE is using the cached version, since the URL hasn't changed. Try
>
> + '&nocache=' + Math.random()
>
> at the end of the URL.
>
> - Richard
>
> On 10/21/07, Nicolas Leuen
http://www.rasimcoskun.com/ajax-galerileri
İnternette, AJAX ile hazırlanmış binlerce uygulama mevcut. AJAX
galerilerinde bu uygulamaların en güzellerini listelenmiş olarak
bulabilmeniz mümkündür. Çünkü bu uygulamalar, bu galerilere özenle
seçilmiş oluyorlar. Örneğin web siteniz için AJAX tekniği
Hi,
I came across a weird situation. I would appreciate if someone can
help me figure out a way to prevent this.
Please see my sample page at http://www.rabbihorowitz.com/index_new2.cfm.
The way this is supposed to work is that when you hover over the red
column it animates and expands over the
Thanks Tony. I realized I had forgotten to comment the JSON lines that
needed to be commented, and also the Javascript was looking for
server.php when it was really example.php.
It seems to be working fine now! Great job on everything. This is by
far one of the best jQuery plugins yet.
I'm not to
I have a form that lives in its own HTML file. If I load the jQuery
library into the page, I can assign click handlers to buttons on the
form, no problem, by putting them in the $(document).ready function
like this:
$(document).ready(function(){
alert('document is ready'); // just seeing if we'
You basically just need to edit the code and take out everything you're not
using. There's no magic for it.
The easiest way to do this is by using a text editor that can automatically
comment and uncomment blocks of code. Komodo Edit can do this; I would
expect that TextMate and most decent progr
This is the best one I've ever seen -- 'HighSlide'. It's not jQuery, but it
rocks:
http://vikjavev.no/highslide/#examples
Looks like the latest version can handle various content types like images,
text, and flash.
___
SEAN O
http://www.sean-o.com
Txt.Vaska wrote:
>
>
> Bonjour:
>
I've googled around and searched this list's history and found various
discussions about how to set a value (in this case, in a hidden form
field) inside of an iframe from the parent, but nothing so far seems to
be making IE happy. I *don't* want to use the frameReady plugin and am
looking fo
I have a client who wants to have a photo load on the page, then 'blink' 3
times about 1 second apart.
Either a blinking border or replacing the image with another image and back,
or another method to draw attention to the image when the page loads (user
is supposed to click image to initiate
Well, it could be shorter :)
$(function(){
$('#aboutContent > div').not(location.hash).hide();
});
Danny
On Oct 22, 9:40 am, stef <[EMAIL PROTECTED]> wrote:
> i previously asked about a way to hide and show divs based on the
> location hash value. so if the url is domain.com/page.php#contact t
Would you be able to use a purely CSS solution, rather than a javascript
one?
Something like:
http://www.scorpiontechnology.com/cobalt/floatbottom.htm
Simulates a float:bottom type of style.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
On Oct 22, 2007, at 2:04 PM, Johny wrote:
I have
how can I count numbers of characters that a user writes?
Thank you
B.
Hi Johny,
Let's say you have below the textarea. You could
do this:
$('#id_Message').keyup(function() {
var charLength = $(this).val().length;
$('#foo').ht
Could you post a URL of the page?
Easier to debug that way.
Glen
On 10/22/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
>
> Just one issue, Glen.
>
>
>
> With this code (changed to match my HTML… I'll rewrite that later),
>
> everything works perfectly, except that if I click on the same table
>
If you just want a total (at any one point) of how many characters are in
the field, then this should work:
$('#id_Message').val().length;
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Johny
Sent: Monday, October 22, 2007 12:25 PM
To: jQuery (
That seems like a lot of work. Why not
$(function(){ /* shorthand for $(document).ready(function(){ */
$('#aboutContent > div').hide(); /* hide all div's */
$(location.hash).show(); /* the hash (with the # sign) is the same
as the CSS selector for an ID (that's why it was chosen) */
}
To quo
Just one issue, Glen.
With this code (changed to match my HTML. I'll rewrite that later),
everything works perfectly, except that if I click on the same table
(the 'table.clickme'), the row closes, then opens and closes again.
$(document).ready(function(){
The best workaround I've found is to create a background div, apply
the filter to that div, and wrap it and the foreground in another
block element, and position the background div as desired. It's a
pain, which is one of the reasons I haven't done it on my own site
yet :-/ . Not really a workar
Hi Johny,
This is a great plugin for that.
http://www.tomdeater.com/jquery/character_counter/
-Marshall
Johny wrote:
Hi,
I have
how can I count numbers of characters that a user writes?
Thank you
B.
I keep answering my own questions!! I ask, I bust something, I try a few
things... and it WORKS!
I have the next/prev running through the cycle plugin, as normal, but I
also have a function called on the click of my next/prev buttons
(apparently, one function attached isn't disconnecting ano
I have
how can I count numbers of characters that a user writes?
Thank you
B.
I use jQuery extensively to help create "repeatable" elements in some
forms.
After upgrading from 1.1.4 to 1.2.1, I noticed it stopped working. I
finally narrowed down the cause to the (dynamically set) name
attribute no longer getting cloned correctly.
Is this expected behavior in 1.2.1, or a l
Hi,
I have
how can I count numbers of characters that a user writes?
Thank you
B.
No, I don't set the cache property. But I use the 'script' data type
for the query (because I want to avoid cross-domain issues) and the
jQuery code explicitly sets cache to false when using 'script'.
It seems as if I should explicitly set cache to true in my case. But
that's really a workaround,
As far as I know, the Twinhelix IEpngfix succeeds in applying alpha-
transparency to background-images because from a technical standpoint
the background-image isn't a background-image anymore. That's why it
cannot respond to background-positioning. So whatever workaround you'd
come up with, would
Trying to figure out a solid efficient algorithm for aligning objects
to the bottom. The div is a column and the height is dynamic because
the contents of the right column changes. (see below)
so say the markup for the image is this:
contents
so in order to align say an image to t
OK, so I've got the cycle plugin working beautifully, and I created my
own hover pause utility, as it needed to integrate with a separate pause
button. Working wonderfully. However...
Now, I'm trying to set it so that, when a prev/next button are
clicked, the player advances/rewinds as it
Bah!! curse you IE6... curse you to hell
oh well, thanks Rick that would explain the problem - however, if
anybody has heard on the grape vine of any work-arounds - then i'd
love to hear them!!!
Lewis
On Oct 22, 2:20 pm, "Rick Faircloth" <[EMAIL PROTECTED]> wrote:
> Hi, Lewis...
>
> I beli
So the solution I see here is to disable the caching by setting the
'cache' property to false, and then rolling your own "don't cache my
ajax calls" solution that you can then use in creating the signature
for the url.
-E
Has anybody played with having multiple divs come up with using
blockUI? One approach I tried was to create a single div that was
borderless and transparent and have two smaller divs inside it. This
seemed ok on all platforms other than IE. IE is giving me fits on the
vertical size and scroll bar.
I don't get that problem! I simply get an error - 'invalid argument'
Hi all,
As much as I love loading all of jQuery into every single web project
I'm involved in, this current one is for an iPhone catered web
application. And to be quite blunt, loading anything over EDGE is
painful. I'd like to still use a few methods available, such as
jQuery.Ajax().
Is there a
Yep. that's it precisely!
Thanks, Glen. I'll go the route
you've taken and see what I can do.
Rick
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen
Lipka
Sent: Monday, October 22, 2007 12:22 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: How
Hi,
I have several movable DIVs on my page. Each has a little image of an
arrow. My intention is when I roll over the arrow image, another DIV
will appear underneath the arrow. I figured I could call ".show()" on
the DIV and then adjust it's top and left coorindates based on the
image's. Howe
I whipped up a demo.
http://www.commadot.com/jquery/faq.php
Is this the kind of thing you were looking for?
Glen
On 10/22/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
>
> …cause any open details div to close when another details div opens?
>
> $(document).ready(function() {
>
> $('div.calendar
Bonjour:
For the life of me I can't find this plugin now...it simply took a
thumbnail (from a group of them) and when clicked it had an animated
effect that would grow it larger in a div in a layer above the other
images. I can't figure out where this went.
Anybody know of this?
Thanks
I just built a page like your example and tested it:
http://www.scorpiontechnology.com/Cobalt/sleeptest.htm
I'm not sure what you're putting on your server side, but for mine I just
used a Thread.Sleep(1) command.
Both IE7, FF and Opera alert DOM ready right away, rather than waiting for
th
One thing to look at is the toggle() function.
It will open if closed and close if opened. No need for the IF statement.
Also, you can animate a DIV inside a row smoothly, you don't need the whole
table.
To make it so that only one answer is open at any time, in the past, I have
just closed them
I had to set it as relative since I have (in the real page) absolute elements
in it - which also disappear smoothly in FF but not in IE !! -
So in my script I set background as '' and hide absolute elements if IE
browser is used.
Thank you.
Wizzud wrote:
>
>
> Remove 'position:relative;' fr
Well, that is a good point. Using the window width and height (which works
in the latest SVN) really is fine.
Perhaps then, the actual bug is the body height, which is currently showing
the viewport height (less scrollbar) when it should show the full height of
the body.
JK
_
But won't this just make the DIV appear whereever it was originally
positioned? I want "newDiv" to appear with the same x coordinate as
the image and the y coordiante to be equal to the image's plus 16
pixels. How do I set the coordinates before I activate "show"?
Thanks, -
On Oct 19, 5:18 pm,
.cause any open details div to close when another details div opens?
$(document).ready(function() {
$('div.calendar').find('div.details').hide().end().find('table.clickme').click(function()
{
var answer = $(this).next();
if (answer.is(':visible')) {
i previously asked about a way to hide and show divs based on the
location hash value. so if the url is domain.com/page.php#contact then
all divs but the contact div should be hidden when coming from an
external page.
Jorn pointed me to some existing plugins but they went a bit over my
head, so I
Ok I have managed to find a simple solution works partly by
encompassing them (the scripts) in functions in a global script file.
and then calling the function.
so for example to have an effect of a slidedown.
normally you would do
$('#openme').slideDown("slow");
or put in on an onclick event
You're right... when I click on the more details area,
the same pop-up appears, but begins to scroll up and down
over and over.
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
> chrisandy
> Sent: Monday, October 22, 2007 9:20 AM
> To:
Thanks Rick but I think you must be looking at the 'pop up' that is
working fine - when you click on 'more details' though - that's when
it goes wrong
Hi, Lewis...
I believe you'll find that the problem is not with Ifixpng,
although I haven't used that one, but rather with IE 6.
I ran into this trying to use transparent png's on IE 6 previously.
I was using the IEpngfix solution from www.TwinHelix.com,
and ran into the background positioning i
You must have fixed the problem in IE 7, because
it's displaying well, without any errors here.
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
> chrisandy
> Sent: Monday, October 22, 2007 4:44 AM
> To: jQuery (English)
> Subject: [jQu
It can be done. In this case you need to edit code and to change the
ajax call type from GET to POST - i.e:
$.ajax({ url: ts.p.url,type:"POST",dataType:"xml",data :...).
If you use JSON you need to change $.getJSON with $.ajax the same way,
but do not forget to eval the response with eval.
If you
> -Original Message-
> From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> This is actually pretty easy to accomplish. If you're only
> passing back a
> few pieces of information, you could pass the data back with the
> autocomplete matches. The advantage of this is you don't have
> t
Hello: very good work... one info: it is not possible to get the data
with a POST ... in the example all are set for a GEt method
// get the requested page
$page = $_GET['page'];
// get how many rows we want to have into the grid
// rowNum parameter in the grid
$limit = $_GET['rows'];
// get ind
On 22 Okt., 12:19, Wizzud <[EMAIL PROTECTED]> wrote:
> function sortText(a, b) {
> var A = $(a).text(), B = $(b).text();
> if ( A < B ) return -1;
> else if ( A > B ) return 1;
> return 0;}
>
> var tgt = $('#test')
> , arr = $(tgt.find('a').get().sort(sortText))
> ;
> tgt.empty().appen
Hi all, this ones had me stumbling for a while now...
how do I get a hover function thats bound to a specific group of
elements eg:
$('#bar .foo').hover(function(){
$(this).addClass('greyHover');
},
function(){
$(this).removeClass('greyHover')
});
Dan, I have removed the HTML and body tags now, but unfortunately this
doesn't seem to help. Any other ideas?
-Original Message-
One thing I noticed quickly is this page is a full HTML that includes
and tags. If you're loading HTML fragments into a DIV, you
shouldn't load a fully quali
(I have already sent this message but somehow it got marked as spam??!)
Schematically I have the following page:
$(document).ready(function() {
alert("DOM ready");
});
>When making a GET call via jQuery.ajax, jQuery 1.2.1 adds a URL
>parameter named '_' (the single underscore character) whose value is
>the current time stamp. I'm not sure I understand why, and in any
>case, this caused me some grief when I tried to use it in a Facebook
>app. The reason is that t
Schematically I have the following page:
$(document).ready(function() {
alert("DOM ready");
});
Menu
Jesse,
>I have already spent hours and hours on the following problem. I am using
>jQuery's AJAX load method in order to put a portlet in a DIV. The portlet
>url is:
>http://www.bam.nl/baminternet/baminternet/test/test_jQueryAjax/actueel.jsp
>http://www.bam.nl/baminternet/baminternet/test/test_jQ
hi guys
i have come across an issue with IE 6 and Ifixpng, and could do with
some advice!
the transparency seems to be working, but in ie6 - the script also
seems to strip out the background positioning styles...
anyone come across this?
is this gonna be an issue with the style sheet, or is it
I'm getting a problem using the slideDown / toggleDown fx.
It is showing an error in IE6 and IE7 - invalid argument. I have
mentioned this in a previous message. I'm really impressed with what
you've achieved with this and I managed to grasp the basics in a
relatively short time but this is reall
Hi,
I'm working on a project using jQuery draggable (I'm using jquery
1.2.1 and jquery UI for draggable/droppable), and I'm noticing a
problem that occurs only in Firefox (tested with Firefox 2.0.0.3 on
MacOS 10.4 and Firefox 2.0.0.3 on Windows XP SP2). I have a number of
draggable elements insid
On Oct 7, 2:40 pm, To <[EMAIL PROTECTED]> wrote:
> On Oct 6, 7:36 pm,muccy<[EMAIL PROTECTED]> wrote:
>
> > > $("#photo").fadeIn("slow");
> > > $("#photo").show;
>
> > $("#photo").fadeIn("slow", function() {
> > $(this).show();
>
> > }
>
> > it should work well
>
> I'm afraid it's not... :-S T
function sortText(a, b) {
var A = $(a).text(), B = $(b).text();
if ( A < B ) return -1;
else if ( A > B ) return 1;
return 0;
}
var tgt = $('#test')
, arr = $(tgt.find('a').get().sort(sortText))
;
tgt.empty().append(arr);
arr contains your (sorted) jQuery collection of links.
On Oct
hey , i found this cool plugin that paging records. the problem is that its
only one per page..
http://rikrikrik.com/jquery/pager/
any idea how to make 10 per page?
like for guestbook, i need 10 records per page, now its only one
THANKS ALOT :)
--
View this message in context:
http://www.na
IE is using the cached version, since the URL hasn't changed. Try
+ '&nocache=' + Math.random()
at the end of the URL.
- Richard
On 10/21/07, Nicolas Leuenberger <[EMAIL PROTECTED]> wrote:
>
> Hi,
> i'm working on a song-ticker for a non-commercial radio station. Now the
> following code is sup
I have already spent hours and hours on the following problem. I am using
jQuery's AJAX load method in order to put a portlet in a DIV. The portlet
url is:
http://www.bam.nl/baminternet/baminternet/test/test_jQueryAjax/actueel.jsp
http://www.bam.nl/baminternet/baminternet/test/test_jQueryAjax/ac
nice trick, thanks :)
On Oct 22, 3:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Gday James
>
> Depending on how you are doing this, you could always change the name
> of the select and create a hidden value with the real name. The if
> you are toggling between each change the names a
Hey Rodrigo,
Apologies for the massive time in replying, I am very busy these days.
That is a great suggestion, and one which a few people have mentioned. I
will modify the official plugin source as soon as possible, but for now your
fix does just great :-)
All the best
--rob
On 9/22/07, Rodrig
On Oct 20, 2007, at 5:20 PM, Karl Swedberg wrote:
One other Firefox add-on that allows you to see the *generated*
source is "Web Developer" toolbar:
http://chrispederick.com/work/web-developer/
Click on the "View Source" menu, and then choose "View Generated
Source."
Web Developer, along
On Oct 19, 2007, at 8:31 PM, Yaz wrote:
I have a script that basically just reads some data from an xml file,
then the data gets loaded into a dropdown, by dynamically
creating tags.
I had problem with IE and selects earlier. Found out that it needs
both .val() and .append() calls. Maybe
Hi Ryura,
Which version of PHP do you use?
The final two lines of code told me that you use JSON two times once
from the JSON.php and the second from the build in PHP 5.x.
To resolve the problems - please see what is the response - please use
Firebug.
This will help you to undertand what is retu
On Oct 17, 2007, at 9:24 PM, Michael Geary wrote:
I click in the middle of the screen. A message appears up at the
top - where
I'm not looking - AND another bouncy message appears at the BOTTOM
of the
screen, so it tries to draw my eye in two directions at once.
I agree place of message
Gday James
Depending on how you are doing this, you could always change the name
of the select and create a hidden value with the real name. The if
you are toggling between each change the names around.
If available to use:
If not available:
Does that help ?
Cheers
On Oct 2
hi,
anyone has an idea to make select tag readonly since readonly attr is
not supported. Disabled is not a solution because it prevent the data
from being posted.
Thanks
james
96 matches
Mail list logo