I just noticed Glen's reply and looked at that example. It's almost
identical to what i was suggesting with a couple of minor differences that I
thought I'd point out.
His example:
var newURL;
$("td").click(function(){
newURL = $(this).parents("tr").attr("goto");
window.location.href = ne
crybaby,
Given the following markup:
Row 1 Cell 1Row 1 Cell
2
Row 2 Cell 1Row 2 Cell
2
you could do something like this:
$(function(){
$("tr[link]").bind("click", function(){
var link = $(this).attr("link");
window.location.href = link;
});
});
In case you had
sf,
There was some close that was posted a few months back that used js with
canvas, not sure of the site, but I don't recall it working well in IE. I
will see if I bookmarked it and will post the link here if I find it.
On 10/19/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
>
>
> Greetings al
Thanks for the input I like the idea of just giving a string for
formatting purpose and then overriding the default behavior with some
other kind of include to specify decimal and grouper. I'll come up
with something for that.
What's your take on including with the mask plugin? They might share
Here is one way. There are alot of ways to do this.
http://commadot.com/jquery/tableClick.php
You could populate the expandos out of an array.
You could do an each to iterate through the TRs and add the click.
Glen
On 10/20/07, crybaby <[EMAIL PROTECTED]> wrote:
>
>
> I need to have each table
No problem... I appreciate your reply.
I'll just repost the question and see if I get
any more response.
Thanks,
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Wizzud
> Sent: Saturday, October 20, 2007 6:51 PM
> To: jQuery (English)
Joan, that code is going to bork if console is undefined.
> $.fn.log = function(msg){
> if (window.console || console.firebug){
> msg = msg || '';
> if(msg !== '') msg += ': ';
> console.log("%s%o", msg, this);
> }
> return this;
Looks good - but that first || needs to be && instead... :-)
_
From: Joan Piedra
Try this one :)
http://pastemonkey.org/paste/471a49a0-fc54-4ca8-b8e7-5411404fdb0d
(function($){ // block scope
$.fn.log = function(msg){
if (window.console || console.firebug){
ms
Hi,
I'm not sure what i'm doing wrong. However, with this it works
$("#About").click(function() {
$("#content").load(
"getthis.txt",
function(){
Hi,
if I use $.ajax() to fetch a file. Would it be possible to search throught
that file for a certain element and use that?
like
$.ajax({
url: "getthis.html",
success: function(html){
var mynewdiv = lookformydi
Try this one :)
http://pastemonkey.org/paste/471a49a0-fc54-4ca8-b8e7-5411404fdb0d
(function($){ // block scope
$.fn.log = function(msg){
if (window.console || console.firebug){
msg = msg || '';
if(msg !== '') msg += ': ';
console.log("%s%o", msg, th
Warning perhaps this is a dumb question. I naively would have thought
that storing DOM references (in this case, in object properties
because our scripts are object-oriented) would improve performance,
eliminating needless lookups. However, now I wonder if doing so taxes
browser memory, particul
I need to have each table rows point to different link. I am looking
at table striping and how hover works in 15daysofjquery.com.
http://15daysofjquery.com/table-striping-made-easy/5/
I need to make the whole table row clickable and should take the user
to a different link on the site.
How do I
Tony,
I can't seem to get jqGrid to work. I've looked at all the examples
but I must be missing something somewhere. I would appreciate if you
would take a look at my PHP.
include("dbconfig.php");
include("JSON.php");
$json = new Services_JSON();
$examp = $_GET["q"];
$page = $_GET['page'];
Responses below.
Karl Swedberg wrote:
5] Consider adding a top/bottom arrow pointer for use with
positionBy:'bottomTop'.
Added! :-) Already had this working, but forgot to upload the new images
and the updated css file to the server.
I see it working on the demo site -- now you just need to
I'm sorry but I haven't got the faintest idea. I can't even tell if
what I proposed will work (I doubt it).
I suspect that the HTML I would see in my browser would not look like
that however, and it's what the browser sees that determines what the
script needs to do.
Sorry, but ColdFusion means no
I'm issuing an ajax call, and passing a parameter. The parameter is the
value of a text box on the page, which loads with a default based on a
database call.
But for some reason, the value isn't being sent in the ajax call. It just
stays the same as it is when the page loads, even if the user
David,
Thank you so much for the excellent feedback! I appreciate your
taking the time to offer suggestions and report problems. I'll
respond to the individual items below, but overall, this is really,
really helpful.
Please especially look at my response to #7, as I hate the thought of
After looking into a few of the tooltip libraries, I've ended up
implementing clueTip (http://jquery.com/plugins/project/cluetip/) on an
existing project. In general it fit in very well, with pretty nearly all
the features we need. The only real issue was [7], which I didn't manage
to work ar
I was answering, not asking...
Ariel Flesler
On Oct 19, 10:28 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
> Yep...
>
> There's another plugin called LiveQuery.
>
>
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Flesler
> Sent: Frid
Thanks all, this is exactly what I was looking for! I was not aware of
the :not or :has selectors, this should make my life significantly
easier.
(I also need to pay a bit more attention next time I RTFM).
>From the ui.jquery.com page...
2
3404 Not Found
4
5Not Found
6The requested URL /view/trunk/ui/calendar/jquery-calendar.js was not
found on this server.
7
8Apache/2.0.59 (Unix) Server at dev.jquery.com Port 80
9
10
I believe several of the other components are broken too.
On 20 Okt., 16:16, Mayowa <[EMAIL PROTECTED]> wrote:
> Sorry if this is the wrong place to post this but i've found a
> ui.tabs bug.
>
> To recreate
> 1. create a tab that uses ajax to load the tabs
>
>
> $(function() {
> $('#maintab ul').tabs({ remote: tru
Nice idea!! Will try that one :)
Thanks, Wizzud
On Oct 19, 7:31 pm, Wizzud <[EMAIL PROTECTED]> wrote:
> The simplest way is to reduce it's opacity ...
>
> jQuery('img').css({opacity:0.5});
>
> On Oct 19, 10:31 am, "Alessandro Feijó" <[EMAIL PROTECTED]> wrote:
>
> > Its possible to turn any imag
Damien schrieb:
Hey all, this is my first time posting to the mailing list, so please,
be gentle. ;)
Anyway, to the point, I have long lists of items similar to the HTML
below
Item 1
Item 2
Item 3
Now, what I need to do here is be able to select and apply a function
to Item 1, without having
On Oct 19, 2007, at 8:12 PM, Damien wrote:
Hey all, this is my first time posting to the mailing list, so please,
be gentle. ;)
Anyway, to the point, I have long lists of items similar to the HTML
below
Item 1
Item 2
Item 3
Now, what I need to do here is be able to select and apply a functi
On Oct 20, 2007, at 8:41 AM, figo2476 wrote:
e.g.
a
b <-
c <-
I did:
$(document).ready(function() {
$("#update li:last").addClass("last_li");
$(jQuery.sibling("#update
li:last").prev).addClass("sec_last_li");
});
The
Josh Bush schrieb:
A lot of people seem to need dynamic width number masking. Where
currency symbols, decimal separators, and thousands separators are
applied automatically. I'm thinking about taking this on, but I have
a few questions.
1.Should is be a part of the masked input plugin or a se
One other Firefox add-on that allows you to see the *generated*
source is "Web Developer" toolbar:
http://chrispederick.com/work/web-developer/
Click on the "View Source" menu, and then choose "View Generated
Source."
Web Developer, along with Firebug, is a must-have extension. Also,
look
Sorry if this is the wrong place to post this but i've found a
ui.tabs bug.
To recreate
1. create a tab that uses ajax to load the tabs
$(function() {
$('#maintab ul').tabs({ remote: true });
});
...
...
Mark,
My demo page is using jQuery v1.2.1 and I'm not aware of any problems.
http://www.malsup.com/jquery/form/
If you can post a demo page that is not working I'm sure someone here
can figure out the problem.
Mike
On 10/19/07, Mark <[EMAIL PROTECTED]> wrote:
>
> Hi, please check if is every
Hello
I'm having some troubles regarding binding functions referenced by an
Array:
I have this piece of code
function f1() {
alert("dklfsd");
}
function Dialog(title) {
this._dlg_btns_fns = new Array("f1");
}
Dialogo.prototype.setButtons = function (val) {
var tp = valor.split("@"
You'll never see it in the 'view source' if its dynamically added. If you
use the Inspect function of firefox you can see the dynamically added
content. I think the IE developer toolbar does the same thing.
Make sure that you are setting the length of the selects option array and
setting a text/v
e.g.
a
b <-
c <-
I did:
$(document).ready(function() {
$("#update li:last").addClass("last_li");
$(jQuery.sibling("#update
li:last").prev).addClass("sec_last_li");
});
The last element works, but not the 2nd last
Sorry - very new to this and thought that it maybe a known issue -
anyway here's the link:
http://www.nedhomes.com/Manners-Court-Averham-Newark.html
Thanks
Thank you a lot for your answer,
It will help me a lot i'm sure about it, I will look at it soonly
Because I'm done for today I finally succeed to do what I wanted. I
will contact you if have any problem.
Thank you again have a good weekend!
Charlie
On 19 oct, 20:58, polyrhythmic <[EMAIL PROTECTE
I've been using a i18n.css which makes heavy use of serving language
specific styles using the lang attribute as selector.
While at the moment this is pure css (IE needs some javascript), I
would love to see more use of the lang attribute in more sofisticated
ways.
Just for better understanding,
Hi, please check if is everything fine with the new jquery version.
I am having a problem with ajaxSubmit. It seems like never call the
success funcion configured in the options object.
It works with jquery 1.1.3, but dont with the new one.
I am using the latest form plugin published in the form
Hey all, this is my first time posting to the mailing list, so please,
be gentle. ;)
Anyway, to the point, I have long lists of items similar to the HTML
below
Item 1
Item 2
Item 3
Now, what I need to do here is be able to select and apply a function
to Item 1, without having the said function
oups, sorry i answered before reading the origin of this thread. Nevermind!!
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexandre Plennevaux
Sent: samedi 20 octobre 2007 13:54
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Getting wind
i think with jquery1.2.1 you can just do this:
$(window).width();
$(window).height();
if not, you can do that using the dimensions.js plugin.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Olaf Bosch
Sent: samedi 20 octobre 2007 8:23
To: jque
Jeffrey Kretz schrieb:
Using jQuery 1.2.1, I wanted to get the window portal size for use in some
layer positioning.
I am able to obtain the correct width but NOT the correct height.
I use this function from Thickbox ;)
function TB_getPageSize(){
var de = document.documentElement;
42 matches
Mail list logo