Not sure exactly - did you remember to put it in a
$(document).ready(function(){ ... }) block?
--John
On Dec 12, 2007 3:31 AM, priti <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> I am relatively new in jquery.I just installed and was sailing thru
> tutorial.But somehow i was not able to run following c
Good find - some real interesting code in there.
--John
On Dec 13, 2007 1:18 AM, R. Rajesh Jeba Anbiah
<[EMAIL PROTECTED]> wrote:
>
> (I'm posting this as Google returns no result
> http://groups.google.com/groups?q=jquery+jaiku
> )
>
> FWIW, recently I've seen Jaiku's jQuery codes/plugins; the
(I'm posting this as Google returns no result
http://groups.google.com/groups?q=jquery+jaiku
)
FWIW, recently I've seen Jaiku's jQuery codes/plugins; they're quite
elegant http://jaiku.com/js/core.js
--
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
On Dec 12, 7:56 pm, "KidsKilla .grin! wuz here" <[EMAIL PROTECTED]>
wrote:
> This problem caused in IE not because of jQuery bug, but because of IE bug.
> IE doesn't allow to work with DOM untill it's fully downloaded and be ready.
> This is why everything works fine inside $(document).ready()
> t
On Dec 13, 5:38 am, Action <[EMAIL PROTECTED]> wrote:
> I got the information about the image (height, width, src), removed
> it, then created a div of those dimensions in its place with that
> image set as the background.
Thanks for sharing.
--
Email: rrjanbiah-at-Y!comBlog: http:
var emptyJQueryCollection = jQuery([]);
On Dec 12, 2007 7:32 PM, McLars <[EMAIL PROTECTED]> wrote:
>
> Is there an elegant way to create an empty jQuery collection? The only
> way I've figured out to do it is like this:
>
> var jqObjects = $(this).not(this);
>
> This seems rather stupid to me. Th
Hey Andy, I just looked on that page and near the bottom on the comments, I
found this
This plugin is currently incompatible with jQuery 1.2.x. To make it
compatible, replace .each(function() { $.dequeue(this, "fx"); }) with .stop()
around line 84-85.
I haven't tried it, let us know if it works.
Is there an elegant way to create an empty jQuery collection? The only
way I've figured out to do it is like this:
var jqObjects = $(this).not(this);
This seems rather stupid to me. There should be a simpler way.
I need this so that I can fill it with jQuery objects that I create
inside a loop,
The contains selector works fine with tags (a:contains()) etc. but
doesn't seem to work with $(this). What is the best way to use
contains with "this"??
here is my scenario:
var matchingText = "Text2";
Text1
Text2
I want to see if the text in matchingText matches text in any of the
anchor ta
Hello,
I have a question about using the :contains filter to match the text
of an anchor tag...
Text 1
Text 2
...
I'm trying to use the ul.list selector to run through all anchor tag
descendants and check their .text() to see if it matches a query.
$(this:contains()) does not work, and I tri
A few of the recent posts have mentioned using jQuery.pushStack to
turn an array into a jQuery object and allow the use of end(). Is
there any official documentation for it? I can figure out how to use
it from the source code, but to me if it's not documented then it's
not supported and may disapp
I got the information about the image (height, width, src), removed
it, then created a div of those dimensions in its place with that
image set as the background.
On Dec 12, 12:44 am, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
> On Dec 11, 11:41 pm, Action <[EMAIL PROTECTED]> wrote:
>
> >
I have created a simple app screen based off of the example/tutorial
on jquery website for coldfusion and ajax.
I have firebug running and have stepped through the entire process.
All processes seem to be working correclty, I fill a value in a
formfield and onblur a query is invoked and dataset i
This error happens when trying to use a dimensions method on a jquery
selection that did not find anything (an empty jQuery collection). If
you download the latest dimensions file from svn the error should no
longer happen.
On Dec 12, 10:40 am, Eridius <[EMAIL PROTECTED]> wrote:
> I am getting t
Of course! Raise right hand and hit sharply upside the head. :-)
Thanks John
On Dec 12, 10:33 am, howardk <[EMAIL PROTECTED]> wrote:
> John's got an example of chaining in his book, "Pro JavaScript
> Techniques", that isn't working for me. More importantly, I don't
> understand what the code is
I could not get the first example to work. Again, I just can't seem to
grasp what map does or how to make it work.
The second example is very close to working, except that it returns an
array, not a jQuery collection. So, let me try rephasing my question.
How do I create an empty jQuery collectio
I actually agree strongly with you: plugins should be chainable. But
not all are (even some jQuery methods are not, like the ones that
return text [val(), html() etc. without arguments]).
On Dec 12, 9:47 pm, "Brian Cherne" <[EMAIL PROTECTED]> wrote:
> I want to disagree with Danny's first stateme
I modified it to run under 1.2, with the most recent easing plugin:
http://youngisrael-stl.org/inc/jquery.lavalamp.js
On Dec 12, 10:21 pm, Andy Matthews <[EMAIL PROTECTED]> wrote:
> I'm really wanting to use Ganeshki's excellent LavaLamp plugin
> (http://www.gmarwaha.com/blog/?p=7) but it appear
Hi all. I'm working on a little design assistance script/plugin/not sure yet
in jQuery. The intent is to be able to have jQuery automatically draw
alignment grid lines over the page so that I can visually line up other
elements on the page. Code follows:
--
jQuery.grid = function(se
I'm really wanting to use Ganeshki's excellent LavaLamp plugin (http://
www.gmarwaha.com/blog/?p=7) but it appears that it doesn't work with
the most current stable release of jQuery.
Does anyone know if there's an updated release somewhere that meets
the 1.2.x requirement? Or is there an alterna
I want to disagree with Danny's first statement... if you're going to create
a jQuery plug-in (re-usable and useful to all) then it's best to follow the
convention of returning the elements it's acted on. If you want it to return
something else (or nothing) don't create a plug-in -- instead create
Thanks. That should be fixed now.
--
View this message in context:
http://www.nabble.com/-PLUGIN--JAddTo-tp14302539s27240p14309325.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
On 12 Dez., 11:26, Richard W <[EMAIL PROTECTED]> wrote:
> I was wondering if there is any way of making the tabs still retain
> their original link after you have click on a tab.
> IE when you click on a tab, it goes selected but the link still
> remains and the cursor still remains as a link area
Perfect thanks. I didn't try that second one, but I will give it a go.
Glen
On Dec 12, 2007 1:24 PM, Mika Tuupola <[EMAIL PROTECTED]> wrote:
>
>
> On Dec 12, 2007, at 8:49 PM, Glen Lipka wrote:
>
> > I have a nav that I do not control the HTML Source.
> >
> >
> >
> >
> >
> >
> > I want
Good news Jorn. Thanks for an awesome plugin.
-- Josh
- Original Message -
From: "Jörn Zaefferer" <[EMAIL PROTECTED]>
To: "jQuery Discussion."
Sent: Wednesday, December 12, 2007 2:26 PM
Subject: [jQuery] Release: Validation plugin 1.1.2
Hi,
I've just release version 1.1.2 of t
If you have no reason to chain your plugin (something like $
('#photo').photo(...).css(...).attr(...) then having it return a
different object makes sense. But then, why put it in the jQuery
namespace at all? 'return new smaon.photo(...) makes as much sense.
Danny
On Dec 12, 10:38 am, Smaon <[EMA
I figured it out.
Eridius wrote:
>
> I am getting this follow error and not sure what it means
>
> [Exception... "'Dimensions: jQuery collection is empty' when calling
> method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e
> (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]
great work Jörn!
On Dec 12, 2007 11:26 PM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've just release version 1.1.2 of the validation plugin. Hot from the
> changelog:
>
> * Replaced regex for URL method, thanks to the contribution by Scott
> Gonzalez, see http://projects.scottsplaygr
Jason Levine schrieb:
This is my first JQuery plugin in awhile. I needed to put up a series of
"Add To Digg"-style links on the http://www.ShootingForACause.com/2008/
Shooting For A Cause website. After collecting the images and links, I
realized that this would make for a good JQuery plugin
Hi,
I've just release version 1.1.2 of the validation plugin. Hot from the
changelog:
* Replaced regex for URL method, thanks to the contribution by Scott
Gonzalez, see http://projects.scottsplayground.com/iri/
* Improved email method to better handle unicode characters
* Fixed error contai
Hello,
I'm using jqchart, and am finding it very nice. I'm wondering if there
is a way to have y values display on both sides of the chart so if you
have a chart with 2 sets of values you could have one side show 1 -
100 and the other side show 200 - 500 for example.
Nice plugin but the add to example on the page has a spurl links for the
simpy and smarking icons.
- David
Jason Levine schreef:
This is my first JQuery plugin in awhile. I needed to put up a series of
"Add To Digg"-style links on the http://www.ShootingForACause.com/2008/
Shooting For A C
Something like this should do the trick:
$(".tablesorter tr").mouseover(function() {$
(this).addClass("over");}).mouseout(function() {$
(this).removeClass("over");});
css:
table.tablesorter tr.over td {
background:#BCD4EC none repeat scroll 0% !important;
}
On 12 déc, 21:17, Arturo <[E
On Dec 12, 2007, at 8:49 PM, Glen Lipka wrote:
I have a nav that I do not control the HTML Source.
I want to have a hover event applied to the IMG so that when you
hover over the img src changes from foo.gif to foo_on.gif and
bar.gif to bar_on.gif.
http://www.appelsiini.net/200
By the way, future additions that I plan on incorporating are custom entries
(since I don't think I'd ever come close to having all possible entries) and
fly out effects (kind of a horizontal accordian thing). For now, though,
this is a good 0.1 release.
-Jason Levine
--
View this message in c
Nice work Jason.
On 12/12/07, Jason Levine <[EMAIL PROTECTED]> wrote:
>
>
>
> D'oh! Thanks for pointing that out. It should be fixed now.
>
> --
> View this message in context:
> http://www.nabble.com/-PLUGIN--JAddTo-tp14302539s27240p14303233.html
> Sent from the jQuery General Discussion mailin
D'oh! Thanks for pointing that out. It should be fixed now.
--
View this message in context:
http://www.nabble.com/-PLUGIN--JAddTo-tp14302539s27240p14303233.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
I use a code to bgcolor odd table rows in my tables. Something like:
$('table').find('tr:odd').css({backgroundColor: '#fffbdd'});
And I'd like to keep the zebra-colouring after a table sorting with
tablesorter().
But I've looked at the docuentation on the plugin and it doesn't seem
to provide
http://www.jasons-toolbox.com/JavaScript/jquery-1.2.1.pack.js 404's..oops!
-js
On Dec 12, 2007 1:58 PM, Jason Levine <[EMAIL PROTECTED]> wrote:
>
>
> This is my first JQuery plugin in awhile. I needed to put up a series of
> "Add To Digg"-style links on the http://www.ShootingForACause.com/20
This is my first JQuery plugin in awhile. I needed to put up a series of
"Add To Digg"-style links on the http://www.ShootingForACause.com/2008/
Shooting For A Cause website. After collecting the images and links, I
realized that this would make for a good JQuery plugin. So I wrote it.
I he
Nope, not in the API anymore, it's equivalent to:
.attr("title", errMsg.required)
--John
On Dec 12, 2007 1:33 PM, howardk <[EMAIL PROTECTED]> wrote:
>
> John's got an example of chaining in his book, "Pro JavaScript
> Techniques", that isn't working for me. More importantly, I don't
> understan
John's got an example of chaining in his book, "Pro JavaScript
Techniques", that isn't working for me. More importantly, I don't
understand what the code is intending to do, so I can make an attempt
to fix it. The code in general is adding a help cursor and a red star
to a field in a form to indic
This would do the trick:
$(function() {
$('.nav a img').hover(
function() {
this.src = this.src.replace( /\.gif$/, '_on.gif' );
},
function() {
this.src = this.src.replace( /_on\.gif$/, '.gif' );
}
)
I have a nav that I do not control the HTML Source.
I want to have a hover event applied to the IMG so that when you hover over
the img src changes from foo.gif to foo_on.gif and bar.gif to bar_on.gif.
How do you do that replace hover?
Glen
I am getting this follow error and not sure what it means
[Exception... "'Dimensions: jQuery collection is empty' when calling method:
[nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]
--
View this message in context:
http://www.na
Two quick questions:
what version of php are you running? I believe that zend only supports
php5, but I could be wrong on that.
In firebug, what is being returned in the "response" tab?
On 12/12/07, jforth <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to test something here and having issues getti
Hi all,
I was going to post this in the jQuery plugins group, but I see
traffic there is next to nil. I've been using jQuery and its
associated plugins for about six months now. I lurk this group a lot
and have learned a ton from everyone here, so thanks! Now, on to my
question. I've been usi
This is what I'm trying to do with a textarea.
1. Limit number of characters
2. Limit number of lines
3. Diminish linelimit if characters in line exceed charlimit/linelimit
4. Substract number of "lost" chararacters from charlimit if linebreak
("\n") is provoked
5. Disable input when either limit
Thank you for your answer Danny.
I'm currently trying this way:
jQuery.fn.photo = function (...) {
var canvas = $(this).get(0);
return new jQuery.photo(canvas, settings);
}
jQuery.twistMap = function(canvas, settings){
//create code
this.crop = function(){
Guys. Everything is much simplier.
has the other value for display property, than block it's table-cell.
change your html code:
Add a gift message:
2007/12/12, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]>:
>
> On Dec 12, 8:42 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
> > Dave, the
$.get('http://mylogin:[EMAIL PROTECTED]', data, callback)
2007/12/11, Dado <[EMAIL PROTECTED]>:
>
> $.get does not seem to comply to the defaults set with $.ajaxSetup. Is
> this a bug or a feature? Alternatively, I would like to have
> customized $.ajax calls ala $.getJSON. For example, something
I'm trying to test something here and having issues getting it to
work.
here's my jquery script : // I should get an alert object if it works?
but in firebug all I get is invalid label.
var url = "http://127.0.0.1/projects/micro-printing.com/projects/
micro-server/index.php/client_api/test?call
This problem caused in IE not because of jQuery bug, but because of IE bug.
IE doesn't allow to work with DOM untill it's fully downloaded and be ready.
This is why everything works fine inside $(document).ready()
there is 2 ways to fix it:
1. initialize everything in $(document).ready()
2. paste y
Hi everyone,
Thanks for the help. I ended up using Chris's example. It didn't work
at first so I changed the code. Here is the finished jQuery code in
case anyone is interested :
$(document).ready(function() {
$("a.adtrack").click(function(){
//Get url of image advert
var adURL = $("a.
I download the jquery-ui.min.js by just selecting the Draggable plugin
which produced an 18K file.
$('table.draggable').draggable();
actually works just fine on my page. It even works in IE 6.
BUT! I'm getting errors in Firebug and the Error Console. And on IE6 I'm
getting some error warnings
I changed the "block" attribute value to "table-row" as per Karl's
suggestion and everything works great.
Thanks, - Dave
On Dec 11, 9:42 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Actually, there are two .toggle() methods, just as there are
> two .load() methods.
>
> The .toggle() effect t
hi all!
i was wondering if anyone has achieved to use jqModal to actually display
content in an iframe (instead of doing an ajax call). On Brice's page, he
says "Inline or remote (ajax/iframe) Window Content." has an available
feature, but i haven't managed to do so.
I thought using an iframe
Hi Benjamin,
I'm currently struggling with a similar error. Possibly the xml data
isn't transmitted as XML?
$.ajax({
type: 'GET',
url: xmlFile,
dataType: 'xml',
success: function(){},
error: function(x, s, e){}
});
If I use JSON, things are working nicely. Any chance to change your
xmlfile to j
Oh, you were also appending, I didn't realize.
You can still do (in a plugin if you want)
this.children().sort(.).appendTo(this).end().end();
On Dec 12, 12:10 pm, Flesler <[EMAIL PROTECTED]> wrote:
> Just in case you are interested, you could do:
>
> $.fn.sort = function( sorter ){
> r
Just in case you are interested, you could do:
$.fn.sort = function( sorter ){
return this.pushStack( this.get().sort(sorter) );
};
On Dec 11, 9:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I needed to randomly reorder the 's in a each time the page
> loaded. I couldn't find an
Wondering if anyone has a solution for this?
On Dec 11, 9:49 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> Hey guys,
> I know I did this before with jQuery v1.1 where I was able to load an xml
> file in IE6/IE7 on a cd, but can't find the code I wrote. Currently I am
> doing the code belo
Charles,
I have a feeling you need to switch your $(document).ready() function
to a $(window).load() function. Let me know if that works for you.
Regards,
Dan
On Dec 8, 5:26 pm, Charles Johnson <[EMAIL PROTECTED]> wrote:
> I believe this bug was supposed to have been fixed in the move from
> jQ
I was wondering if there is any way of making the tabs still retain
their original link after you have click on a tab.
IE when you click on a tab, it goes selected but the link still
remains and the cursor still remains as a link area, so when you are
viewing the content of the selected tab, you s
Hi, I'm trying to configure a jcarousel to use in a navigation menu
system.
- The width of the div containing the list is 100% and before the
implementation of the carousel, overflow:hidden would nicely hide the
li elements that vas overflowing, including the item that was only
partially visible
hi,
I am relatively new in jquery.I just installed and was sailing thru
tutorial.But somehow i was not able to run following code
$("a")
.filter(".clickme")
.click(function(){
alert("You are now leaving the site.");
})
.end()
.filter(".hideme")
.click(function(){
Have a look to http://listes.rezo.net/mailman/listinfo/jquery-fr
On Dec 11, 9:20 pm, "Haingotiana A." <[EMAIL PROTECTED]> wrote:
> Hi all !
>
> Does anyone know if jquery discussion exist in french.
>
> Thanks.
Thank you, but this still does not seem to work.
And i can't seem to get $.post to work properly as well
if i execute it like this:
$("#previewform").children(".sendtextfield").each(function(){
$.post("import/createpreview.
Use encodeURIComponent() with your parameters. I'm creating Turkisj web site
and i have a lot Turkish character like ş ğ ı ç ö. I'm using UTF-8 all of my
files for the enconding. And I'm sending all post and get datas with
encodeURIComponent() function over the javascript and jquery.
2007/12/11, N
Any idea how they do the "lines" in the line graphs? The sloping lines
that is
Is that simply small 1px divs positioned along the line? Or is there
another trick there?
Shawn
Rey Bango wrote:
>
> Found this one today on DZone and it's been around for awhile. Surprised
> I missed it.
you should add a stylesheet for printing in which you hide all content
but the < dl > element:
I'm using Jquery, i really like it and its plugins. Also i don't like other
libraries. For example i'm using symfony framework for web application
development. But i'm not using internal javascript helpers of symfony.
Because they are prototype and script.aculo.us and i don't like them. I'm
also we
You want a hit test. This will compare the position of two rectangles (in
your case) and say whether they overlap or not. Here's a simple one:
// given two rectangles: r1, r2
// x1, y1 is upper-left corner; x2, y2 is lower-right
var hit = ( !(r1.x1 > r2.x2 || r1.x2 < r2.x1 || r1.y1 > r2.y2 || r1.y
Dado schrieb:
$.get does not seem to comply to the defaults set with $.ajaxSetup. Is
this a bug or a feature? Alternatively, I would like to have
customized $.ajax calls ala $.getJSON. For example, something like
$.getJSONPwithBasicAuth(url, data, callback, username, password) and
have datatype
Simply return your new collection. How you get your new collection
from the current object may well involve map(), but however you do it,
all you need to do is return whatever collection you want to continue
the chain with. It is probably advisable to use pushStack(), so that
your original collect
On Dec 12, 12:29 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On 8 Dez., 23:26, Charles Johnson <[EMAIL PROTECTED]> wrote:
> I had a similiar problem when using the ready event with scripts at
> the bottom of the page - in that case the ready event isn't necessary
> and I just forgot to remove
On Dec 12, 2007 10:44 AM, Suni <[EMAIL PROTECTED]> wrote:
>
> What I find disturbing is that it was when ui.jquery.com first
> launched when people already brought this up, since the frontpage
> loaded so slowly, yet it has not been fixed - a job that would require
> maybe less than a minute to do
On 12 joulu, 05:02, "Rick Faircloth" <[EMAIL PROTECTED]> wrote:
> I've seen way too many sites that don't properly optimize images
> and end up with a 400 KB image trying to download that could easily
> be optimized to 20 KB and maintain image quality... figure up the
> difference in performance
This is possible. We get trolls all the time on our forums.
I'd like to point out, however, that all the other links that you guys
referred him to have old performance results. We didn't advertise it,
but since the release of 1.2b we updated the Slickspeed to reflect
1.2b.
All the claims that Mo
78 matches
Mail list logo