At 3/1/2007 02:32 AM, Bob Schwartz wrote:
I am in the process of converting my javascript library to
nonobtrusive js.
...
At 3/1/2007 06:44 AM, Bob Schwartz wrote:
I'll start with the easy one first:
var d=new Date();yr=d.getFullYear();if
(yr!=2003)document.write (copy; +yr); myplace
On 02/03/2007, at 6:34 PM, Paul Novitski wrote:
At 3/1/2007 02:32 AM, Bob Schwartz wrote:
I am in the process of converting my javascript library to
nonobtrusive js.
...
At 3/1/2007 06:44 AM, Bob Schwartz wrote:
I'll start with the easy one first:
var d=new Date();yr=d.getFullYear();if
Paul,
I agree with you and as I am trying to learn this stuff I'm going one
step at a time in the hopes that I can one day drop the crutches I
needed an example of how to put a js string in a text string.
The next step will be to try and figure out how (I have some examples
that I am
On 3/2/07, Paul Novitski [EMAIL PROTECTED] wrote:
Please generate the notice
server-side -- or hard-code it into the html --
so it shows up for everyone viewing the content.
In addition to Paul's technically valid note (with which I, a noscript
user, wholeheartedly agree), there's also a legal
Paul,
Unobtrusive javascript doesn't just mean separation of the script
from the markup, it is also the use of javascript that doesn't
break the page when scripting is disabled.
http://onlinetools.org/articles/unobtrusivejavascript/chapter1.html
Further thoughts on this statement:
Michael,
Thank you for the information.
If we were in a perfect world it just might be reasonable to try and
be as legal as possible, but reality is that the copyright notice is
almost useless in that it only gives a (false) sense of protection,
to actualy be protected is another matter.
Michael,
Another point. All the sites I do have something in them updated at
least once a year, so the copyright (current year) would reflect the
year of last revision.
On 3/2/07, Paul Novitski [EMAIL PROTECTED] wrote:
Please generate the notice
server-side -- or hard-code it into the
I am in the process of converting my javascript library to
nonobtrusive js.
I bought a few books and with them, managed to convert most, but I
still have a few that defy my very limited skills.
Where could I go for help in converting these?
Thanks.
Bob Schwartz wrote:
I am in the process of converting my javascript library to
nonobtrusive js.
Where could I go for help in converting these?
Here, for one place. Can you be more specific about the problems?
***
List
You will find these books very helpful
http://www.amazon.co.uk/DOM-Scripting-Design-JavaScript-Document/dp/1590595335/ref=pd_ka_1/202-6135156-2275021?ie=UTF8s=booksqid=1172759335sr=8-1
Thanks Mordechai,
I'll start with the easy one first:
var d=new Date();yr=d.getFullYear();if (yr!=2003)document.write
(copy; +yr); myplace
which gives me: © 2007 myplace
Here's my pathetic attempt:
window.onload = function() {
var para = document.createElement(p);
var txt1 =
Have one of them, DOM Scripting, which got me to where I am, I'll
check out the other two.
Thanks
You will find these books very helpful
http://www.amazon.co.uk/DOM-Scripting-Design-JavaScript-Document/dp/
1590595335/ref=pd_ka_1/202-6135156-2275021?
ie=UTF8s=booksqid=1172759335sr=8-1
Schwartz [EMAIL PROTECTED]
To: wsg@webstandardsgroup.org
Sent: Thursday, March 01, 2007 9:44 AM
Subject: Re: [WSG] unobtrusive js help
Thanks Mordechai,
I'll start with the easy one first:
var d=new Date();yr=d.getFullYear();if (yr!=2003)document.write
(copy; +yr); myplace
which gives me
On 1 Mar 2007, at 14:44:59, Bob Schwartz wrote:
var d=new Date();yr=d.getFullYear();if (yr!=2003)document.write
(copy; +yr); myplace
which gives me: © 2007 myplace
Here's my pathetic attempt:
window.onload = function() {
var para = document.createElement(p);
var txt1 =
On Mar 1, 2007, at 6:53 AM, Bob Schwartz wrote:
On 01/03/07, Mordechai Peller [EMAIL PROTECTED] wrote:
Bob Schwartz wrote:
I am in the process of converting my javascript library to
nonobtrusive js.
Where could I go for help in converting these?
Here, for one place. Can you be more
Nick,
Thanks. Now that I see how you have done it, I may be able to guess
my way through the others I have to do.
Is there a ( missing in the second line of your version?
On 1 Mar 2007, at 14:44:59, Bob Schwartz wrote:
var d=new Date();yr=d.getFullYear();if (yr!=2003)document.write
Rolf ,
Thanks for the info.
On Mar 1, 2007, at 6:53 AM, Bob Schwartz wrote:
On 01/03/07, Mordechai Peller [EMAIL PROTECTED] wrote:
Bob Schwartz wrote:
I am in the process of converting my javascript library to
nonobtrusive js.
Where could I go for help in converting these?
Here, for
Nick Fitzsimons wrote:
On 1 Mar 2007, at 14:44:59, Bob Schwartz wrote:
var d=new Date();yr=d.getFullYear();if
(yr!=2003)document.write(copy; +yr); myplace
which gives me: © 2007 myplace
Here's my pathetic attempt:
window.onload = function() {
var para = document.createElement(p);
var
On 1 Mar 2007, at 20:03:30, Mordechai Peller wrote:
Nick Fitzsimons wrote:
window.onload = function() {
var year = new Date().getFullYear();
var text = © + year + myplace);
var p = document.createElement(p);
p.appendChild(document.createTextNode(text));
Nick Fitzsimons wrote:
On 1 Mar 2007, at 20:03:30, Mordechai Peller wrote:
Nick Fitzsimons wrote:
window.onload = function() {
var year = new Date().getFullYear();
var text = © + year + myplace);
var p = document.createElement(p);
p.appendChild(document.createTextNode(text));
20 matches
Mail list logo