Hi guys,
I have a couple of images with width = 280px and I would like to
display, when the page is loaded, only a piece of them (the left
240px) and all the image once the mouse goes over the image.
This is the html (for 1 image)
div class=badge style=width: 240px; height:78px; overflow:
Hi, I think I have solved it but now an other question for you:
can I display by default the right part of the image?
THANKS
Sig
On May 4, 12:23 am, macsig sigbac...@gmail.com wrote:
Hi guys,
I have a couple of images with width = 280px and I would like to
display, when the page is
Let's bring this on top...
On 3 Mai, 11:11, Cryptonit dom.helfenst...@gmail.com wrote:
As I said in my last post. I'm creating a firefox extension -- there
is no form. There is only my menu entry and when I fire it, nothing
happens in firebug.
But my question is not what url I get. I want to
Dear all,
Can u give me script with jquery how to get URL after #
Example : index.php?p=item#id=1
How can I get id=1?
Thanks
Dear all,
I have function javascript like this
function display_short_lived_counter(seconds, div_name) {
orig_seconds = seconds;
if (seconds = 0) {
el = document.getElementById(div_name);
if (el) {
el.innerHTML = '00:00:00';
}
return;
}
hours = 0;
minutes = 0;
interval
Hi there.
Is it possible to disable showing error messages in jquery.validate
plugin at all?
I just need to aply css error class, not to see error messages
anywhere.
Thank you.
Actually, it does not work.
Validation plugu-in overrides display:none css attribute with its
own display:inline.
Feryt.
On 11 Dub, 16:15, Chuck Harmston cpharms...@gmail.com wrote:
I don't recommend this, as it will stop users from submitting the form
without giving them a reason for it.
Try this showErros implementation:
$(...).validate({
showErrors: function() {
for ( var i = 0; this.errorList[i]; i++ ) {
this.settings.highlight.call( this,
this.errorList[i].element,
this.settings.errorClass );
}
I've done this with a horizontal superfish, make it go right to left,
not a big difference on vertical style
sf-menu ul's for the sub menus are absolutely positioned, work those
off right side references , look for left floats that now need to be
right etc
the arrow class ( default is
I work much better with examples, I hope this helps.
The first set of parenthesis is the selector, consider this hidden
field:
input type=hidden id=thisHidden value=12.21
If you'd like to fetch the 12.21 out of this hidden field, think of
a CSS selector (where ID = # and CLASS = .):
var
window.location.search will return "p=item"
window.location.hash will return "id=1"
simple test in firebug:
alert(window.location.hash);
gozigo_milis gozigo_milis wrote:
Dear all,
Can u give me script with jquery how to get URL after #
Example : index.php?p=item#id=1
How can
I have the following HTML within a form
!-- height --
label for=height
Height (cm)
/label
input id=height name=height type=text
class=textbox validator-required
Hi all,
I sent an email to the jquery-plugins list before noticing that it
seems to be defunct. I'll quickly try to recreate from memory here...
I tried to get tablesorter to sort a table looking something like this:
table
thead
thOne/th
th colspan=2Two/th
thFour/th
I'm having trouble reading a not-so-large local XML file. The
following code works fine for under 70 nodes:
// load values from the xml file
$.get('dic.xml', function(dicXml){
$('node', dicXml).each(function(){
var literal =
Hi all,
$.load() filters incoming html with css selectors following url.
Is there a way of doing the same thing with $.get()?
Many thanks.
hello all,
i am curious if there is a simple solution to this very common problem
im sure lots get.
i have a div with some children items in it and when i fade one of
them out the div jumps down to the appropriate height. i would like to
know is there a simple way to animate the div to shrink
window.location.hash.substring(1);
this will take out the "#" sign,
Charlie wrote:
window.location.search
will return "p=item"
window.location.hash will return "id=1"
simple test in firebug:
alert(window.location.hash);
gozigo_milis gozigo_milis wrote:
Dear all,
I have an autocomplete field and am just wondering how can i use it
for multiple words? When i type the first word it works perfect, but
when i space and type in the second word, its sends the two words back
to the server and of course the results are wrong!
eg. when i type the two words,
'Java
Take a look at the multiple examples. Basically you just set multiple:true.
Jörn
On Mon, May 4, 2009 at 2:47 PM, Gath pgath...@gmail.com wrote:
I have an autocomplete field and am just wondering how can i use it
for multiple words? When i type the first word it works perfect, but
when i
Sorry guys! i've known how to do this! just set the multiple option to
True and multipleSeparator to a character of your choice.
example:
$(#tagnames).autocomplete(/tags/filter, {
max: 6,
highlightItem: true,
multiple: true,
multipleSeparator: ,
By using a common source - preferably the Google AJAX API, it actually
should decrease the load issues. If a visitor has been to ANY site
that loaded jQuery from Google, then it should be cached locally in
their browser. When the visitor goes to the next 999 sites that *also
use the Google AJAX
Hello,
I have two AJAX requests which are depended on each other. One is for
retrieving chat messages, and another - for sending.
Here's the code. First - message getter.
function getData() {
setTimeout(getData(), reloadTimeout);
$.ajax({
type: GET, url: chat.php,
success: function(xhr) {
Man, this is frustrating. I'm using jqModal to submit an ajax request
and things work fine on FF and Safari. I then got to work and tried my
stuff on IE6 and I'm stumped... the first time you click on a link in
a table, it goes to the server with the ajax call and returns a form
displayed in the
Hi.
It doesn't work, the error messages are still being displayed.
What really helps is to set error messages to empty string:
jQuery.validator.messages.required = jQuery.validator.messages.email =
;
F.
On 4 Kvě, 12:59, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Try this showErros
Hi all
I made a jquery selector trainer.
It's written using the jquery lib.
http://lamp2.fhstp.ac.at/~lbz/beispiele/ss2009/jquery/
The problem I now have is that it is very slow and need Gigabytes of
RAM for big examples using Firefox. Maybe someone has a hint to make
it faster.
Bernhard
did you include the stylesheet that comes along with the plugin? If
not, you'll have to set the basic style properties for it yourself.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 3, 2009, at 4:18 PM, flyfisherman wrote:
Hi
I try to implement a
Well, I dunno what exactly you tried - it works well in my app.
Jörn
On Mon, May 4, 2009 at 4:27 PM, Feryt skoru...@gmail.com wrote:
Hi.
It doesn't work, the error messages are still being displayed.
What really helps is to set error messages to empty string:
Try combining fade and slide in a single .animate method. For example:
$('something').animate({height: 'hide', opacity: 'hide'}, 'slow')
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 4, 2009, at 12:56 AM, chadwithuhc wrote:
hello all,
i am
Hi
I'm puzzled with this :
http://pastebin.me/49fef93928aff
(in firebug click on the jquery object, then expand 0)
Using empty() or remove() on the lis of a ul, it seems that jQuery is
faking to remove them,
i.e the lis will not be accessible by jQuery anymore, but in reality the
childnodes
hi, this is not exactly a jquery question but it could be useful
anyway.
i've got a function to which i pass 4 parameters, two as values, two
as var references, but which are 'spelt' the same. Is there a way i
can pass only two parameters and use them inside the function once as
a value and once
this is probably due to the refresh problems in firebug
On May 4, 7:33 am, Olivier Percebois-Garve perceb...@gmail.com
wrote:
Hi
I'm puzzled with this :http://pastebin.me/49fef93928aff
(in firebug click on the jquery object, then expand 0)
Using empty() or remove() on the lis of a ul, it
Hi Karl
Yes I did include your stylesheet.
Is there a problem with different broswers?
On 4 Mai, 17:03, Karl Swedberg k...@englishrules.com wrote:
did you include the stylesheet that comes along with the plugin? If
not, you'll have to set the basic style properties for it yourself.
On May 4, 2009, at 11:50 AM, flyfisherman wrote:
Hi Karl
Yes I did include your stylesheet.
Is there a problem with different broswers?
Not that I'm aware of. Can you show me a test page somewhere?
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
If I understand you both correctly.
You'll need to add a class of active to the clicked nav item and
remove the class active from the nav item the was previously active.
You can do this with:
$(function(){
$('#nav li a').click(function(){
$('#nav li
You can set the text to display in the error message. I did it so
that the test displayed is empty strings.
$(#registerForm).validate({
errorContainer: #messageBox,
errorClass: required,
rules: {
reg_email: {
hello,
I'm using jCarousel Lite (http://www.gmarwaha.com/jquery/jcarousellite/
index.php) and would like to implement an image counter that would
display something like this: 1 of 10, 2 of 10 and so on.
I know jCarousel Lite has a variable called curr but I don't know
how to use it.
thanx
marek
you should probably change your css to accommodate all of your menu
items in 1 row. allow more horizontal space in the container element,
or else reduce the button size of each item.
g
On Apr 21, 4:07 pm, Mark nijme...@gmail.com wrote:
hello,
I want to use this menu but i have so many main
Well remember
your original code
$(document).ready(function() {
function myFunction(){
}
));
is keeping myFunction closed within the anonymous function defined
in the .ready() line...
So what I suggested and you used to get it working in no way is a hack
or workaround, it's simply
Switching from .get to .ajax to do the read has solved my problem.
I'm guessing that .get is synchronous and needs to operate withing a
specified amount of time.
On May 3, 11:11 pm, nurikabe eaow...@gmail.com wrote:
I'm having trouble reading a not-so-large local XML file. The
following code
Check your xml very carefully, the load does not cope with or report
errors well. Try using $.ajax and add an 'error:' section. Then see if
you get an parser error, if so start removing nodes until the error
goes away, and then look very very carefully at the xml. I have had
this kind of problem
I've been working on a Google Gadget for a while to consolidate and
display information about what's going on in the jQuery Universe.
I have a first test version up, if anyone wants to take a look:
http://www.javascripttoolbox.com/gadget/jquery/
When added to iGoogle as a gadget (which you
Any ideas?
Thanks
On May 4, 12:50 am, Macsig sigbac...@gmail.com wrote:
Hi, I think I have solved it but now an other question for you:
can I display by default the right part of the image?
THANKS
Sig
On May 4, 12:23 am, macsig sigbac...@gmail.com wrote:
Hi guys,
I have a couple
On May 4, 8:18 am, Kristian kmand...@gmail.com wrote:
I have the following HTML within a form
I suppose I should somehow loop through all the labels, and for each
find the next input. Then make a selection of this union and apply a
wrapAll('div class='field')
But how exactly do I do this
On May 4, 11:33 am, Olivier Percebois-Garve perceb...@gmail.com
wrote:
Hi
I'm puzzled with this :http://pastebin.me/49fef93928aff
(in firebug click on the jquery object, then expand 0)
Using empty() or remove() on the lis of a ul, it seems that jQuery is
faking to remove them,
i.e the
Javascript is single threaded. Functions will execute in the order
they are called, except for timeouts/intervals and asynchronous XHR
requests.
Answering specifics at your other thread (there was no need to
duplicate post/bump).
On May 3, 7:29 pm, kiusau kiu...@mac.com wrote:
QUESTION: How
The fadeIn effect not working has nothing to do with the order your
functions are executed. Try executing a simple fadeOut in any element
of the page after it has loaded, it's not working either. My bet is
that jQuery and some of the other (many) scripts are colliding, since
the '$' object is
Ricardo wrote:
On May 4, 11:33 am, Olivier Percebois-Garve perceb...@gmail.com
wrote:
Hi
I'm puzzled with this :http://pastebin.me/49fef93928aff
(in firebug click on the jquery object, then expand 0)
Using empty() or remove() on the lis of a ul, it seems that jQuery is
faking to remove
For some reason this post disappeared. Can anyone answer this?
Thanks!
On May 1, 10:01 am, Andy adharb...@gmail.com wrote:
This is an odd questions. I have a huge form with a lot of data.
There is a table that data in it I need to display on a print screen
(of course this data isn't
http://labs.parkerfox.co.uk/cornerz/
Cornerz doesnt seem to work in IE8, works fine in IE7/IE8 Comp view.
/Svei
On May 3, 6:08 pm, Kevin Dalman kevin.dal...@gmail.com wrote:
I have not tried DD Roundies yet - it's on my todo list. Hoever I am
using a jquery plug-in called 'Cornerz' that is
For starters, change the src value in these lines:
script src=/assets/jquery.hoverIntent.js type=text/javascript/
script !-- optional --
script src=/assets/jquery.cluetip.js type=text/javascript/script
so they look like this:
script src=/assets/js/jquery.hoverIntent.js type=text/
Does anyone see a problem with this? Has anyone else had to implement
something similar? Why wasn't something like this included with
jQuery?
/**
* An AJAX extender for jQuery.fn.
*
* jQuery's low-level ajax implementation can handle every scenario
EXCEPT the situations where we want to apply
Check out
http://www.alohatechsupport.net/webdesignmaui/maui-web-site-design/create_image_menu_with_jquery.html
for a good alternative.
On Apr 28, 12:37 pm, B barrett...@gmail.com wrote:
please see the link.http://www.phatfusion.net/imagemenu/
Anyone know of a jquery option that is similar
I wrote a plugin that works great in every browser except Webkit
(Safari, Chrome), and the problem I'm experiencing with Webkit is
intermittent. What appears to happen is that the first time a Webkit
browser sees the page, it miscalculates the position of a div centered
using CSS. Reloading the
Hello, I recently learnt jQuery but I am having problems on working
with JSON. I am loading the JSON data from PHP file using $.getJSON.
The JSON returned is {4:{6:1},3:{1:1,2:1}} and array
for reference is
Array
(
[4] = Array
(
[6] = 1
)
[3] = Array
(
Thank you for responding, Ricardo.
On May 4, 11:20 am, Ricardo ricardob...@gmail.com wrote:
My bet is that jQuery and some of the other (many) scripts are colliding,
since the '$' object is being overwritten.
I am not sure that I understand when you say that the '$' is being
overwritten.
Could not make much sense out of your video either :D
The thing is: when you log an object or element in firebug, it's just
a reference to the object itself, not a snapshot of it at that instant
in time. It will always show the object as it is *now*. Try this in
the console:
x = {a:1};
Hello.
I'm having problems with the following code:
var img = [];
//
var o = this.find('img');
o.attr('src', img[n][0]).attr('alt', img[n][1]);
The error I get is:
o.attr(src, img[n][0]).attr is not a function
What am I doing wrong?
Many thanks in advance!
That explains my issue very well and will save me a lot of headaches.
(and gives a few ideas for a debug plugin)
thank you
-Olivier
Ricardo wrote:
Could not make much sense out of your video either :D
The thing is: when you log an object or element in firebug, it's just
a reference to the
thanks so much for the reply!
I was able to apply the class but was unable to figure out how to
remove the existing active class on other links. I'll try this out.
Again, thanks so much!
On May 4, 7:48 am, Nathan nsear...@gmail.com wrote:
If I understand you both correctly.
You'll need to
Try:
$(this).find('img').attr({'src':img[n][0],'alt':img[n][1]});
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of introvert
Sent: Monday, May 04, 2009 2:38 PM
To: jQuery (English)
Subject: [jQuery] jquery object and functions
Hello.
Sorry for that I did not see a missed that folder js...
It works now, looks nice in Safari Win, Opera Win. But in IE 8 and
Firefox 3.03 the logo has now that awful link border. How can I change
that?
Txs
Markus
On 4 Mai, 21:09, Karl Swedberg k...@englishrules.com wrote:
For starters, change
I get the same error.
On May 4, 9:51 pm, Jordon Bedwell jor...@envygeeks.com wrote:
Try:
$(this).find('img').attr({'src':img[n][0],'alt':img[n][1]});
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of introvert
Sent: Monday, May
We'd have to see more of the source code than to diagnose the issue, it's
far beyond that local piece.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of introvert
Sent: Monday, May 04, 2009 2:55 PM
To: jQuery (English)
Subject: [jQuery]
Here is an actual example. Would anyone know why this isn't working?
What I find weird is if I do a single line (alert($(span).attr
(printElement));) it works fine. But if I try to use the each()
function following it, nothing happens.
Any help would be great.
Thanks!
HTML:
On May 1, 10:25 am, bluejohn john.car...@bluefly.com wrote:
Hi,
I'm running an A/B test using a 3rd party javascript testing app. I'm
loading the jquery script with the tool.
script
$(document).ready(function(){
$(.cartInStock).css({display : none });
});
/script
The
if you had:
var json = {4:{6:1},3:{1:1,2:1}}
and this div:
div id=Results/div
then this code:
$.each(json, function(Parent, Values) {
$(#Results).append(Parent: + Parent + /br /);
$.each(values, function(key, val) {
$(#Results).append(-- Key: + key + , Value: +
You need to read the jquery selector docs at
http://docs.jquery.com/Selectors/attributeHas#attribute
Below is the code that will get your data.
$(span[printData]).text();
On May 4, 12:33 pm, Andy H adharb...@gmail.com wrote:
For some reason this post disappeared. Can anyone answer this?
Expanding on my example below, with the each function.
First final all elements. Then do whatever you want with the element.
$(span[printData]).each( function( key, elementRef){
alert( $(elementRef).text() );
});
On May 4, 2:16 pm, Andy H adharb...@gmail.com wrote:
Here is an actual example.
script type=text/javascript
jQuery.fn.nextUntil = function(expr, includes){
var match = [];
includeFirst = includes.first ? true : false;
includeLast = includes.last ? true :
false;
// We need to figure out which
Since jQuery is one of my tools - I'd like an appropriately
public image to use on my website.
Are any available?
thanks
tim
see these
http://docs.jquery.com/Design_and_Identity
http://blog.jquery.com/2006/11/07/jquery-button-contest-winners/
- S
2009/5/4 Tim Johnson t...@johnsons-web.com
Since jQuery is one of my tools - I'd like an appropriately
public image to use on my website.
Are any available?
thanks
That still seems to only return an object rather than a string. This
works though...
alert($('div').clone().children().remove().end().text());
Is there a better way to get a string than that?
On May 2, 6:28 pm, mkmanning michaell...@gmail.com wrote:
Don't use .text(), you'll get an
Just curious... what's the jQuery-way of saying Give me all children
that match a filter and include myself if I happen to match as well.?
I've been using -
element.find(*).andSelf().filter([myfilter])
but that seems kludgy. Is there a better way? If not, I'll just wrap
this as findInclusive
FYI... There is an open enhancement ticket that proposes adding an optional
selector to the .andSelf() method. http://dev.jquery.com/ticket/4446
--
Brandon Aaron
On Mon, May 4, 2009 at 5:11 PM, Pappy helga...@gmail.com wrote:
Just curious... what's the jQuery-way of saying Give me all children
While it will be nice to pass in a selector to andSelf, it's a shame
you'll have to repeat the selector in both the 'find' and 'addSelf'.
I'd still rather there be only one function necessary. It's an
awfully common pattern. Honestly, I wish 'find' had been this way
from the start, and there
Hello,
I’m looking for a javascript grid-based page editor, for lack of a
better term. Some javascript code that takes a set of vanilla html div
blocks and allows you to order them, move them, expand contract and
maintains the grid system in a fixed width interface, like 12 column
960. The
On Monday 04 May 2009, Sam Sherlock wrote:
http://docs.jquery.com/Design_and_Identity
Thanks a lot! Does the trick..
tj
Sorry, maybe my response was somewhat confusing, but I don't believe
you'll get a concatenated string (as the OP's followup indicates).
After using .filter(), you'll get an array-like object (it's still the
jQuery object) which contains the text nodes.
Calling .text() on those won't actually
Try making the element display:inline; instead of block. Or speed up the
animation.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of chadwithuhc
Sent: Sunday, May 03, 2009 11:57 PM
To: jQuery (English)
Subject: [jQuery] parent element
Yeah, I see what you mean. What about .findAndSelf(selector)? Trying to
stick with existing naming conventions...
Do you have some sample scenarios to go along with this need? Like actual
HTML, etc. Would you mind filing a new enhancement ticket for this?
http://dev.jquery.com/newticket
--
I have the code bellow as bellow:
jQ.fn.Form = function(){
//check if the element is a form
if(!jQ(this).is(form)){
alert(Expecting form element!);
return this;
}
jQ(:input,
Hi, sorry for replying late, what would be interesting would be to be
able to add a letter navigation / filter block to an existing juery
datatables setup, or a table configured with tablesorter. I assume it
would involve selection on tr, but also triggering a repagination. Two
modes would be
82 matches
Mail list logo