I am trying to get the countdown to work from this example
(http://keith-wood.name/countdown.html), and I cant get it working.. What am
I doing wrong?
http://code.jquery.com/jquery-latest.pack.js";>
var newYear = new Date(2009, 1-1, 1);
$('#defaultCountdown').countdown({until: newYea
As Ricardo said, hover() expects a second function. I just tested your code
and it works just fine
like this:
$(document).ready(function() {
$(".xtabber .tabcontent>div").not("#tab1").hide();
$(".xtabber .tab a").hover(function () {
var xone = $(this).attr("href");
I can tell you that my experience also with an XHTML+XML MIME and JQuery was
full of pain.
Luckily, I had the option to change the Content-Type, as it was only there
for a legacy app. So,
I never bothered to investigate further whether or not it could work with
JQuery.
On Fri, Nov 28, 2008 at 11:3
Your code is using … as part of a selector, which won't do what you
want. It will probably end up selecting nothing. And jQuery's remove()
method removes entire DOM nodes. You don't want that; you just want to
remove part of the text.
Also, you mentioned H3 elements, but the selector has a DT in
H3 tag, or DT?
Anyway, I'm pretty sure that remove is not what you want. I think you'd need
to do something like:
$('h3').each(function(){
var t = $(this).text();
$(this).text(t.replace(/…/''/));
});
Obviously, replace h3 with whatever makes the most sense for your page.
On Fri, Nov 28,
dt will be an object.
you could use _javascript_s replace() method
maybe..
$('dt').text().replace("…", "");
.. i think
DemersDesigns wrote:
Hello,
I am using Simplepie and truncating fields that are longer than a
certain length. This process adds an ellipsis to the end, which I want
in m
New demonstration case for another problem I've noticed with
jeditable:
http://apache.pastebin.ca/1270021
I'm making cells in a table editable, and passing jeditable a string
for the hover tooltip. However, if the cell in question has no
content (e.g., ) jeditable stuffs the tooltip into the
el
Heya, happy to help. I have a few questions though.
1) Can/do you use firebug and console.log, it provides more
information.
2) How come you are putting parenthesis around req.responseText?
3) Can you show us the req.responseText?
Thanks,
Josh Powell
On Nov 28, 5:31 pm, aarti <[EMAIL PROTECT
Hello,
I am using Simplepie and truncating fields that are longer than a
certain length. This process adds an ellipsis to the end, which I want
in most situations. However, for titles, I do not want the ellipsis to
show. I am trying to use jquery to remove the ellipsis character code
(…) from any
On Nov 25, 11:24 am, ricardobeat <[EMAIL PROTECTED]> wrote:
> Your code, exactly as it is, works perfectly for me. I didn't include
> the tablesorter plugin in my test.
Removing the tablesorter artifact (left over when I trimmed to a
minimum test case) had no effect.
Changing the document's IMT
Not exactly.
The $(document).ready function fires when the DOM has been fully built, so
not all the images will be loaded at that time.
You could bind to the images load method as well.
function fixDimensions()
{
var img = $(this);
img.attr('width',img.width());
img.attr('height',img.h
Hi,
I am getting error while trying to print the content of json string.
My servlet is getting evaluated as it is alerting the next statement
immediately after eval line in the code.
>0] alert(req.responseText);
>1] doc_json = eval('('+ req.responseText+')');
>2] alert("eval successful");
>3] al
I'm trying to add several attributes to all my img tags but I'm not
sure if they're both working. Could you verify if these are correct?
$(document).ready(function(){
//add the width and height for each image
$('img').each(function(){
$(this).attr('width', $(this).width());
$(this).attr('he
hover() is meant to be passed two functions, one for mouseover and one
for mouseout: http://docs.jquery.com/Events/hover
However that doesn't explain why just the second one doesn't work...
see if using mouseover() or bind('mouseenter',fn) helps.
On Nov 29, 12:16 am, Betty <[EMAIL PROTECTED]> wr
I'm not sure what you bean about changing depending on 'where I'm
using the plugin'.
you could use an if statement to set the parameter to change.
for instance
[code]
if(q=='foo'){
var term=q;
}
if(term==null){
term=q;
}
[/code]
something like that I think, but you haven't really spelled out wh
Thank you, brian. Here is the script:
$(document).ready(function() {
$(".xtabber .tabcontent>div").not("#tab1").hide();
$(".xtabber .tab a").hover(function () {
var xone = $(this).attr("href");
$(".xtabber .tabcontent>div").not(xone).hide();
How about this?
$.fn.owns = function(selector) {
var owns = [];
this.filter('[aria-owns]').each(function(){
owns.push('#'+this.getAttribute('aria-owns').replace(/\s+/g,',#'));
});
return this.find('*').add(owns.join()).filter(selector);
};
Real ch
show us the code that generates the error.
On Nov 28, 1:53 pm, sergiomedinag <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I've just made a jQuery plugin that validates a form and shows a
> tooltip to see the strings accepted for the field. Everything works
> fine, except when I switch tabs in firefox+fir
Same here.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Geary
Sent: Friday, November 28, 2008 2:20 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: quote standards
I've posted messages here quite a few times recommending si
Yes I know thanks but I think I need somenthing more, like for example
sorting and graphical selector and of course saving all this data and
interacting. I it is not supported then I need It to be easy to expand
to add the features.
On 28 nov, 16:00, "Olivier Percebois-Garve" <[EMAIL PROTECTED]>
I've posted messages here quite a few times recommending single quotes for
the very reason that Josh mentioned. If you use double quotes you have to
either escape the double quotes in HTML attributes, or use single quotes for
the HTML attributes (which is invalid although it does work), or switch
Hi!
I've just made a jQuery plugin that validates a form and shows a
tooltip to see the strings accepted for the field. Everything works
fine, except when I switch tabs in firefox+firebug I get an error
saying that button is null. It only shows that error when I use the
tooltip (When I comment th
I have some 'NAV' elements, that when clicked should slideToggle their
respective 'DATA' elements. I am trying to do this by traversing an
Object with a for loop, and each elements IDs are stored in this data
structure. However, once execute, each click of any of the NAV
elements only slideToggles
i generally use single quotes unless i'm explicitly setting a string.
so..
var foo = "the quick brown fox...";
but when inside of parentheses, i always wrap strings in single quotes.
On Fri, Nov 28, 2008 at 1:28 PM, Bill <[EMAIL PROTECTED]> wrote:
>
> I've wondered about this myself. I seem to
I've wondered about this myself. I seem to go back and forth between
the two without any rhyme or reason. Looking forward to more responses
on this thread.
On Nov 28, 1:51 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
> Yes. I am. Plus single quoting is slightly faster due to it's "lower case"
>
Yes. I am. Plus single quoting is slightly faster due to it's "lower case"
nature. No need to hold down the shift key.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of seasoup
Sent: Friday, November 28, 2008 2:47 PM
To: jQuery (English)
Subject:
I've started using a single quote inside of all $() when quotes are
needed because it makes creating DOM elements much simpler. $('') or $(' and for consistency
doing $('#anId'). Anyone else doing the same thing?
Josh Powell
yes. jQuery supports method chaining.
$(a).hide().addClass();
see "Chainability" at http://docs.jquery.com/How_jQuery_Works
On Fri, Nov 28, 2008 at 12:26 PM, flycast <[EMAIL PROTECTED]> wrote:
>
> In some other languages I have had experience with one can use the
> following pattern...
>
> obje
In some other languages I have had experience with one can use the
following pattern...
object [
.doThis()
.andThis()
.andAlsoThis()
]
Is there a way to do this with jQuery?
$(a){
.hide();
.addClass();
}
***Instead of ***
$(a).hide();
$(a).addClass();
are you getting any JavaScript errors?
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Nov 28, 2008, at 4:41 AM, Zic Puce wrote:
Hello all,
I work with the framework phpmvc and code with the MVC architecture.
I want to insert a popup should recover in xml
I think you'll need to post the exact code you're having problems with.
On Fri, Nov 28, 2008 at 8:32 AM, Betty <[EMAIL PROTECTED]> wrote:
>
> Hi, I'm new. I've written two pieces of code with jQuery. Each of them
> works well individually. However, if I put them one after the other,
> the first o
hi! i got a menu with many nested sub-menus. some sub-menus get out of
the page width because they are all open on the right of the parent.
can superfish open menus on the left if there is not enough space on
the right?
thanks
marco
Hi,
when the page is loaded in the background (iframe, ajax) while using a
loader animation, the ready event triggered before the items has been
shown. So the jCarousel can not get the correct dimensions. The
solution is to init jcarousel after the content has been shown, by
explicitly call the i
Hi, I'm new. I've written two pieces of code with jQuery. Each of them
works well individually. However, if I put them one after the other,
the first one still works, but the latter one will not work. If I
change their order, it's always the first that can work and the latter
one that can't work.
On Nov 27, 5:58 am, codz wrote:
> hello everyone,
>
> i just want to ask anybody about this warning that
> always show whenever my page load with the jquery.js file.
>
> Warning:
>
> test for equality (==) mistyped as assignment (=)?
> Source File:http://localhost:2008/jquery.js
> Line: 1161, Colu
Hi, I'm new. I've written two pieces of code with jQuery. Each of them
works well individually. However, if I put them one after the other,
the first one still works, but the latter one will not work. If I
change their order, it's always the first that can work and the latter
one that can't work.
I tried for 5 minutes but couldn't wrap my head around that :D
Why do you need to 'pretend the elements are children of this'? What
are you trying to achieve?
- ricardo
On Nov 28, 2:04 pm, Mark Gibson <[EMAIL PROTECTED]> wrote:
> With the follow style of markup:
>
>
>
>
>
>
>
> I need to fi
Ignoring the fact that a javascript:// protocol doesn't exist, you
have to close/self-close the element tag you want to create:
$('').attr(); or
$('test').attr()
- ricardo
On Nov 28, 9:01 am, Serge <[EMAIL PROTECTED]> wrote:
> Hi guys, you can see jQuery code below, it works in Firefox and Oper
Has anyone found a way to make the accordian menu sticky? As in it
doesn't close up and refresh itself everytime I visit a link?
Thanks.
Can you put your problem code up at jsbin.com or somewhere? I couldn't
reproduce that.
- ricardo
On Nov 27, 11:05 pm, xiaohouzi79 <[EMAIL PROTECTED]> wrote:
> The following two are giving different results:
>
> $("#service_select").change(function() {
> alert($("#service_select").val());
>
>
With the follow style of markup:
I need to find the first element of type [role=list], in either the
descendants
of #my-combo, or the elements (and descendants) identified in aria-
owns.
I was think of creating a plugin to make this easier:
$('#my-combo').owns('[role=list]:first');
$.fn.
Yes, it didn't make sense...I found out the hard way after getting though
things that clone() was the wrong way to go. But, at least I learned how it
worked...another nice Jquery tool.
I ended up simply using the div id's and prependTo() to work things out.
Thanks
Vaskerville wrote:
>
> I'm
Well, that's a mistery. Two unlikely possibilities:
1. the packed jquery has an error, use the minified version
2. some function on your page is doing something with the '$' variable
Do you have a page online we can look at?
On Nov 28, 5:06 am, harryhobbes <[EMAIL PROTECTED]> wrote:
> The path
"but I just get objects"
Are you expecting something else? the ".clone()" method, like most of
the whole jQuery API returns a jQuery wrapped object
to get the HTML of a cloned item, you'll need to use the ".html()"
method. and you also need to be very aware, that ".clone()" will
bring the
jQuery itself has no drag and drop feature.
That kind of interaction is within jQuery-ui which is built on top of
jQuery.
On Fri, Nov 28, 2008 at 3:17 PM, temega <[EMAIL PROTECTED]> wrote:
>
> jQuery has great Drag and Drop features
>
> On Nov 28, 10:27 am, eutelsat <[EMAIL PROTECTED]> wrote:
Hi guys,
Short memo;
http://jQuery.webunity.nl/
Check it out, 2 demo's online!
-- Gilles
jQuery has great Drag and Drop features
On Nov 28, 10:27 am, eutelsat <[EMAIL PROTECTED]> wrote:
> Please can you help me to decide which tecnology is more appropiate?
> YUI, JQUERY or just another Library
>
> Hi I'm planning to develop something like a Form Editor in WUFOO with
> JQUERY.
> Needi
@Richard - Thanks for that, I'll take a look at the fix you recommended.
I'd much prefer to use ui.dialog so hopefully your recommendation will work
on IE6.
@webRat - thanks for that site - useful resource. I have other projects
bubbling away on prototype so this will come in handy.
Cheers,
Lee
On Thu, Nov 27, 2008 at 9:36 AM, Lee Mc <[EMAIL PROTECTED]> wrote:
>
> - Must be draggable
> - Must (unfortunately) work in IE6
> - Must be modal
>
> I've been playing with ui.dialog and really like it. However I seem
> to be having some issues in IE6 - using the same theme as displayed on
> this
http://planetozh.com/projects/lightbox-clones/
On Nov 27, 9:36 am, Lee Mc <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Does anyone have an opinion on what they think is the best lightbox
> implementation to use?
>
> It's not going to be used to display images, it's mainly form
> interaction. My onl
Hi guys, you can see jQuery code below, it works in Firefox and Opera
for me, but does not work in IE6.
$(function() {
var a = $('').attr('href', 'javascript://').append('test');
$('body').append(a);
});
Please can you help me to decide which tecnology is more appropiate?
YUI, JQUERY or just another Library
Hi I'm planning to develop something like a Form Editor in WUFOO with
JQUERY.
Needing Drag & Drop and object graphical selector moreover some custom
code.
Thanks in advance
Jordi
I'm having the worst time working with clone(). It returns an object...still
can't access it.
What I'm doing is looping through a list of divs (same class) and trying to
clone each one. I want to clone them so that I can reorder them.
var html;
// in the loop
html += $('#myDiv-' + id).clone();
Hi all,
Wondering how to change the actual query parameter sent by jquery at
run time: e.g. instead of
services?q=foo
I might want to do
services?term=foo,
and this will change depending on where I'm using the plugin.
Sorry for the obscure subject, but english is not my language.
Well, situation:
server side language: php
In a page, i need to call an url (on another server) that start a
process (creates a jar file assembling many other files).
This call will be done via curl (it has been already written).
I'm using the tooltip-plugin from Jörn Zaefferer and it's really cool.
Until today it had everything i needed, but now i need some
functionality where the tooltip itself is hoverable, so i'm able to
click the links in it for example like on this page:http://
www.cssplay.co.uk/menu/balloons.html
The following two are giving different results:
$("#service_select").change(function() {
alert($("#service_select").val());
}
$(document).ready(function() {
if ($("#service_select option:selected")) {
alert($("#service_select").val());
}
}
Onchange I get the option value. On doc
thank you!
it works well!
On Nov 28, 1:47 am, ricardobeat <[EMAIL PROTECTED]> wrote:
> Try this:
>
> var Example = function(){};
> Example.prototype = {
>
> abobora: function(){
> alert('Hi!');
> },
>
> execute: function(){
> var t = this;
> $('#any_button').click(function(){
>
>
Hi Ricardo,
I'm not sure why I said this was working last week, but it doesn't seem to
be! I must have been drunk at the time :)
Sorry to keep bothering you, but when I click on the link, nothing happens
now. I've tried placing alerts and so forth and I've tracked it down to this
line as the prob
Thanks Jack, i'll take a look.
Lee.
On Thu, Nov 27, 2008 at 8:49 PM, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
>
> check this one out, I think it will do all that you need:
>
> http://dev.iceburg.net/jquery/jqModal/
>
> - Jack
>
> Lee Mc wrote:
> > Hi there,
> >
> > Does anyone have an opinion
Put all the code you want executed after the post is complete into the
callback function.
or
Change chkmail function to call a new function (with the password and
email checks) instead of returning emailerror.
Paul
On Nov 27, 4:12 pm, QuadCom <[EMAIL PROTECTED]> wrote:
> I may have titled this
http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
is a plugin that makes this possible
--adam
On Nov 28, 5:01 am, seasoup <[EMAIL PROTECTED]> wrote:
> That's different. The doesn't need to leave the table, if
> you could make a tr draggable, you'd have to drop it in another tab
That's different. The doesn't need to leave the table, if
you could make a tr draggable, you'd have to drop it in another table
at the least
On Nov 27, 9:43 pm, René <[EMAIL PROTECTED]> wrote:
> Actually, sortable() lets you drag rows between tables, so I don't
> think it's impossible.
>
>
No, there is no redirect involved, and i managed to identify the
problem:
The second script, which used Apache rewrite was displaying also some
html content, not only 'true' or 'false' ... I didn't notice it first,
because the only thing my php script was displaying was 'true' or
'false', but whe
Hello all,
I work with the framework phpmvc and code with the MVC architecture.
I want to insert a popup should recover in xml file some info.
So I try "basically" the example given Demo Cluetip by downloading the file.
All examples walk locally.
Now I take the example code 1 "basic tip fro
On Nov 27, 2008, at 6:37 PM, Viktor wrote:
If the server responses I wanna set the title to the new value
else
I'd like to use the old value
$(".title").editable(function(value, settings)
{
setTitle(function()
{
// return value
}, function()
{
I have a site that uses jcarousel. This works fine, but I also have
links on the side, that when clicked, loads in new content via ajax
(new page content and new carousel). The problem is that jcarousel
stopped working, using this message:
jCarousel: No width/height set for items. This will cau
67 matches
Mail list logo