Hey.
Check out regex coach. It's a debugging tool that let's you run your
expression against sample text and see what's happenning. I can't
overstate how much this can help, and I'd recommend it in addition to
any help you get from books (and online).
-N
Hi.
I hope I'm not stepping into the role of guru by replying to this
message!!
Here's a great article on closures, references, scope, etc:
http://jibbering.com/faq/faq_notes/closures.html
--N
.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:
||:.
Nathan Young
Hi.
if (ElementInQuestion.style.fontSize == 13px){whatever}
That will only work if font-size has been declared in the style
attribute of that element.
My understanding is that if the element font-size is set to 13px, this
will return true, no matter where the rule was declared (weather in
Hoping to clarify:
Having a page built up of parts that come from different domains adds
value and power. Having a page built up of parts from different domains
adds complexity, lack of control and security hazards.
There are browser rules that determine what kind of things can be done
between
Hi.
IOW given the following:
style
#myDiv {background: blue;}
/style
div id=myDiv style=background: red
The div's background would be red, correct?
If you change background to background-color :) then yes, by the C in
CSS.
Also:
style
#myDiv {background-color: blue;}
Hi.
Kay's books are awesome but there are specific hurdles to learning XSL
at the start that would make me want to recommend an intro book or
tutorial before jumping into a full on descriptive/reference book like
Kay's.
By the same token, for this particular language a cookbook is less
likely to
Hi.
All of the accessibility issues and security issues can be solved. They
are not inherent to Javascript usage, you just have to design for them
like any other requirements.
Since they are among the less visible and sometimes more technically
challenging requirements to satisfy, they are more
Hi Joel.
In addition to the layer problem with form elements we've had problems
overlaying DHTML on top of flash movies, especially in firefox. Is this
a scenario you've tested with?
Nathan
.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:
||:.
Nathan
I think knowing what this is and being able to use it appropriately is pretty
critical.
I think never having given a flying *** about self and having no idea what it
is, is totally natural and not indicative of anything.
N
I'm not saying this is any less ugly but maybe easier to debug?
What if you overlay your text with a table where each row is as tall as
your calculated pixel height for a line of text? Then the rows could be
highlighted as you over them.
---N
It really is as hard as you make it out to be.
Greasemonkey is also excelent for this.
---N
Daemach,
Why don't you just make a nice debug plug-in, that you can
include at the top of your code to give you the functions you
need, then when you're done you just remove the one script
src=... line?
That's not a half bad idea. Anyone
Greasemonkey does exactly what you are asking for. You can use it to
add the functions you want to your own browser. Nothing to remove when
you publish your code, easy to enable/disable in your dev environment,
and you personally get self sufficiency from asking for a code change to
jQuery (a
!= undefined) {
if (typeof window.jQuery.debug == undefined) {
window.jQuery.fn.debug = function()
{console.log(this); return this;}
}
}
Nathan Young -X (natyoung - Artizen at Cisco) wrote:
Greasemonkey does exactly what you are asking for. You can
use
Hi.
Another question about fisheye. Can I use it with this markup:
div id=wrapper
table
tr
td class=nav a href=#home/a/td
td class=nav a href=#tools/a/td
td class=nav a href=#profile/a/td
td class=nav a href=#contacts/a/td
++ on standardizing information about plugins esp with respect to compatibility
and browser support
Rey is this something the jquery plugin repository will have, and/or a
conversation I can contribute to?
Nathan
Great idea! it would be great that you standardize as much
as possible
Hi.
jQuery, along with plugins, covers a lot of what other
libraries do. I
just went looking around in dojo and YUI, and while one can do most of
what they do by combining plugins, what's missing is the kind of
bullet-proofing that people Alex Russell and Eric Miraglia have gotten
into
I thought the firebug/jQuery combination was pretty effective here:
http://ejohn.org/blog/hacking-digg-with-firebug-and-jquery/
And it could be taken a lot further, especially if you have a technical
audience.
I've been using jQuery to create page upgrades... places on the page
where existing
);
}
});
return this.pushStack( match );
};
And now we can do this:
$(div.accoridan h3).nextAll().wrapAll(div
class='accordianInner'/div);
I think that's a pretty nifty solution :-) Let me know if you want me
to setup a demo.
--John
On 2/12/07, Nathan Young -X (natyoung - Artizen at Cisco
:[EMAIL PROTECTED] On Behalf Of Nathan Young
-X (natyoung - Artizen at Cisco)
Sent: Tuesday, February 13, 2007 10:55 AM
To: jQuery Discussion.
Subject: Re: [jQuery] wrapping or cloning problem
Hi John.
Thanks for taking a stab at this! Your solution does fit my problem
statement, and I agree
PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan Young
-X (natyoung - Artizen at Cisco)
Sent: Tuesday, February 13, 2007 10:55 AM
To: jQuery Discussion.
Subject: Re: [jQuery] wrapping or cloning problem
Hi John
Hi All.
I want to accordion an existing content format, and I think that I need
to insert a wrapper element. First I would love a sanity check on my
general approach then maybe someone can critique the manipulation I'm
trying.
Here's my content:
div class=accordion
h3heading/h3
arbitrary
Hi.
The http request will NOT always succeed under the conditions you
describe in IE and I think sometimes in firefox (possible race
condition?).
If you are preloading images for user experience reasons the stakes are
low, but if you need to track the requests from the server side (for
example
They must have pulled bulets and numbering over from word :)
---N
Kinda makes you wonder what those microsoft engineers smoke, eh?
I had a complex css scenario as well, but with some
significant reworking was able to make it all work. I learned
some new curse words in the process, but
Hi Arne-Kolja.
The short answer is that if you are running a site that requires users
to authenticate, your ajaxable php URLs need to require the same kind of
authentication that all your other pages do.
If you are running a public site that does not require authentication
there's nothing you
24 matches
Mail list logo