You are here: Re: W3C html validator flags error in javascript « HTML « IT news, forums, messages
Re: W3C html validator flags error in javascript

Posted by xyZed on 11/23/26 11:43

There is circumstantial evidence that on Sat, 25 Mar 2006 16:06:58
+0200, "Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote
_______________________________________________________

›
>› > I have several affiliate links stopping my pages validating. They use
>› > javascript which I don't understand.

>› Too bad. Your choice: get rid of them or learn to understand what this
>› is about, then perhaps fix them.

Exactly why I posted. This is my first step.

>› > Apparently it's a known issue
>› > that html validators can erroneously flag javascript errors.

>› It's not true at all.

They flag phantom html errors, not (as I said) javascript errors,
and of course it's not the fault of the html validators.


>› ... Another solution is to put JavaScript code into an external
>› file.

That may be a good idea, would it have advantages other than the one
discussed here I wonder? I'd have to look into how it would work for
affiliate links and banners that are different on each page though.

>› ..Yet another, often feasible and perhaps the best, is to remove the
>› JavaScript code or to replace it by something more robust (like
>› replacing a fake "JavaScript link" by a real link).

I have yet to learn about doing such things. I hate having to use
other people's rubbish code. It seems to me that the overwhelming
majority of affiliate link code is poorly coded javascript. You are
right that I should learn what code is being put on my site but I am
so busy running and updating my site I have not had time. I do need
the affiliate links though so it's something I've seen as a necessary
evil.

Thanks for the links


--

Free washing machine help and advice.

www.washerhelp.co.uk

www.xyzed.co.uk/newsgroups/top-posting.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация