Thanks Charlie,
You describe the situation perfectly! I am still a tenderfoot at this
game but I am getting my hands dirty.
Priorities is not the easiest notion to grasp.
I am using Firebug but I am not yet fully proficient with all its
functionalities and haven't (yet) got the method to move up
Hi everyone,
I am using Jquery for moving widgets in a page.By using
(http://nettuts.s3.amazonaws.com/127_iNETTUTS/demo/index.html ) site i done
it.it is working fine in normal page.I am using in master page(asp.net).
when widgets placing one bye one the page height is increasing .I
Well, after a few tests, this works fine :
$(#cat_list div).live(click, function()
{ alert($(this).attr(id));
});
thanx
That's easy, .next() finds the nearer next *sibling* of current element
matching the selector. In your case, your element is not current element's
sibling, it's under another node altogether.
div
span class=mehey, it's me !!/span
spanand I'm his sibling/span
aand I am too/a
p
spanthough I am not
Indeed, you could try something like this :
string.replace(/((?:(?:http:\/\/)|(?:mailto:))([^\s]+))/, 'a href=$1
title=$2$2/a');
And bam! the returned value will have your http://s and mailto:s wrapped in
nice links.
Michel Belleville
2009/12/4 Dhruva Sagar dhruva.sa...@gmail.com
Of course
Karl Swedberg wrote:
On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote:
I refrained from replying because the OP seemed trollish, but he has a
point, IMHO.
It would be great if someone who knew both frameworks could set up a
page that demonstrated a side-by-side case where Mootools has
Hi All,
I have a scenario where I have a results box and a drop zone where
results can be dropped. When the results are dropped, the results box
is updated with new results. My problem occurs when dragging a result
while the results box is being re-loaded from the previous drop. The
results box
Just used your benchmark and I didn't see any significant differences. Both
had slight jumps from time to time, none felt like there was a pattern, I'm
using Firefox 3.5 on a iMac pro (last year's edition) running snow leopard.
Michel Belleville
2009/12/4 Jonathan Vanherpe (T T NV)
That's why I said you needed to find a slow computer to test it on ;-).
We need to cater to a diverse audience, and part of that audience is
using IE6 on a crappy Intel Celeron chip or Firefox on a G4.
Jonathan
Michel Belleville wrote:
Just used your benchmark and I didn't see any significant
You also need to tell it to use a button to trigger the popup using
the showOn setting. Set it to 'button' to only popup on the button
click and not on focus, or 'both' to show on either.
('#MembershipWizard1_Wizard1_ctl05_ClubConfirmation1_txtStartDate').datepicker
({ dateFormat:
Hi jQuery users
I have pretty much finished my simple spellchecker plugin (barring
additional functionality) and am wanting some testing/feedback/
criticism/bug reports etc from the jQuery community.
My initial inspiration for the plugin came from a work responsibility:
to build a spellchecker
Hello all,
I have a strange problem with jquery load. I have this two loads
on a click event:
action='first';
$( '#operators_list_div' ).html( 'nbsp;' ).load( '{% url
add_save_view %}',{'action':action, });
action='second';
$( '#address_list' ).html( 'nbsp;' ).load( '{% url add_save_view
Cool, appreciate the effort, I will check it out soon and give you my
feedback.
Thanks Regards,
Dhruva Sagar.
On Fri, Dec 4, 2009 at 3:37 PM, Richard W willis...@gmail.com wrote:
Hi jQuery users
I have pretty much finished my simple spellchecker plugin (barring
additional functionality)
Hi,
I need to update a div that contain a table, and another one that
contain a drop down list, that is build depending on what is in one
table from db(the first div depend on this also). It's possible to
update the 2 divs with the same load, or need to use two load. I try
this but not worked
.load() also has a success triggered callback.
Michel Belleville
2009/12/4 NMarcu marcu.nico...@gmail.com
Hi,
I need to update a div that contain a table, and another one that
contain a drop down list, that is build depending on what is in one
table from db(the first div depend on this
Can you give me please some example or where to find a documentation about
what you said.
2009/12/4 Michel Belleville michel.bellevi...@gmail.com
.load() also has a success triggered callback.
Michel Belleville
2009/12/4 NMarcu marcu.nico...@gmail.com
Hi,
I need to update a div that
For some reason I have a feeling you've overlooked the official jQuery
documentation on .load(), especially the example section.
http://docs.jquery.com/Ajax/load#urldatacallback
Michel Belleville
2009/12/4 Nicu Marcu marcu.nico...@gmail.com
Can you give me please some example or where to find
Celeron? BAH!
They need to kill that beast.
In openSuse, on a not so slow machine ;) running KDE, Firefox 3.5.5
with only the cookie monster plugin activated, I noticed a slight lag
in the mootools sample.
Some of this perceived speed difference may be a direct result of
plugins, or proxy
I think you're better of with $.get and then doing the finding and loading
into both divs yourself.
- Richard
On Fri, Dec 4, 2009 at 5:21 AM, NMarcu marcu.nico...@gmail.com wrote:
Hi,
I need to update a div that contain a table, and another one that
contain a drop down list, that is build
Hi,
I am not able to post an example at the moment.
Does anybody have an idea for solving this problem?
Thank you.
On Dec 3, 9:54 am, Filipa Andrade filipa.andr...@gmail.com wrote:
Hi Mike,
sorry but I cant post a link. I will try to make one example of this
problem and post it here.
As
I have a 'slow computer' that is 6 years old hardware, has been
upgraded from windows 3.1 and upward, to the current XP without ever a
wipe and reinstall. I figure I'm a worst-case scenario if there ever
was one. ;-)
I routinely find pages loading extremely slow from javascript-intense
sites.
Hi All
I'm having a problem with jScrollPane. Take a look on
http://www.cmt.ca/unstable/ - photo gallery on the right.
It loads the whole list first and then limits it to certain width. So my
question is - is is possible to eliminate that effect when user sees whole
list for a while.
Any help
Hallo all.
I would like to save the response of an AJAX call in a variable
declared in the document ready in parent page.
Imagine this piece of code
http://pastie.org/727450
The document ready lives in an iframe so I would like to save in the
parent page the var myVariable, not to load it every
Well it depends ; most of the times you end up loading a big bit of data
that should replace a specific portion of the screen (let the standard
.load() behaviour do the heavy lifting for this one) plus a few tidbits like
notifications and so on that are secondary (can be dealt with in the
Hi all,
I get an error when using rules('remove') from Jörn Zaefferer's
Validate plugin.
The error is:
elem is undefined
[Break on this error] var id = elem[ expando ];\r\n
The code is:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
I want to pass some value (other than that i type in text box) when i
am using autcomplete . for that i am using extraParams and passing it
in the below manner
extraParams: {
id: 1234,
},
so how can i get the value in php which i passed as extraParams.
Hello all,
I am using the JQuery validator from
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
. And I am using the calandar component from YUI.
The problem is similar to what bobbykjack has .
I have an input field ,when user clicks into it the calendar pops up.
When user
I get these faults:
jQuery is not defined
hoverIntent.js()hoverIntent.js (rad 84)
[Break on this error] })(jQuery);hoverIntent.js (rad 84)
jQuery is not defined
superfish.js()superfish.js (rad 121)
[Break on this error] })(jQuery);\nsuperfish.js (rad 121)
$(ul.sf-menu).superfish is not a function
Hello i'm new here, Is it posible?
Hello i'm new here, Is it posible?
Yes, it is.
Best regards,
Andreas
ok, thanks for the response.
But what is the best, is it good to have more than a documen.ready ?
it doesn't bring problems?
On 4 dic, 11:33, Andreas Möller localhe...@l8m.de wrote:
Hello i'm new here, Is it posible?
Yes, it is.
Best regards,
Andreas
You can get it in PHP as $_REQUEST['id']
Thanks Regards,
Dhruva Sagar.
On Fri, Dec 4, 2009 at 8:06 PM, .. cognizantst...@gmail.com wrote:
I want to pass some value (other than that i type in text box) when i
am using autcomplete . for that i am using extraParams and passing it
On Dec 4, 10:07 am, xirurg vshala...@hotmail.com wrote:
I'm having a problem with jScrollPane. Take a look
onhttp://www.cmt.ca/unstable/- photo gallery on the right.
It loads the whole list first and then limits it to certain width. So my
question is - is is possible to eliminate that effect
there's no problems with it...
as for best, that completely applies to the situation, there is no
one, all-encompassing answer for that
On Dec 4, 10:35 am, coolf jm.neut...@gmail.com wrote:
ok, thanks for the response.
But what is the best, is it good to have more than a documen.ready ?
it
Basically, my advice would be :
1. first, load jQuery
2. then load jQuery extensions (UI, plugins)
3. then load your own domain-specific extensions (method declarations,
etc.)
4. then load your page hooks (in a $(function() { ... }) block so it
starts when the page is complete),
I wouldn't suggest going the .live route if you plan on having a lot
of children of cat_list
using event delegation, there is one single event wired up that
handles 1 child or 1200 children
using .live, you would have N number of events sitting there wired
up where N is the number of
up
On 2 déc, 12:21, teemak yacine.mourc...@gmail.com wrote:
Hi there,
I use Jcaroussel with circular autoscrolling setting.
It's works but at each picture it stops (just a second but it stop)
and restart.
I have to do a smooth (or soft) autscrolling.
Thanks.
Teemak
PS: Sorry for
thanks to all
On 4 dic, 12:08, Michel Belleville michel.bellevi...@gmail.com
wrote:
Basically, my advice would be :
1. first, load jQuery
2. then load jQuery extensions (UI, plugins)
3. then load your own domain-specific extensions (method declarations,
etc.)
4. then load
I tried this way:
http://pastie.org/727632
The div is appendend but the javascript declaration not:
Any idea?
Kind regards
Massimo
On 4 Dic, 16:13, m.ugues m.ug...@gmail.com wrote:
Hallo all.
I would like to save the response of an AJAX call in a variable
declared in the document ready in
Just out of curiosity, which browser are you using? Did you try it in
more than one?
--Karl
On Dec 4, 2009, at 9:43 AM, donb wrote:
I have a 'slow computer' that is 6 years old hardware, has been
upgraded from windows 3.1 and upward, to the current XP without ever a
wipe and reinstall. I
Hi All:
I've read over the docs, but don't quite understand what the bind() event
provides versus just assigning a particular event handler to a selected
element (or set of elements).
For example, consider the code below. What's the difference between the
interaction with the p elements of
Sorry to ask a silly question like this. I solved this . Here goes the
modified script :
$('#addEmployee').click(function(){
$.ajax({
url: 'searchEmployee.do?method=searchEmployee',
type: 'GET',
data:
Hey Charlie,
methods such as .click() and .mouseover() are just convenience
methods. They all use .bind() internally. One nice thing about .bind()
is that you can use multiple event types with it. For example, instead
of doing this:
$('a')
.mouseover(function() {
var $link =
Hi Karl:
Awesome! Got it :)
Thanks for the explanation and examples.
Charlie
On Fri, Dec 4, 2009 at 9:01 AM, Karl Swedberg k...@englishrules.com wrote:
Hey Charlie,
methods such as .click() and .mouseover() are just convenience methods.
They all use .bind() internally. One nice thing
On Dec 4, 2009, at 11:09 AM, MorningZ wrote:
I wouldn't suggest going the .live route if you plan on having a lot
of children of cat_list
using event delegation, there is one single event wired up that
handles 1 child or 1200 children
using .live, you would have N number of events
Well I dont think I'll have more than about 15 childs here.
Thx for help
On 4 déc, 17:09, MorningZ morni...@gmail.com wrote:
I wouldn't suggest going the .live route if you plan on having a lot
of children of cat_list
using event delegation, there is one single event wired up that
Your first example doesn't work because getJSON doesn't return the JSON data
as its return value; it *calls a function* and passes the data as an
argument to that function.
Remember that getJSON is asynchronous. The call to getJSON returns before
the data is even downloaded. Any time you have
It really makes little difference at all. jQuery makes an array of all your
ready callbacks, and when the document is ready it loops through that
array and calls each function. So other than that tiny bit of overhead, the
net effect is exactly the same whether you put all the code in one ready
Yep Karl's explanation was great. Also, you can leverage bind() to work
with your own custom events in the case where you want to define
something that needs to be triggered based on another action. Using the
code from the docs, you can see what I'm talking about:
$(p).bind(myCustomEvent,
Oh yeah, that too! :-D
--Karl
On Dec 4, 2009, at 1:41 PM, Rey Bango wrote:
Yep Karl's explanation was great. Also, you can leverage bind() to
work with your own custom events in the case where you want to
define something that needs to be triggered based on another action.
Using the code
My suckerfish dropdown menu isn't working in IE.
http://www.alliedcash.com/comparison/
(I've attached a dropdown menu to the Resources button / link)
It works fine in Firefox, .. but in IE it gives me the following error
messages. Please advise.
Message: 'jQuery' is undefined
Line: 1
Char: 1
Got two more uses for ya. Namespacing of events:
// set two click events with different namespaces
$('.button').bind('click.namespace1', function () {
}).bind('click.namespace2', function () {
});
//remove just one of them
$('.button').unbind('click.namespace1', function () {
});
and
The website I'm working with has jQuery and the jQuery Form plugin
(jquery.form.js) included on every page (it can be used with the
syntax $j). However, they are using a newer version of jQuery with
an older version of the Form plugin... and this causes some errors.
So, I would like to include my
I have a site, http://www.faith-photography.com, using the fadeIn/Out
with standard jpgs.The process works flawlessly in every browser
except IE8 when set to IE8 view. If set to IE7 it works, but not as
smoothly as you can see in Firefox or any web-kit type browser.
Anyone know of a
How the plugin is written is a huge part. I have jealously noticed in
the past that mootools animations typically seem to be smoother,
especially on slower machines and cruddy browsers, but I stick with
jQuery because I really like the syntax community. However, I agree
that no one has really
Nevermind .. I got it working.
On Dec 4, 2:20 pm, Yvan yvana...@gmail.com wrote:
My suckerfish dropdown menu isn't working in IE.
http://www.alliedcash.com/comparison/
(I've attached a dropdown menu to the Resources button / link)
It works fine in Firefox, .. but in IE it gives me the
including it on every page seems troublesome and hard to maintain.
if you using PHP or ASP you can create your own Master Page and include
there once. and load your other pages in as they are needed.
my suggestion to you in converting to a CMS
then you can include your script in only one file and
Michel, thanks for your response.
So, do I need to get the parent of my country element (which would be
the div ) get all it's siblings and then look for elements with
class 'state' or is there a simpler way?
On Dec 4, 12:47 am, Michel Belleville michel.bellevi...@gmail.com
wrote:
That's easy,
I'm having some difficulty finalizing my suckerfish dropdown menu on
this page (ie: Resources button / link):
http://www.alliedcash.com/comparison/
Here are the 3 problems that I'm trying to correct:
1) I want to eliminate the right border for each of my sublinks -- I
can't seem to access /
I think I over-simplified the situation. I'm writing a widget (which
dynamically generates contents of a div element on the page, in this
case) that gets plugged into various parts of the website. And the
entire website is reliant on jQuery, so the jQuery code and plugins
are already included in
Nah. Using .live() wires up one event handler to document.
--Karl
Doh, shame on me for my lack of facts on that .live()... i'll read
up on it some, as i usually, well always, take the delegation
route..
Similar issue: ajax working fine until I tried to upload.
I found out that
(a) most browser clients don't know what to do with header application/json
(b) the solution text/javascript is mixed up for some reason extra tags get
added on which confuses the parsing
(c) try setting your header as
Thanks all. I appreciate all the responses and examples. Really helps out
a lot.
Charlie
On Fri, Dec 4, 2009 at 11:34 AM, seasoup seas...@gmail.com wrote:
Got two more uses for ya. Namespacing of events:
// set two click events with different namespaces
Thanks Karl!
I'll give it a try.
Harvey
The .live() method uses event delegation under the hood. doing this:
$('a').live('click', function() {
// do something
});
is like doing this:
$(document).bind('click', function(event) {
if ($(event.target).closest('a').length) {
// do something
}
});
except that with .live() the
Hi.
Not sure if this is a good place for my question, but I'll give it a shot..
I'm looking for a couple of sies that I can rip apart to see how they work.
I'm looking for test sites that allow a user to match items from different
columns together.
Basicaly, if I give the user a list of items,
This surprised me.
I made the scenario as simple as possible.
http://jsbin.com/eyopo3/edit
You can see in function g() I change the value of the variable i after
having used it.
That may seem like a useless thing to do, but in the production code I was
working on, i was a loop iterator.
--
Well it would work if a bit complicated and probably a pain to maintain. If
there wouldn't be any other select named like your second select, I'd rather
select it by its name if I were you. Or perhaps give these specific select a
common ancestor and select it using this common ancestor as
I looked and I don't see any superfish css or script.
Alvin wrote:
I used Superfish on other website (www.dapuri.com) and it works well.
When I try to integrate it to this website, it doesn't work.
Please click the link below and take a look (this is a testing page,
ignore the standard
autoarrows: true
this appends the link with a span with an arrow image to show links
with subs and is adding addiitonal width, set to false
Dasher wrote:
Hello,
I am setting up my first superfish menu and having an issue with the
width of the top level link tabs.
When _javascript_ is
jQuery undefined is typically caused by a path problem to jQuery.js, or
you may be making calls to jquery before it is loaded ( jquery needs to
load before any plugin files)
also check that you only hae one copy of jquery loading
webstudiolund wrote:
I get these faults:
jQuery is not
Hello everyone,
Sorry for that but couldn't find anywhere else.
We need to change the color of the radiobuttons. I mean, the circles
that represent the buttons. Is it possible either via jQuery or CSS?
And another question: we need also to change the color of the frame
surrounding a combobox and
Can get it, why this works:
$(#stars-wrapper1).stars({
callback: function(ui, type, value) {
$(#stars-wrapper1).stars(select, value);
and this dont:
$(#stars-wrapper1).stars(select, 3);
Please my friends help with this.
http://orkans-tmp.22web.net/star_rating/
is there a way to add a class to the body when window is resized below
a certain width
Of course you can!
I'm actually working on something similar to that now.
$(window).resize(function(){
reSize();
});
function reSize() {
if ($('#page').width() 1000) {
//do something
}
http://2whoa.com
--- On Fri, 12/4/09, pab fliawebdes...@gmail.com wrote:
From: pab
More details here:
http://blog.jquery.com/2009/12/04/jquery-14-alpha-1-released/
--John
Hello all,
I have a bunch of thumb nails that will be at full opacity when a user
gets to the page. Users will be able to select their favorite. What I
want to have happen is when a user selects their first favorite all of
the there thumbnails will be lowered in opacity then when they select
I am pretty new to jQuery and I've dug through the documentation for a
few hours and I haven't found the answer. I'm curious if you can limit
a selector to only search within a defined div or other html tag.
Below is the code with some notes so it should be pretty easy to
understand but if not let
Hi all,
I have this weird problem I just can't find a way to solve. I'm using
simpleModal plugin as login window and I want to set focus to username
input upon window showing, but can't manage to do that.
This is my code:
$(#prijava_popup).modal(
{opacity: 30,
onOpen: function
ok, I've used some code I had lying around and put dummy content in
there:http://www.tnt.be/bugs/jquery/moovsjquery/
I actually don't really see a difference on my Ubuntu box (using FF
3.6b4), but there's a huge difference on a colleague's G4 (OS X 10.4,
Firefox 3.5.5), so try to find a
Hi,
I think the following modification to your code will solve your purpose.
$(document).ready(function(){
$(a).click(function(event){
//Loop through each productGroup div
Have all the divs have a class name eg.) thumbs
When the user selects his favorite remove this class name from the
particular div and apply your opacity logic to $('div.thumbs'), so that way
the favorite one would not be changed.
Thanks Regards,
Dhruva Sagar.
On Sat, Dec 5, 2009 at 3:12 AM,
Perhaps you need to call focus() in the callback of fadeIn(150) ?
Thanks Regards,
Dhruva Sagar.
On Sat, Dec 5, 2009 at 5:53 AM, Igor Benko igor.be...@gmail.com wrote:
Hi all,
I have this weird problem I just can't find a way to solve. I'm using
simpleModal plugin as login window and I
Cool, huh? This is one of the beauties and real powers of the JavaScript
language. It's called a closure:
https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Working_with_Closures
- Richard
On Fri, Dec 4, 2009 at 6:46 PM, cmonahan cmona...@yahoo.com wrote:
This surprised me.
I made
How do you picture paging working, from a UI perspective?
-Jack
prasad wrote:
Hi,
I like the 'jQuery ListNav Plugin' very much and i need to implement
it in my application.
I need to implement the paging functionality along with this plugin.
If i have more than 100 rows for a character, its
I recommend that you post a page about it, with a demo, add it to the
jquery plugins directory and make an announcement on this list.
I'd like to see what you've done, if you have it up somewhere. I find
myself needing that often and have used various solutions with varying
degrees of
sounds like you aren't including superfish.css, modified it or this is
a Joomla or other type of template that has preexisting menu css. The
superfish css for all sub UL's is positioned offscreen
not much anyone can do to help without a link
test11 wrote:
I am using superfish for
Hello all,
I am using the JQuery validator from
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
. And I am using the calendar component from YUI.
The problem is similar to what bobbykjack has except I use YUI
calendar.
I have an input field ,when user clicks into it the
Hi
i have already added the superfish.css.Untill the image is getting loaded
all the dropdown list r getting visible.Once the image has been loaded the
superfish is working fine.can u suggest me to hide the drop drop menu before
the image has been loaded.
Charlie Tomlinson wrote:
yeah figured it out few minutes after posting,
thanks
On Dec 4, 9:44 pm, ripple ripple...@yahoo.com wrote:
Of course you can!
I'm actually working on something similar to that now.
$(window).resize(function(){
reSize();});
function reSize() {
if ($('#page').width() 1000) {
I resolved my problem using callback. I put the second load in the callback
function of first one. Thanks for your answer.
2009/12/4 Michel Belleville michel.bellevi...@gmail.com
Well it depends ; most of the times you end up loading a big bit of data
that should replace a specific portion of
This probably isn't a jquery question precisely, but jquery is being
used as my method for making ajax requests.
I'm running into a recurring problem where functions declared on the
initial page load aren't manipulating content loaded later via ajax.
For example, when the page loads I may have
92 matches
Mail list logo