[thelist] JS: Arg! Netscape 4.7 & site check.
Frank
framar at interlog.com
Sat Nov 24 16:58:14 CST 2001
>>> The roll-over script could be a lot more compact - but
>>> it works ok.
>> Can you offer an example of what that would look like?
> you could load the names in an array, and feed them to a
> function to preload the images.
> Also links like this: [snip]
> It's all a matter of preference, I prefer concise, but
> verbose is more readable.
Right, I understand. I'm not quite that competent in javascript yet,
that will come. You are also quite correct, I deliberately use long
variable names, etc... purely for the sake of the human being reading
it. I *know* that after a year I will have to re-read the code, or
that a stranger will read it. In that respect, I prefer readability
to concision.
>> [Rollovers:] What would you consider the advantages of
>> using CSS for this purpose?
>There are various techniques to use, the easiest is:
> [Use text links and CSS, as opposed to images]
I agree. I'm going to see if I can influence my designers to sticking
to basic fonts, and still make things look good. This is a question
of approach versus, technique. Had that been the case, I most likely
would have gone that route.
>>> There's quite a few minor syntax errors in there though.
>>> (capitalization etc)
>> Now *this* I'm quite surprised at, especially when I go
>> out of my way to use the validator. Can offer some examples?
> Yeah, that was maybe an unfair comment, as you are
> validating 4.0 transitional, and in that case there are
> no immediate errors.
> I've been aiming at XHTML validation lately
> I that context I noticed a few irregularities, - that
> was more force of habit than anything else.
OK, that makes sense. Yes. I'm not quite sure I'm ready to adopt
XHTML standards just yet, and when I update these sites, I'm quite
sure it's going to be a total re-write, not a modification. But it
would be a good idea for me to consider this for the HTML generated
by my apps.
Thank you Richard, that was a very fulfilling exchange. Aside from
the straight out help, you've put a bug in my ear for a number of
things that helps me raise the bar a little bit. My professional soul
feels fed. <g>
--
Our best destiny, as planetary cohabitants, is the development
of what has been called "species consciousness" - something over
and above nationalisms, blocs, religions, ethnicities.
Frank Marion Framar Studios
frank at framarstudios.com http://www.framarstudios.com
More information about the thelist
mailing list