Posted by William Hughes on 10/16/70 11:17
On Sun, 29 May 2005 14:09:15 +0100, in alt.html David Dorward
<dorward@yahoo.com> wrote:
> William Hughes wrote:
>
> > Situation:
> >
> > I am using the following Javascript
>
> Your subject line talks about Java. Java and JavaScript have about as much
> in common as Car and Carpet.
Sorry; wasn't aware of the difference.
> > <script language="JavaScript">
>
> Missing required type attribute.
Had that elsewhere.
> > if (navigator.appName.indexOf('Microsoft') != -1)
> > else if (navigator.appName.indexOf('Netscape') != -1)
>
> User agent string detection instead of object detection with no provision
> for most modern browsers.
???
> Most browsers let users block mucking about with the status bar - and with
> good reason - its annoying and hides useful information from the user. I
> suggest you get rid of that. Consider the title attribute for advistory
> information.
Done.
> > onmouseup="darken('name15')"><img src="./img/btn-print.bmp" name="name15"
>
> .bmp files are highly inappropriate for use on the web. Try PNG, JPEG or
> GIF.
The bitmaps were small, @2k each.
> There is a distinct lack of anything between the links, this can cause it to
> be difficult to tell where one link ends and the next starts (especially in
> text only browsers). Try marking up the list of links as a list.
>
> http://css.maxdesign.com.au/listamatic/
Nice. Very nice. I've fiddled with one of the examples and come up with
something that works better than the Javascript version I had... which pretty
much renders my earlier Javascript and your objections to it irrelevant.
The changes also reduced the filesize of each page considerably.
[Back to original message]
|