[ale] Konq + JS

James Sumners james at sumners.ath.cx
Tue Mar 25 22:10:27 EST 2003


It seems to me that you should read through the DTD. The 'font' and 'b' tags are
deprecated.

http://www.w3.org/TR/html4/

On 25 Mar 2003 21:22:53 -0500
Chris Fowler <cfowler at outpostsentinel.com> wrote:

> After playing with the options, I think I got it.  Here are the ones
> that confuse me:
> 
> Line 21, column 74: end tag for element "B" which is not open
> (explain...). 
>  ...3' FACE='Arial,Helvetica' SIZE=-1><B>","</B></FONT>");
>                                                 ^
>  -- It seems to be that there is a <B> before the </B> what
>     is wrong?
> 
> Line 176, column 6: required attribute "TYPE" not specified
> (explain...). 
>  <style>
>         ^
> 
>  -- Don't know, Here is the code:
>  175: <title>Index</title>
>  176: <style>
>  177: A.visited.mainnav{        
>  178:   color:FFFFD0;
>  179: }
>  180: </style>
>  181: </head>
> 
> Line 182, column 41: there is no attribute "ONRESIZE" (explain...). 
>  <body ONLOAD="init();return 1"  onresize="redo()">
>                                            ^
> onresize works for IE.  Maybe none standard feature?
> 
> I wish I've known about this site before :(
> 
> 
> 
> On Tue, 2003-03-25 at 21:14, Chris Fowler wrote:
> > I'm not sure if that site is doing me much good.
> > 
> > I used wget to download the web page to a file.  Then I specifed
> > a local file to validate.  It complains that these things are not
> > present:
> > 
> > The HTTP Content-Type field.
> > The XML Declaration.
> > The HTML "META" element.
> > 
> > The Content-Type is set to text/html.  The server send this but wget
> > does not save it in the download file.
> > 
> > I tried to validate my home page at http://www.linuxiceberg.com
> > I get the same above errors.  The first thing in all my html files
> > is <html>.  Content and etc are sent by the web server.  Not embedded in
> > the files themselves.
> > 
> > Am I missing something?
> > 
> > 
> > On Tue, 2003-03-25 at 21:06, James Sumners wrote:
> > > For some unknown (to me) reason they have dropped the 'c' from their
> > > address: http://validator.w3.org/
> > > 
> > > On 25 Mar 2003 21:02:59 -0500
> > > Chris Fowler <cfowler at outpostsentinel.com> wrote:
> > > 
> > > > On Tue, 2003-03-25 at 20:45, Mike Lockhart wrote:
> > > > > 
> > > > >
> > > > 
> > > > I can not seem to find that host.
> > > > 
> > > > 
> > > > [cfowler at devel cfowler]$ ping validator.w3c.org
> > > > ping: unknown host validator.w3c.org
> > > > 
> > > > > also, you'll need the rel="" element inside the <script> tag.
> > > > 
> > > > So I need to tell konqueror hat javascript verion I'm using.  Any clues
> > > > as to what version it may be :)
> > > > 
> > > > 
> > > > > 
> > > > > - mike
> > > > > 
> > > > > On Tue, 2003-03-25 at 20:12, Chris Fowler wrote:
> > > > > > In my attempt to make a web site more universal browser friendly,
> > > > > > I've removed a majority of my java script code and allowed the CGI
> > > > > > programs to validate the froms.
> > > > > > 
> > > > > > However,  I'm still struggling with one page and I'm hoping some one
> > > > > > here might have some insight.  Below are two cuts to eliminate
> > > > > > pasting the whole page in this email.  The code in question is a
> > > > > > collapsible list.  What am I doing wrong?  Konq. does not even
> > > > > > attempt to render the collapsible list.
> > > > > > 
> > > > > > -- cut piece --
> > > > > > <head>
> > > > > > <LINK REL="stylesheet" href="../includes/styles.css"
> > > > > > type="text/css"><script type="text/javascript" src="ua.js"></script>
> > > > > > <script type="text/javascript" SRC="xbDOM.js"></script>
> > > > > > <script type="text/javascript" SRC="xbStyle.js"></script>
> > > > > > <script type="text/javascript" SRC="xbCollapsibleLists.js"></script>
> > > > > > <script type="text/javascript"><!--
> > > > > > function chgWindowStatus(message) {
> > > > > > 	window.status =message;
> > > > > > }
> > > > > > 
> > > > > > function init() {
> > > > > > 
> > > > > > 	var width = 180;
> > > > > > 	var height = 22;
> > > > > > 	var bgColor = "#FFFFD0";
> > > > > > 
> > > > > > 	var l = new List(true, width, height+5, bgColor);
> > > > > > 	l.setFont("<FONT COLOR='#000033' FACE='Arial,Helvetica'
> > > > > > SIZE=-1><B>","</B></FONT>");
> > > > > > 
> > > > > > 	l.addItem("<H3>&nbsp</H3>");
> > > > > > 	l.addItem("<h3><a href=../cgi-bin/pcommander.cgi target=main
> > > > > > style=text-decoration:none>Port Commander</a></h3>");
> > > > > > 
> > > > > > 	var ss = new List(false, width, height, "#FFFFD0");
> > > > > > 	ss.setFont("<FONT COLOR='white' FACE='Arial,Helvetica'
> > > > > > SIZE=-1>","<\/FONT>");
> > > > > > 
> > > > > > 
> > > > > > --- cut piece --
> > > > > > <body ONLOAD="init();return 1"  onresize="redo()">
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Ale mailing list
> > > > > > Ale at ale.org
> > > > > > http://www.ale.org/mailman/listinfo/ale
> > > > > > 
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > Ale mailing list
> > > > > Ale at ale.org
> > > > > http://www.ale.org/mailman/listinfo/ale
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Ale mailing list
> > > > Ale at ale.org
> > > > http://www.ale.org/mailman/listinfo/ale
> > > 
> > > 
> > > -- 
> > > 
> > > All governments suffer a recurring problem: Power attracts pathological
> > > personalities. It is not that power corrupts but that it is magnetic to
> > > the corruptible. Such people have a tendency to become drunk on violence,
> > > a condition to which they are quickly addicted. 
> > > 
> > > Missionara Protectiva, Text QIV (decto)
> > > CH:D 59
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale


-- 

All governments suffer a recurring problem: Power attracts pathological
personalities. It is not that power corrupts but that it is magnetic to the
corruptible. Such people have a tendency to become drunk on violence, a
condition to which they are quickly addicted. 

Missionara Protectiva, Text QIV (decto)
CH:D 59
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list