From 73e9e48cb0093b1bc2bfb4590ac5acfcfc1d9fec Mon Sep 17 00:00:00 2001 From: Aaron Gustafson Date: Thu, 11 Jan 2024 11:37:50 -0800 Subject: [PATCH] Removing references to the old domain --- archives/P90.html | 2 +- .../a-better-createelementwithname/comments/index.html | 2 +- archives/a-better-createelementwithname/index.html | 2 +- .../alex-russell-is-not-a-heretic/comments/index.html | 8 ++++---- archives/an-event-apart-nyc-post-mortem/index.html | 2 +- archives/by-author/aaron-gustafson/P60.html | 2 +- archives/by-category/programming/P30.html | 2 +- archives/by-tag/coding/P30.html | 2 +- archives/by-tag/html/P20.html | 2 +- archives/by-tag/javascript/P20.html | 2 +- .../comments/index.html | 4 ++-- archives/further-adventures-in-indifference/index.html | 4 ++-- archives/i-wish-id-known-that/index.html | 2 +- archives/job-newyork-presbyterian-hospital/index.html | 2 +- archives/jstrace-two-days-on/comments/index.html | 2 +- archives/jstrace-two-days-on/index.html | 2 +- archives/leap/comments/index.html | 2 +- archives/more-developments-in-jstrace/comments/index.html | 2 +- archives/more-developments-in-jstrace/index.html | 2 +- archives/more-on-ie7-beta-2/comments/index.html | 2 +- archives/more-on-ie7-beta-2/index.html | 2 +- archives/repetition-and-replacement/comments/index.html | 2 +- archives/scroll-and-flash/index.html | 2 +- 23 files changed, 28 insertions(+), 28 deletions(-) diff --git a/archives/P90.html b/archives/P90.html index 07d6fc2..5875ed1 100644 --- a/archives/P90.html +++ b/archives/P90.html @@ -99,7 +99,7 @@

Post Archive 

A better createElementWithName()

-

Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

+

Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

Read more…

diff --git a/archives/a-better-createelementwithname/comments/index.html b/archives/a-better-createelementwithname/comments/index.html index 21522d9..e18f82e 100644 --- a/archives/a-better-createelementwithname/comments/index.html +++ b/archives/a-better-createelementwithname/comments/index.html @@ -100,7 +100,7 @@

Posted by a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there). The the time, I wrote

+

Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there). The the time, I wrote

function createElementWithName( type, name ){
var element;
// First try the IE way; if this fails then use the standard way
if( document.all ){
element =
document.createElement( '< '+type+' name="'+name+'" />' );
}else{
element = document.createElement( type );
element.setAttribute( 'name', name );
}
return element;
}

It was a complete hack, but it worked. More importantly, however, it began a discussion of a better way to fix the problem in a cross-browser way. The best solution offered was Anthony Lieuallen’s very efficient one-time function definition:

function createElementWithName(){}
(function(){
try {
var el=document.createElement( '<div name="foo">' );
if( 'DIV'!=el.tagName ||
'foo'!=el.name ){
throw 'create element error';
}
createElementWithName = function( tag, name ){
return document.createElement( '<' + tag + ' name="' +
name + '"></' + tag + '>' );
}
}catch( e ){
createElementWithName = function( tag, name ){
var el = document.createElement( tag );
// setAttribute might be better here ?
el.name = name;
return el;
}
}
})();
diff --git a/archives/a-better-createelementwithname/index.html b/archives/a-better-createelementwithname/index.html index 7b4bb7a..f18eb19 100644 --- a/archives/a-better-createelementwithname/index.html +++ b/archives/a-better-createelementwithname/index.html @@ -100,7 +100,7 @@

Posted by a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there). The the time, I wrote

+

Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there). The the time, I wrote

function createElementWithName( type, name ){
var element;
// First try the IE way; if this fails then use the standard way
if( document.all ){
element =
document.createElement( '< '+type+' name="'+name+'" />' );
}else{
element = document.createElement( type );
element.setAttribute( 'name', name );
}
return element;
}

It was a complete hack, but it worked. More importantly, however, it began a discussion of a better way to fix the problem in a cross-browser way. The best solution offered was Anthony Lieuallen’s very efficient one-time function definition:

function createElementWithName(){}
(function(){
try {
var el=document.createElement( '<div name="foo">' );
if( 'DIV'!=el.tagName ||
'foo'!=el.name ){
throw 'create element error';
}
createElementWithName = function( tag, name ){
return document.createElement( '<' + tag + ' name="' +
name + '"></' + tag + '>' );
}
}catch( e ){
createElementWithName = function( tag, name ){
var el = document.createElement( tag );
// setAttribute might be better here ?
el.name = name;
return el;
}
}
})();
diff --git a/archives/alex-russell-is-not-a-heretic/comments/index.html b/archives/alex-russell-is-not-a-heretic/comments/index.html index d4d5fa1..6d9eb03 100644 --- a/archives/alex-russell-is-not-a-heretic/comments/index.html +++ b/archives/alex-russell-is-not-a-heretic/comments/index.html @@ -234,7 +234,7 @@

Comments

  • -

    <blockquote cite=“http://www.easy-reader.net/archives/alex-russell-is-not-a-heretic/#comment-11827”>The vendor-specific prefix is present on these properties because the <abbr title=“Cascading Style Sheets”>CSS</abbr> 3 specification is still in draft.
     </blockquote>

    +

    <blockquote cite=“/archives/alex-russell-is-not-a-heretic/#comment-11827”>The vendor-specific prefix is present on these properties because the <abbr title=“Cascading Style Sheets”>CSS</abbr> 3 specification is still in draft.
     </blockquote>

    Right. I know that’s the intent, but the problem is that these features have been publicized and are now being incorporated into stylesheets as though they were part of the spec. I see that as somewhat of an issue. The spec itself states that

    @@ -288,15 +288,15 @@

    Comments

  • -

    <blockquote cite=“http://www.easy-reader.net/archives/alex-russell-is-not-a-heretic/#comment-11831”>I would like to follow up on the points regarding the correct patterns for degraded markup for each widget so that we can come up with a set of recommendations which can go in the Dojo docs.</blockquote>

    +

    <blockquote cite=“/archives/alex-russell-is-not-a-heretic/#comment-11831”>I would like to follow up on the points regarding the correct patterns for degraded markup for each widget so that we can come up with a set of recommendations which can go in the Dojo docs.</blockquote>

    Excellent, I’d love to help. Email’s on it’s way.

    -

    <blockquote cite=“http://www.easy-reader.net/archives/alex-russell-is-not-a-heretic/#comment-11831”>Progress on the <abbr title=“Document Type Definition”>DTD</abbr> front isn’t likely before Dojo 1.0, but may be possible afterward.</blockquote>

    +

    <blockquote cite=“/archives/alex-russell-is-not-a-heretic/#comment-11831”>Progress on the <abbr title=“Document Type Definition”>DTD</abbr> front isn’t likely before Dojo 1.0, but may be possible afterward.</blockquote>

    I understand that this isn’t the most pressing thing for you all right now, but I am glad you’re interested in it as an option. I’m happy to help in this regard as well, just let me know.

    -

    <blockquote cite=“http://www.easy-reader.net/archives/alex-russell-is-not-a-heretic/#comment-11831”>As for <abbr title=“Cascading Style Sheets”>CSS</abbr> rules being used to locate widgets, not very likely as the default why is the class selector more blessed than attribute selectors?) but perhaps pluggable. There are only a couple of things that would need to change for such a plugin to work in Dojo.</blockquote>

    +

    <blockquote cite=“/archives/alex-russell-is-not-a-heretic/#comment-11831”>As for <abbr title=“Cascading Style Sheets”>CSS</abbr> rules being used to locate widgets, not very likely as the default why is the class selector more blessed than attribute selectors?) but perhaps pluggable. There are only a couple of things that would need to change for such a plugin to work in Dojo.</blockquote>

    It’s not a hard gap to fill, for sure. I guess I am of the mindset that CLASSes are for classification of elements (not just application of <abbr title=“Cascading Style Sheets”>CSS</abbr>). That’s why I favor it as a means of including additional info about an element or using it as a hook for a script. We can talk more about this at length as well via email.

    diff --git a/archives/an-event-apart-nyc-post-mortem/index.html b/archives/an-event-apart-nyc-post-mortem/index.html index 2c19be8..4cbcb09 100644 --- a/archives/an-event-apart-nyc-post-mortem/index.html +++ b/archives/an-event-apart-nyc-post-mortem/index.html @@ -106,7 +106,7 @@

    A better createElementWithName()

    -

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    +

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    Read more…

    diff --git a/archives/by-category/programming/P30.html b/archives/by-category/programming/P30.html index 9336e31..ece2ba8 100644 --- a/archives/by-category/programming/P30.html +++ b/archives/by-category/programming/P30.html @@ -192,7 +192,7 @@

    A better createElementWithName()

    -

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    +

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    Read more…

    diff --git a/archives/by-tag/coding/P30.html b/archives/by-tag/coding/P30.html index 140bb59..48f1a13 100644 --- a/archives/by-tag/coding/P30.html +++ b/archives/by-tag/coding/P30.html @@ -161,7 +161,7 @@

    A better createElementWithName()

    -

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    +

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    Read more…

    diff --git a/archives/by-tag/html/P20.html b/archives/by-tag/html/P20.html index 81df6c8..91ae9a9 100644 --- a/archives/by-tag/html/P20.html +++ b/archives/by-tag/html/P20.html @@ -378,7 +378,7 @@

    A better createElementWithName()

    -

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    +

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    Read more…

    diff --git a/archives/by-tag/javascript/P20.html b/archives/by-tag/javascript/P20.html index 1a1e756..32bfcb1 100644 --- a/archives/by-tag/javascript/P20.html +++ b/archives/by-tag/javascript/P20.html @@ -316,7 +316,7 @@

    A better createElementWithName()

    -

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    +

    Back in 2005, I wrote a piece about IE’s abysmal generation of NAMEd elements via the DOM (which, interestingly enough, has proven to be one of the most popular posts on the blog, pointing to the fact that this is an obvious pain point for many DOM scripters out there).

    Read more…

    diff --git a/archives/further-adventures-in-indifference/comments/index.html b/archives/further-adventures-in-indifference/comments/index.html index cf649e7..6d84c39 100644 --- a/archives/further-adventures-in-indifference/comments/index.html +++ b/archives/further-adventures-in-indifference/comments/index.html @@ -100,7 +100,7 @@