Hey Charlie,
Thanks for that.
Unfortunately that makes no difference to the width of the top level
items for me - only the drop down sub items.
So it doesn't appear to be that
In combination, commenting out this line does not have any affect on
the top level width either:
$('ul.sf-menu li a
The rules method applies to individual elements, not the whole form. Call it
directly on the age-field, and it should work.
Jörn
On Fri, Dec 4, 2009 at 1:34 PM, Eva eva.villarr...@gmail.com wrote:
Hi all,
I get an error when using rules('remove') from Jörn Zaefferer's
Validate plugin.
The
Its been an outstanding issue for a long time. There are too many possible
approaches to tackle it, and I couldn't yet decide on one to implement. Date
parsing and validating is something I'd rather see in an extra library, with
a leightweight custom method for the validate plugin to delegate to
Hi Jared
The script is quite simply.
Study it.
jQuery:
(document).ready(function(){
$('#thumbs div').click(function() {
$(this).find('img').css('opacity', 1);
$(this).siblings().find('img').css('opacity', 0.5);
});
});
HTML:
div id=thumbs
diva href=#img src=1.jpg alt= //a/div
diva
Hi everyone, i´m from brazilian, my english is too bad. Sorry for bad
questions.
But, ok ok, This depends on the computer hardware, engine of the
browser, how the plugin is written and more...
But, another question, The algorithm of animation that has been made
in jquery to give the best quality
to be honest no library is 100% efficient.
its like a template that anyone can download. what counts as what you do
with it and if suits your needs.
in some cases you would create your very own template if nothing suits your
needs.
so if you require 100% smoothness in everything you would
ben2233 wrote:
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
Hi everyone, i will do some tests with this librarys, i will elevate
the CPU usage and tests in the major browsers.
On 5 dez, 09:57, waseem sabjee waseemsab...@gmail.com wrote:
to be honest no library is 100% efficient.
its like a template that anyone can download. what counts as what you do
test with the minified version :)
On Sat, Dec 5, 2009 at 2:22 PM, Acaz Souza acazso...@gmail.com wrote:
Hi everyone, i will do some tests with this librarys, i will elevate
the CPU usage and tests in the major browsers.
On 5 dez, 09:57, waseem sabjee waseemsab...@gmail.com wrote:
to be
Check out the live function. It can solve this problem.
http://docs.jquery.com/Events/live
On Dec 5, 2:38 am, mysterious79 gray8...@gmail.com wrote:
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
thanks
2009/12/4 Michael Geary m...@mg.to
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
I'm sorry to cross-post, but it has been two months without any answer
from jquery-dev group, so,
Hello,
It looks like the data() method is not working as expected when used
with elements from another frame (or iframe).
Let's say we have an iframe. If we say inside it something like:
Hey,
I am investigating to see if its possible to track how far down the
user scrolls on a page.
Ideal situation is track if they got to a percentage of the page
height like 90% or even if they reached the bottom of the page.
The intention is to integrate it into Google Analytics so that I can
Maybe something like this would work?
$(function() {
$(#thumbs div).click(function() {
$(this).toggleClass(selected);
if ($(#thumbs).data(user already selected their first favorite)) {
if ($(this).hasClass(selected)) {
$(this).fadeTo(slow, 1);
} else {
I'm a designer and totally lost when it comes to php or java script.
Perhaps somebody can help me.
I have several images when hover over it will display a DIV called
testing. The content is dynamically generated by wordpress. My problem
is when I hover over an image it displays all the div's with
Yes, the *live *function should do it. In case that still won't work for
you, just work up the vine and install the plugin *livequery *instead, which
is where live came from.
John
On Sat, Dec 5, 2009 at 10:41 PM, jpcozart jeremy.coz...@gmail.com wrote:
Check out the live function. It can solve
On Dec 5, 2009, at 10:47 AM, John Imbong wrote:
Yes, the live function should do it. In case that still won't work
for you, just work up the vine and install the plugin livequery
instead, which is where live came from.
John
Actually, the .live() method didn't come from the livequery
script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js
/script
script type=text/javascript
$(document).ready(function() {
$('div.testClass').each(function(i) {
$(this).attr('id', 'test' + i)
});
});
/script
div class=testClassA/div
div
I'm trying to write a very simple accordion menu.
The markup is a list of links and sub-lists (of links).
The behavior I want is that when you click on a link, you follow the
link, and when you click on a list li, you toggle the visiblity of the
sub-list.
The problem I have is that while the
I have a table with an id of Directorships and I want to add the class
bgHighlight to any cell with a value of 'D'. This code below works
fine for an entire table but I just want to apply this logic to a
single column of the same table rather than the whole table. Thanks.
$('#Directorships
I'd try something like this:
$('#Directorships td:nth-child(1)').filter(function() {
return $(this).text() == 'D';
}).addClass('bgHighlight');
Change the 1 in :nth-child(1) to whatever column you want. nth-child
is 1-indexed, so the first cell in a row would be :nth-child(1), the
second
Thanks for the suggestion. The similarity between the .live() example
in the jquery documentation and my sample situation is uncanny. I'll
give it a shot. I'm trying to avoid adding too many plugins to the
site, but livequery looks intriguing as well.
Thanks again.
On Dec 5, 7:59 am, Karl
That works great, Karl. Thanks.
Love the book, btw.
On Dec 5, 1:54 pm, Karl Swedberg k...@englishrules.com wrote:
I'd try something like this:
$('#Directorships td:nth-child(1)').filter(function() {
return $(this).text() == 'D';
}).addClass('bgHighlight');
Change the 1 in
Hi,
I have created a new ticker (used code) which contains thumb nails
what i
want to do is when you move mouse over the images it would show the
real
size (400 * 400) of the image. but it works onley once the list is
loaded, i
mean the tooltip (popup) works only for those photos in the news
Hi,
What is the event that I trigger if a user enters (or deletes) a
character within a textfield with id = username?
Thanks, - Dave
Although the description is somewhat unclear, if you wish to allow the
user to have several thumbnails selected, all at full opacity, you
should adapt Maurico's nice script a little; the .click function
should add the selected thumbnail to an array or list which can be
used in the chain to filter
Hi,
I have 3 level menu.
I want the sub menus to be open in left direction instead of right.
Because the menu is in top right corner of the website, and when
submenu are displayed.
They goes outside the website window and browser shows the scroll bar,
which doesnt look nice.
I hope, u guys
$(select[name='kitten3']).append(new Option(group_array[i],id_array
[i]));
this code works fine in firefox but not ie
I get new node added to the select but they are blank, no value
attribute or text in the display
it's not a problem with the arrays as I have alerted them out fine in
ie
Help
Two ways. One is to extend your ajax callback to un-bind all existing
button handlers and then re-bind them now that your new content has
been inserted.
OR the elegant way; use the .live method instead of .bind, it is
designed for just such occasions.
http://docs.jquery.com/Events/live#typefn
On Sat, Dec 5, 2009 at 1:16 PM, laredotorn...@zipmail.com
laredotorn...@gmail.com wrote:
Hi,
What is the event that I trigger if a user enters (or deletes) a
character within a textfield with id = username?
Thanks, - Dave
Bet you can find it in here: http://docs.jquery.com/Events
--
Thanks Charlie.
Removing padding-right:2.25em; for .sf-menu a.sf-with-ul in the
css arrows section did the trick.
Changed
.sf-menu a.sf-with-ul {
min-width:1px;
padding-right:2.25em;
}
to
.sf-menu a.sf-with-ul {
min-width:1px;
}
Looks the same with js on and off now.
Thank you Charlie.
the subs are absolute positioned ,
to have them open on left side you can change:
.sf-menu li:hover ul,.sf-menu li.sfHover ul {
left: 0;
}
to:
.sf-menu li:hover ul,.sf-menu li.sfHover ul {
right: 0;
}
another convenience of the API is being able to use the onBeforeShow
option.
Have
I wrote the following code to interact with a joomla video player plugin.
Basically the video player embeds videos based on a single line of code like
such: {flv avcss=vidMedia width=720 height=576
autostart=true}combiC_lumberApp{/flv}. I have multiple videos on the page,
but they are hidden via
Try
$(select[name='kitten3']).append('option value=' + id_array[i] +
'' + group_array[i] + '/option);
On Dec 5, 12:33 pm, jabberwok neillha...@gmail.com wrote:
$(select[name='kitten3']).append(new Option(group_array[i],id_array
[i]));
this code works fine in firefox but not ie
I get new
Tried using that solution on my site at
http://goldlilys.110mb.com/Goldlilys/test3.html
as a simple case and the accordion suddenly doesn't work. Only the
header gets clicked but the content div crashed. Basically, what am I
doing wrong that a simple case doesn't even work?
On Dec 2, 10:28 am,
Tried their solution for my site at
http://goldlilys.110mb.com/Goldlilys/test3.html
as a simple case. But adding a class on the a header crashes the
entire accordion. What am I doing wrong that a simple solution doesn't
even work?
On Dec 2, 10:28 am, Scott Sauyet scott.sau...@gmail.com wrote:
Let's step through it
THE SCRIPT:
this.vidPopUp = function(){
I take it that we're in an object at this point?
$(.vidList li).click(function(){
Give me all of li descendents of DOM nodes with a class of vidList
and add a click event on them
I didn't know that. Thanks for the correction.
John
On Sat, Dec 5, 2009 at 11:59 PM, Karl Swedberg k...@englishrules.comwrote:
On Dec 5, 2009, at 10:47 AM, John Imbong wrote:
Yes, the *live *function should do it. In case that still won't work for
you, just work up the vine and install the
I have not written up a test to verify this, but I suspect that your
problems is that the code following Ok is calling submit() on a full
jQuery object of the form -- which has the validation script attached
to it, so it gets caught in an endless loop.
What you really want to do is to call the
2009/12/3 shapper mdmo...@gmail.com:
alert($.cookies.get(WCA.Player));
var cookie = $.cookies.get(WCA.Player);
if (cookie == null || cookie == 'Play') {
$(#JPlayer).play();
}
Try using === instead of ==
Rafał Pocztarski
40 matches
Mail list logo