The Live Query plugin may help in this circumstance:
http://plugins.jquery.com/project/livequery
--Sam
On Dec 1, 12:43 pm, Raphael <[EMAIL PROTECTED]> wrote:
> I'm having a little problem:
> There are two independent modules (I'm working in a drupal
> environment). Well, one module polls a tabl
param delay Delay (in milliseconds) between iterations.
> Default 4 seconds (4000ms)
> * @author Sam Collett (<a rel="nofollow" href="http://www.texotela.co.uk">http://www.texotela.co.uk</a>)
> * @example $("#news").newsticker
param delay Delay (in milliseconds) between iterations.
> Default 4 seconds (4000ms)
> * @author Sam Collett (<a rel="nofollow" href="http://www.texotela.co.uk">http://www.texotela.co.uk</a>)
> * @example $("#news").newsticker
Thought someone might have done something like this.
HTML would be something like this:
Action 1
Action 2
As much as we don't like it, sites still have to be designed to cater
for IE 6+
We are still on IE 6 at work, because some of the systems we use (not
ones I have worked on of course!) only seem to work in IE 6. You would
have thought when you pay for a system, it is updated as new browsers
come o
If you try and store and retrieve a JSON object in a cookie using the
cookie plugin (http://plugins.jquery.com/project/cookie), you get an
unexpected result.
For instance, save into cookie:
$.cookie("mydata", {foo:"bar",baz:1});
Retrieve value:
var mydata = $.cookie("mydata");
But that returns
All ASP.NET controls have a ClientID, which matches the ID generated
in the HTML, so you should be able to replace:
"<% = namePostcode %>"
with
"<%= namePostcode.Replace(":","\:") %>"
and
$("[EMAIL PROTECTED]" + <%=chkLinkAccount.ClientID %> + "]")
with
$("#<%=chkLinkAccount.ClientID %>")
--
How about:
$("#myelement").parents("table:eq(0)")
Does that do what you want?
Example: http://demos.texotela.co.uk/parents.html
--Sam
On Jul 17, 7:51 am, ProggerPete <[EMAIL PROTECTED]> wrote:
> Hi Andy,
> parents doesn't do quite what I want. I want a method I can use in
> event delegatio
I current add a form to the page, which is then submitted and returns
binary content (e.g. a PDF or Word/RTF Document) that causes a prompt
for them to open/download the file:
var form = $(document.createElement("form")).attr(
{
"method": "post",
"a
Lags a bit with me as well, site looks quite good though. It is
actually smoother without JavaScript enabled.
It illustrates that when developing sites/applications it is a good
idea to test with a slower PC (it is likely a lot of developers have
above average specification computers).
-Sam
On
There is a special page for converting WikiText to XML:
http://docs.jquery.com/Special:Wiki2XML
If the Wiki has built in features for converting to XML, perhaps it
could be leveraged somehow? As DocBook is one of the output formats,
there are more options for creating documentation.
If MediaWiki
Mainly CSS selector tests, but perhaps also methods that may be common
among libraries (like map, extend), but that may be more difficult.
There is this one, but it uses old libraries (not just jQuery):
http://dev.jquery.com/~john/slick/
-Sam
On Jun 4, 3:52 pm, "John Resig" <[EMAIL PROTECTED]>
I suppose a few % points off isn't that much of a difference and in
some cases were even better. But I expect mine isn't too far off the
test machine.
Think I got my maths the wrong way round:
((1.2.3 time - 1.2.6 time) / 1.2.3 time) * 100
e.g. for .extend():
((63 - 46) / 63) * 100
(17 / 63) * 1
Looks like another good release, yet more performance improvements and
a few useful new features!
Regarding speed testing, maybe it is worth mentioning the PC
specification of the machine that performs these tests?
For example, mine (Core Duo 1.6Ghz)
.extend()
1.2.3 - 63
1.2.6 - 46
.map()
1.2.
You can use this preload plugin and run it as soon as possible:
jQuery.preloadImages = function()
{
for(var i = 0; i").attr("src", arguments[i]);
}
}
$.preloadImages("over.png", "out.gif");
$(
function()
{
// do something when page is ready
studiobl wrote:
> I'm working on a wireframe for an ecommerce site. I need to simulate
> some shopping cart functionality, like updating total counts and
> dollar amounts on change(). I've already done this with a page that
> contains one table. This page contains multiple tables, so I need to
> a
The beta test has been up for a while and looks like it uses Interface
(http://interface.eyecon.ro/) for the interactivity. Not jQuery UI
unfortunately (Interface is more established though and has probably
had more testing).
There is still some legacy code (for example they use Simon Willison's
On Mar 3, 3:51 pm, owen <[EMAIL PROTECTED]> wrote:
> I wrote:
> > I'm using thecheckboxesplugin
> > (http://www.texotela.co.uk/code/jquery/checkboxes/) and I'd like to pass
> > the id of each checkbox that gets
> > checked to a function. I see that the plugin has an option to "return
> > the che
JSMin is the minifier that jQuery uses (the port to JavaScript by
Franck Marcia). In SVN:
http://dev.jquery.com/browser/trunk/jquery/build/js/jsmin.js
On Feb 8, 11:17 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Collin,
>
> Thanks for the link, PHP Speedy looks interesting. I could
> po
You only need newsticker.pack.js in you head and have to add some code
to make it load on statup, e.g. in
$( function() {
$("#newsticker").newsTicker();
});
On Jan 24, 6:10 am, visitorQ <[EMAIL PROTECTED]> wrote:
> well i tried posting some code but it didn't work for some reason and
>
very much. That worked. It would be great if you had the
> time to tell me what was wrong with my original code because JS is
> something that i am not so familiar with.
>
> On Jan 17, 7:25 am, Sam Collett <[EMAIL PROTECTED]> wrote:
>
> > This should work:
>
&g
rent things that I
> have done in an attempt to make it work:
>
> /**
> * Move options to another select (functions like cut and paste)
> *
> * @name moveOptions
> * @author Sam Collett (http://www.texotela.co.uk)
> * @type jQuery
> * @paramString to Ele
You may find the history plugin to be of use (not sure if there is a
newer version as that page hasn't been updated for a while):
http://stilbuero.de/jquery/history/index.html
On Jan 8, 6:19 am, "Scott Hulbert" <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm working on a simple project and I'm
On Nov 12, 4:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> To nest lists properly, I believe you want to put the you are
> toggling inside the you are clicking
Also, only can be nested in or , so it would be invalid
HTML (although browsers forgive that).
I noticed that you have added String.prototype.trim. jQuery actually
has this already, e.g. jQuery.trim(" foo ");
An easy was to get better CSS support in browsers that are not up to
it. Maybe in a future version, browsers that are capable will just be
ignored?
Also, maybe best to wrap it in a
It's good that they are using it quite a bit. There are some site that
use it, but only $(document).ready to call a function that manipulates
the DOM the old fashioned way.
On 4 Oct, 08:23, "John Resig" <[EMAIL PROTECTED]> wrote:
> Wow! Very awesome :-)
>
> It looks like they're getting a pretty
jQuery Button Contest Winners:
http://jquery.com/blog/2006/11/07/jquery-button-contest-winners/
Also, the post announcing the competition has logos in the comments.
jQuery Button Contest:
http://jquery.com/blog/2006/10/26/jquery-button-contest-many-prizes/
On 4 Oct, 07:38, "Tane Piper" <[EMAIL P
Wouldn't it be easier just to hide the button via CSS and then show it
when the document is ready? Or disable the button (via html) then
enable it again via script?
On Oct 1, 12:38 pm, Remy Sharp <[EMAIL PROTECTED]> wrote:
> I've recently been working on a project where the page is complex
> enou
Can it also be changed to take advantage of some browsers XPath
parsing abilities (that is how I thought it would have worked when 1.2
came out)? I know Firefox has native parsing (http://
developer.mozilla.org/en/docs/
Introduction_to_using_XPath_in_JavaScript) and so does Internet
Explorer (via
You use MediaWiki don't you? If so can't you convert the Wiki markup
to Xml and go from there? e.g. http://www.mediawiki.org/wiki/Extension:Wiki2xml
Much better than screen scraping.
On Sep 27, 4:24 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> The documentation is going through some growing
Found out the cause, but not sure how to work around it at the moment:
http://www.texotela.co.uk/wrapexpandos.php
On Sep 26, 1:47 pm, Sam Collett <[EMAIL PROTECTED]> wrote:
> I can replicate the
> error:http://www.texotela.co.uk/code/jquery/focusfields/?jqver=1.2.1
>
>
I can replicate the error:
http://www.texotela.co.uk/code/jquery/focusfields/?jqver=1.2.1
I will see what is causing the problem.
On Sep 25, 4:31 pm, Charles Sheehan-Miles <[EMAIL PROTECTED]>
wrote:
> Hello all,
>
> I'm new to jquery, so forgive me if I'm asking questions which have
> been asked
I don't know if you can check if autofill has changed a form field.
What may work is using a setTimeout (to give the autofiller chance to
run) and then reset the background colour:
setTimeout( function() { $("#myfield").css("background-color", "")},
1000);
I have not tried this, so am not 100%
I have a strange situation where the browser crashes when a
SlideToggle animation is applied. It happens with Internet Explorer 6
and 7. What makes it particularly odd is that it only happens for part
of the site.
Steps to reproduce:
Go to http://www.nelctp.nhs.uk
Click on Help in the bar at the
I find that's true with my site as well. 30% comes from the jQuery
site. 36% is from Google, but mostly jQuery related searches.
On Sep 18, 11:10 pm, Stephan Beal <[EMAIL PROTECTED]> wrote:
> Hi, all!
>
> The past couple of days i've been looking through some web logs and
> found some really unex
Google Web Toolkit is for Java developers (run server side), so it
can't be used for those who may use ASP.NET, PHP, CFML etc
On Sep 18, 5:25 pm, Anjanesh <[EMAIL PROTECTED]> wrote:
> Wow ! I really thought prototypejs being the more popular one
> !http://www.prototypejs.org/real-world
>
> Odd,
Looks like it is being used to show the Google Code blog posts and
featured projects. Maybe they will use some of the more advanced
features someday.
On Sep 18, 3:54 pm, Rey Bango <[EMAIL PROTECTED]> wrote:
> The next time you hear someone say that jQuery isn't a mature framework,
> be sure to p
eq is in 1.2.1, but gt and lt are not.
On Sep 18, 5:14 am, "Joan Piedra" <[EMAIL PROTECTED]> wrote:
> On 9/17/07, astik <[EMAIL PROTECTED]> wrote:
>
>
>
> > With the new version of jQuery out (1.2), some specific code is no
> > longer working ...
> > The lt and gt method are now deprecated ...
>
That's something I'd be interested in using. All the articles I've
read about GZIP compression have been using PHP and never found
anything that used C#. Does it also contain JSMin compression as an
option?
Also, if you made changes to Deans .NET packer perhaps you could send
him the changes?
On
On Sep 17, 1:06 pm, Stephan Beal <[EMAIL PROTECTED]> wrote:
> i think the main reason lt/gt were removed was "because you can do the
> same thing with slice()". John Resig said in a post a week or so ago
> that they were also removed because "they did only one thing, and
> didn't do it terribly we
You have to escape with \\
$("#this\\:is\\:only\\:example");
On Sep 13, 9:42 am, Adwin Wijaya <[EMAIL PROTECTED]> wrote:
> Hi :)
>
> I am glad you are reache version 1.2 :) that's awesome .. but I would
> like to report the bug,
> it seems the jquery 1.2 (and before) still couldnt detect the id
var $a = $('a').click(function() {
console.log('anchor' + $a.index(this) +' in page');
});
On Sep 12, 7:58 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have the following code
>
> $('a').click(function() {
> console.log('anchor'+ pos+' in page);
>
> });
>
> I'd like to be able to get
That gets all options in all selects, this would be better:
$('#mySelectElement option').length
On Sep 12, 1:14 pm, David Duymelinck <[EMAIL PROTECTED]> wrote:
> $('select option').length should do it.
>
> -- david
>
> Ojas schreef:
>
> > Using jQuery, how can I get the following value?
>
> > do
Although, perhaps a better idea would to have a redirect in place as I
am sure there are many other sites that refer to that folder?
On Sep 12, 1:34 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Thanks a lot, Stephan, for the note. I will send this on to the
> publisher.
>
> In the future, you c
sue is in running these
> demos in a contained area that doesn't interfere with the rest of the
> page (or the rest of the page interfere with it).
>
> --John
>
> On 9/11/07, Sam Collett <[EMAIL PROTECTED]> wrote:
>
>
>
> > Use Ajax and load into a div?
&
Use Ajax and load into a div?
On Sep 11, 4:37 pm, "John Resig" <[EMAIL PROTECTED]> wrote:
> We load the demos in an iframe, that must push it into the history.
> Anyone have any thoughts?
>
> --John
>
> On 9/11/07, Scott Sauyet <[EMAIL PROTECTED]> wrote:
>
>
>
> > I've noticed something odd on th
:o/
>
> Chris
>
> On 9/10/07, weepy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > that's an awesome plugin
>
> > On Sep 10, 3:59 pm, Sam Collett <[EMAIL PROTECTED]> wrote:
> > > Using canvas instead of nested div's for the corn
s some problems with the pngfix plugin:
http://khurshid.com/jquery/iepnghack/
On Sep 10, 11:37 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> Sam,
>
> Did you get this solved? I couldn't reproduce the error (IE7), but it
> sounds like a classic "hasLayout"
Using canvas instead of nested div's for the corner didn't help with
the layout (although it looks slightly better). The problem is caused
by the 'position: relative' added to the element with the corner
applied to it.
On Sep 10, 2:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> use this
It uses something else that does not use jQuery:
http://www.barelyfitz.com/projects/tabber/
Something similar can be done with jQuery.
e.g. http://www.texotela.co.uk/code/jquery/headertabs/
On Sep 10, 1:58 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Rick Faircloth wrote:
> > Oops! Sorry about
When I apply the corner plugin to an element on the page, the layout
is affected when I hover over a link with padding. This only seems to
occur in Internet Explorer (IE 6 and 7), and I am unable to find out
the cause.
To replicate, go to http://www.nelctp.nhs.uk
Resize the browser window (making
/jquery.m...
> Line 98
>
> in green: data = {[required: true]}
>
> -Olivier
>
> On 8/28/07, Sam Collett <[EMAIL PROTECTED]> wrote:
>
>
>
> > You could try adding this in $(document).ready, before calling the
> > validate
The way I would do this is get all inputs with a name beginning with
'total' then use .each:
// save jQuery object for later use
$totals = $("[EMAIL PROTECTED]");
$totals.each( function() {
// get letter
var letter = this.name.substr(5);
if(letter == "A") this.value = "Total A";
});
On Aug
On Aug 28, 1:59 pm, "Olivier Percebois-Garve" <[EMAIL PROTECTED]>
wrote:
> Wow your too fast guys.
> It seems that I was using offset() the wrong way.
>
> $left = element.offset().left;
> $top = element.offset().top;
The only problem with that is you are calling offset twice (
You could try adding this in $(document).ready, before calling the
validate plugin:
$.meta.cre = /(\[.*\])/;
$("#foo").validate();
Although that is not documented in the meta data plugin (maybe there
should be an option in it to do that).
On Aug 28, 9:05 am, "Olivier Percebois-Garve" <[EMAIL PR
On Aug 24, 8:31 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Bernd Matzner wrote:
> > Thanks to everyone on the dev team for the new release!
>
> > @Klaus: are you planning to update your tabs plugin to the new
> > release? It uses eq(), which I understand are deprecated now.
>
> I'd rather work o
You can still have slide by doing a plugin:
$.fn.slide = function(dir) {
if(!dir || dir == "leftright") this.animate({width:'toggle'},
"slow");
else if(dir == "updown") this.animate({height:'toggle'}, "slow");
}
$("#foo").slide("leftright");
$("#bar").slide("updown");
Infact maybe slideUp,
Perhaps it should be part of the build process? So you can get packed,
min'd and YUI'd versions of jQuery.
On Aug 23, 12:43 pm, "Tane Piper" <[EMAIL PROTECTED]>
wrote:
> Julien Lecomte has just released 1.1 of his YUI Compressor. As a
> test, he decided to use jQuery with GZip and came up with s
On Aug 21, 2:19 pm, Christof Donat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > I'm aware of that method, but I want a callback to find out what
> > content type was loaded, display it if text/html or execute it if text/
> > javascript.
>
> $('http://example.com/myscript.js"; type="text/javascript">
On Aug 21, 1:15 pm, Christof Donat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > Is there an easy way to get a remote script and run code when it has
> > loaded as well as check the content type? $.getScript only works with
> > those scripts on the same server.
>
> You can use
>
> $('
Is there an easy way to get a remote script and run code when it has
loaded as well as check the content type? $.getScript only works with
those scripts on the same server.
The problem I have is when using Google Maps I get often the sorry
CAPTCHA page (the one you get if too many requests are ma
On Aug 19, 6:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Thank you all very much for the replies. They came in very useful!
>
> One quick question for Sam, though. You said you don't use gridviews,
> etc... what do you do then? Manually write the tables?
I use a repeater and create
I use $("[EMAIL PROTECTED]"]) to get any input elements whose id ends
with MyID (i.e. whatever you set in your ASPX page). Either that, or
use a class instead.
As for the 2nd question, I don't use anything other than the basic
controls (repeater, dropdownlist etc - DataGrid's and GridViews I
don'
There are also a few others:
http://jquery.com/plugins/project/FlyDOM
Easy DOM creation (which technically does not require jQuery, just the
presence of $ in the global namespace):
http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and-prototype
jquery-dom.js
http://www.pinkblack.org/itblog/?p
A great plugin that is now even better. You have put a lot of time
into this it seems and it has come on a long way since the first table
sorter release.
You managed to get a good url for it as well.
That doesn't collapse anything initially. If you click on 'Heading 2'
or 'Heading 3' it actually collapses 'No sub items here' and 'Or
here' (which should always show).
On Aug 10, 4:20 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote:
&
I have set up a test page:
http://www.texotela.co.uk/accordiontest.php
If I click several times on each heading, it freezes the browse (be it
Firefox or IE).
On Aug 10, 3:09 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote:
> Hi Sam,
>
> With your html I was able to get this to work:
> $('#menu').
I've been looking at Jörn's Accordion plugin (http://bassistance.de/
jquery-plugins/jquery-plugin-accordion/) but not found any way to do a
partial accordion (i.e. only apply it to part of a list). I have the
structure:
Home
Header 1
Sub 1.1
Sub 1.2
Sub 1.3
No sub items here
You like developing plugins don't you? ;)
How about an option to show the spoilers when you click on a link
'show spoilers'. I've seen a few forums (can't think of the exact
URL's off the top of my head though) that have this. e.g. $
('.jqSpoiler').initSpoilers("click") or $
('.jqSpoiler').initSp
tems. I updated the demo to reflect this as
> well, for example:
>
> $("h2").each(function(){
> $(this).nextUntil("h1, h2").wrapAll("");
>
> });
>
> --John
>
> On 8/2/07, DaveG <[EMAIL PROTECTED]> wrote:
>
>
>
> >
There is a plugin called nextUntil that you may be able to use. An
example is available at http://dev.jquery.com/~john/jquery/test/nextuntil.html
Although I'm surprised it isn't in SVN or on the plugins page (perhaps
there are bugs?).
On Aug 2, 3:48 pm, DaveG <[EMAIL PROTECTED]> wrote:
> I'm try
I use Programmer's Notepad 2 (http://www.pnotepad.org/) and have even
created some jQuery text clips (amongst others -
http://www.texotela.co.uk/pn2/textclips/)
for it. Although, as I am familiar with the jQuery API and have Visual
Studio I don't use the clips much.
It's not a full-blown IDE lik
On Aug 1, 3:42 pm, "george.gsgd" <[EMAIL PROTECTED]> wrote:
> Perhaps think around the problem. Can you get the height of the
> element? That'd be in pixels regardless.
>
> Or maybe use sIFR instead?
>
sIFR was used, but now a server-side method generates the image (i.e.
so Flash isn't required a
On Aug 1, 11:13 pm, Luke Lutman <[EMAIL PROTECTED]> wrote:
> I've run into this before, and came up with pretty much the same
> solution as Klaus:
>
> http://jquery.lukelutman.com/plugins/px/jquery.px.js
>
> which you can call like so:
>
> $('#example').px('font-size');
>
> One known bug is that i
Some simple plugins that may help.
(function($) {
$.fn.moveRowAfter = function(index, afterIndex)
{
this.find("tr").eq(index).insertAfter(this.find("tr").eq(afterIndex));
return this;
};
$.fn.moveRowBefore = function(index, beforeIndex)
{
this.find("tr").eq(index).
I don't think many actually use !== (and when you would want to use
it) and many sites that show usage of operators don't cover !== (but
do have ===).
3 != '3' false
3 !== '3'true
3 == '3' true
3 === '3'false
On Aug 1, 9:33 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> > I...
When I use $("h1").css("font-size") it differs across browsers.
Firefox returns it the way I want (in pixels), but Internet Explorer
it returns it as returned from the stylesheet (so it could be % or
em). How can I then convert the %/em value into pixels? I am doing
image replacement (byt getting
While in an ideal world, people would update their browser, sometimes
it is not a viable choice (does Safari 2 even work on OSX 10.3.x?) and
may even alienate users (imagine how much easier it would be if all
IE6 users went to IE7 or Firefox?).
Rather than 'return false' perhaps e.preventDefault
On Jul 27, 11:04 am, Sam Collett <[EMAIL PROTECTED]> wrote:
> Also, in wiki perhaps it should prompt you (like in the others) when
> no text is selected?
That should be 'it should prompt you for link text and url when you
insert a link and nothing is selected' as it just adds one/two [ or ]'s
Maybe the old autocompleters should point to Jörn's (if his is the
most up to date) and recommend it as an alternative? It has been in
Alpha for a while (and I think the one in SVN is more up to date).
On Jul 27, 11:53 am, "Dylan Verheul" <[EMAIL PROTECTED]> wrote:
> Use a correct value for cache
You could try
$j(document).bind("scroll", function() {
});
On Jun 28, 4:38 pm, Michael Stuhr <[EMAIL PROTECTED]> wrote:
> i tried:
>
> $j('body').scroll(
> function() {
> console.info ('scrolling ...');
> // do sth
>
> });
>
> but it doesn't work ...
>
> Maybe the selector is wro
Couple of comments:
There's some inconsistency with the icons (specifically for tables).
The icon with vertical line is used for inserted rows in html and wiki
formats, but column in textile (which makes more sense). The one with
it horizontally is for td's in html, columns in wiki and rows in
te
Is the old list still going to be archived (incase some plugins are
not updated by the original author and someone takes it over)?
On Jul 24, 3:30 pm, "Yehuda Katz" <[EMAIL PROTECTED]> wrote:
> I'm not sure how many folks have noticed, but an excellent new plugin
> repository was activated with l
On Jul 17, 2:57 pm, "Christian Bach" <[EMAIL PROTECTED]>
wrote:
> 2007/7/17, Rick Pasotto <[EMAIL PROTECTED]>:
>
>
>
> > On Tue, Jul 17, 2007 at 03:04:59PM +0200, Christian Bach wrote:
>
> > > The new 2.0 release can be found here:
> > >http://lovepeacenukes.com/tablesorter/2.0/
>
> > Interesting
Have you tried using .hide() and .show() instead of addClass? Less
code (both JavaScript and CSS). Unless the class 'show' has more than
just "display: inline"?
On Jul 12, 1:15 pm, stef <[EMAIL PROTECTED]> wrote:
> Im using the code below to display / hide form fields depending on
> what value is
I didn't expect it to be changed in a 1.1.x release (as it is a
significant change), so maybe 1.1.2 is a safer bet for many, until
1.1.4 (will be fixed then?).
So perhaps from now on it would be better to do $("a").bind("click",
clickFn) to bind and $("a").trigger("click") to click? bind and
trig
You may also want to cancel Ajax requests (as is the case with
autocomplete), but I don't know if you can do that with jQuery. Maybe
something like:
$.ajax({
type: "GET",
url: "autocomplete.php",
queue: "autocomplete",
cancelExisting: true
})
Which would cancel an existing request in
Perhaps it needs a new name as well (rather than just 'Thickbox
Reloaded'), because it does function slightly differently to Thickbox?
On Jul 10, 2:32 pm, Joel Birch <[EMAIL PROTECTED]> wrote:
> On 11/07/2007, at 12:25 AM, Alexandre Plennevaux wrote:
>
> > Hi Klaus,
>
> > I personally am looking
Not quite the same as it fades in rather than scrolls. Sliding could
be done if you replace fadeOut with slideUp and fadeIn with slideDown
Example:
http://www.texotela.co.uk/code/jquery/newsticker/slide/
On Jul 9, 5:21 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote:
> I like newsticker: http://w
On Jul 9, 4:14 am, Larry Garfield <[EMAIL PROTECTED]> wrote:
> You can attach a click event handler to the link, then crawl up the DOM to the
> nearest div and .hide() that.
>
> I think something like this (untested!):
>
> $('a).bind('click', function () {
> $(this).parents('div')[0].hide();
>
>
I don't know if this will help (does not depend on jQuery):
http://webdevel.blogspot.com/2006/06/create-css-class-javascript.html
It's not been compared with using jQuery to alter CSS, but I think it
may be faster. It modifies the CSS properties directly (replaces them
with what you enter). It ad
You could always preload images before hand (no need to use CSS
tricks).
http://www.texotela.co.uk/code/jquery/preload/
On Jul 5, 3:02 am, Jon <[EMAIL PROTECTED]> wrote:
> What's better than asking, is testing..
>
>
> Much better.. Sorry if you felt I've wasted your time.
>
> On 5 Jul., 03:25,
While it is fixed in SVN, I would rather wait till the next release
(1.1.3.1 rather than 1.1.4). So for the time being, I am sticking with
1.1.2 (for work related sites).
On Jul 4, 11:33 am, "Francisco José Rives" <[EMAIL PROTECTED]> wrote:
> Fixed in the latest trunk version :-D
While it doesn't exist as a CSS property in IE 6, you used to be able
to do $("#foo").css("opacity","0.8") and it would still apply the
opacity the the element(s) it was applied to.
On Jul 4, 10:13 am, SeViR <[EMAIL PROTECTED]> wrote:
> In IE 6 CSS opacity doesn't exists, you must use
>
> filter:
EMAIL PROTECTED]> wrote:
> Brandon's fix corrected the problem on IE7. Note that you'll need the
> latest blockUI (v1.25) for proper operation in IE6.
>
> http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.block...
>
> Mike
>
> On 7/2/07, Sam Colle
ite right. I was testing with the
> wrong release. The opacity is not working correctly in IE7. Is IE6
> working? Virtual PC is giving me fits at the moment.
>
> Mike
>
> On 7/2/07, Sam Collett <[EMAIL PROTECTED]> wrote:
>
>
>
> > The blocking is fine, it&
6
> > working? Virtual PC is giving me fits at the moment.
>
> > Mike
>
> > On 7/2/07, Sam Collett <[EMAIL PROTECTED]> wrote:
>
> > > The blocking is fine, it's just the background is completely black (or
> > > whatever colour you set for th
A simple test
in :