Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16627

Re: A question for a non-programmer

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: A question for a non-programmer
Date 2012-10-14 05:42 +0000
Organization A noiseless patient Spider
Message-ID <k5djbq$npl$1@dont-email.me> (permalink)
References <70375a83-acd3-4e5c-9491-e7065d817db2@googlegroups.com>

Show all headers | View raw


On Sat, 13 Oct 2012 14:29:45 -0700, fulio pen wrote:

> My question is presented in the following web page:
> 
> http://www.pinyinology.com/wheel/jieDa/fortune4t.html
> 
> I believe it is a piece of cake for many programmers here.  Thanks for
> your help.

1) The document shouldn't need a "<form></form> to wrap input elements 
that are not actually submitted as a form using post or get request. Such 
form elements just need placing in a suitable block level container.

2) The two un-named forms both contain inputs called name1 and name2. It 
might be better to give these inputs unique names and ids within the 
document if they need identification.

3) You appear to use js code to write out the grids that creates two 
grids that may contain spans having the same id attribute as the 
equivalent span in another grid. This is very bad. A document should only 
contain one element with any given id.

4) I suspect that code has been copied from one location to another 
location without changing all the places that need changing to make the 
code work in the second location.

http://www.sined.co.uk/tmp/fortune4t.html

contains various methods of displaying characters with a timeout, 
hopefully one of them might do what you're looking for.

I'm sure that other real coders can come up with several different 
methods of doing the same thing, and I also have no doubt that some 
people will have no contribution whatsoever to make but will attempt to 
display the pretence of great knowledge by declaring that every method 
I've used is flawed in some way whilst resolutely failing to actually 
suggest what they think is the correct method, or even a valid way, to 
achieve the required result.

Rgds

Denis McMahon

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A question for a non-programmer fulio pen <fuliopen@yahoo.com> - 2012-10-13 14:29 -0700
  Re: A question for a non-programmer Danny <dann90038@gmail.com> - 2012-10-13 14:48 -0700
    Re: A question for a non-programmer fulio pen <fuliopen@yahoo.com> - 2012-10-13 15:38 -0700
  Re: A question for a non-programmer Denis McMahon <denismfmcmahon@gmail.com> - 2012-10-14 05:42 +0000
    Re: A question for a non-programmer "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-10-14 09:41 +0200
      Re: A question for a non-programmer Denis McMahon <denismfmcmahon@gmail.com> - 2012-10-14 10:55 +0000
        Re: A question for a non-programmer fulio pen <fuliopen@yahoo.com> - 2012-10-14 09:45 -0700

csiph-web