473,598 Members | 3,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bounty for Javascript Auto-Submit Counter

http://newyork.craigslist.org/eng/34043771.html

We need a JavaScript component which will auto-submit a form after a
set period has elapsed. The component must display a counter that
dynamically shows the minutes and seconds remaining before submission.
We have a fairly tight deadline (by 5PM EST, Friday, June 25); we are
using a "bounty" in the hope of getting a few good responses in a
hurry.

BOUNTY: $200 for first place, plus a $50 bonus for the winner if
submission is there by 5 PM EST, Wed 23rd. $50 for second and third
place. (Payment to the winner will be sent after 30 days of bug-free
operation.)

Specific requirements:

1. The component must be JavaScript, and embeddable within the tag of
an HTML page. The component will use a
tag or similar place-holder for the placement of the clock.

2. The component must work with recent Mozilla/Firefox, IE Explorer 6+
on both Windows and MacOSX, and on MacOS Safari

3. The component must show a clock/counter counting down the minutes
and seconds to when the form will be auto-submitted. (A superior
submission might display the clock as a continuously changing
"odometer." )

4. The component will have several configurable items:
• Time period: The total length of time from when the page is loaded
until when it must be automatically submitted (16 minutes, 4 minutes
and 40 seconds, etc.) It should have minutes and seconds, with the
ability to set the display so that seconds are hidden.
• Increment: How frequently the clock should be updated, (2 minutes,
30 seconds, seconds, etc.)
• Warning: A time left when the user is given an indication that the
form will shortly be submitted (3 minutes, 1 minute, 10 seconds, etc.)
It should be a visual warning, preferably a flashing screen. For
example, one flash at close to the time limit and 2 flashes at the
next time warning. Two warning interval setting are sufficient.

5. Auto-submit the form when the clock reaches zero

6. The license for the clock will be BSD, and you can maintain
ownership.

7. An example HTML page that shows how to use the autosubmit
component.

8. A check to see if Javascript is turned on in the user's browser. If
Javascript is off, the user should be redirected to an instruction
page that will tell them to turn Javascript on (an sample instruction
page would be useful to us).
Desirable features:
• We prefer a reverse-odometer look.
• It would be great to be able to configure the font and colors of the
clock
• Sample css for pinning the clock to upper right-hand corner or
different screen location
• any neat things you can think of!

Good luck! Looking forward to seeing your scripts!
http://www.prometheusresearch.com
You are welcome to copy this request to anyone who may be interested.
Job location is New Haven, CT
it's NOT ok to contact this poster with services or other commercial
interests
Compensation: $200 for first place, $50 early bonus, 2x$50 for
runner-up submissions
Telecommuting is ok.
This is a contract job.
Principals only. Recruiters, please don't contact this job poster.
Please, no phone calls about this job!
Please do not contact job poster about other services, products or
commercial interests.
Reposting this message elsewhere is OK.
Jul 23 '05 #1
8 3014
Prometheus Research wrote:
<snip>
Specific requirements:

1. The component must be JavaScript, and embeddable within the tag of
an HTML page.
"embeddable within the tag of an HTML page" is a strange use of
terminology that sounds like it is intended to mean something specific,
but doesn't actually express the requirement.
The component will use a
tag or similar place-holder for the placement of the clock. 2. The component must work with recent Mozilla/Firefox, IE Explorer 6+
on both Windows and MacOSX, and on MacOS Safari
It seems superfluous to put a plus in front of IE 6. Is there a reason
why Opera 7 or IceBrowser, for example, shouldn't support this?
3. The component must show a clock/counter counting down the minutes
and seconds to when the form will be auto-submitted. (A superior
submission might display the clock as a continuously changing
"odometer." )
An odometer displays, for example, the miles (or kilometres) travelled
by a car. Usually as a row of decimal digits, which is not at all
difficult to do, or significantly different form what would be expected,
Which makes me wonder if this "odometer" suggestion is asking for an
animated graphical presentation such as sliding the last number out as
the next slides in to replace it (as would happen with the revolving
cylinders of a car's odometer).
4. The component will have several configurable items:
. Time period: The total length of time from when the page is loaded
until when it must be automatically submitted (16 minutes, 4 minutes
and 40 seconds, etc.) It should have minutes and seconds, with the
ability to set the display so that seconds are hidden.
Not mentioning hours implies that the maximum countdown period would be
one hour.

It wouldn't hurt to know something about the style of specifying periods
of time. Would providing figures in milliseconds be appropriate, or
would the minimum total period and interval be one second and so
specifying periods as total numbers of seconds be acceptable, or as two
parameters in minutes and seconds?
. Increment: How frequently the clock should be updated, (2 minutes,
30 seconds, seconds, etc.)
There really should be a minimum and maximum specified update interval
(i.e. one second minimum one hour maximum).
. Warning: A time left when the user is given an indication that the
form will shortly be submitted (3 minutes, 1 minute, 10 seconds, etc.)
It should be a visual warning, preferably a flashing screen.
WAG guidelines don't encourage flashing screens because of epilepsy.
For
example, one flash at close to the time limit and 2 flashes at the
next time warning.
Only doing it twice might be safe.

This could probably do with more information about the context of use
because an action like toggling the background color of the BODY element
would represent a reasonable way of giving such an indication, but only
if the background color of the body was being inherited by a reasonable
proportion of the elements on the page. Otherwise a different strategy
might be called for.
Two warning interval setting are sufficient.

5. Auto-submit the form when the clock reaches zero

6. The license for the clock will be BSD, and you can maintain
ownership.

7. An example HTML page that shows how to use the autosubmit
component.

8. A check to see if Javascript is turned on in the user's browser.
This is meaningless as the ability to perform such a check implies that
javascript is turned on.
If Javascript is off, the user should be redirected
to an instruction page that will tell them to turn
Javascript on (an sample instruction page would
be useful to us).
And this is impossible, as when javascript is turned off there is no way
it can do anything (and no reliable alternative given the specified
browser list). Under the circumstances it would make more sense to have
an alternative page employ javascript to re-direct to this one.

Desirable features:
. We prefer a reverse-odometer look.
You want the units digit for seconds on the left?
. It would be great to be able to configure the font and colors of the
clock
It would be a poor script that didn't allow that. Probably using
external CSS.
. Sample css for pinning the clock to upper right-hand corner or
different screen location
This seems to contradict the earlier "place-holder" requirment.
. any neat things you can think of!

<snip>

Richard.
Jul 23 '05 #2
Lee
Prometheus Research said:

We need a JavaScript component which will auto-submit a form after a
set period has elapsed. The component must display a counter that
dynamically shows the minutes and seconds remaining before submission.


I assume that you don't mind that, since it will be client-side
Javascript, it will be trivial for your visitors to disable the
count-down, or to set it for whatever time period they prefer.

Jul 23 '05 #3
Richard Cornford wrote:
It seems superfluous to put a plus in front of IE 6.
I would assume this means 6.0 plus service packs.
And this is impossible, as when javascript is turned off there is no
way it can do anything (and no reliable alternative given the
specified browser list).


<noscript>
<meta http-equiv="refresh"
content="0;url= http://www.mysite.com/js_required.htm l">
</noscript>
?

--
Matt Kruse
Javascript Toolbox: http://www.JavascriptToolbox.com/
Jul 23 '05 #4
Matt Kruse wrote:
Richard Cornford wrote:

<snip>
And this is impossible, as when javascript is turned off there is
no way it can do anything (and no reliable alternative given the
specified browser list).


<noscript>
<meta http-equiv="refresh"
content="0;url= http://www.mysite.com/js_required.htm l">
</noscript>

?


META is a %head.misc element and so only allowed to be the child of a
HEAD element. NOSCRIPT is a %block elements and so only allowed to be a
descendent of a BODY element. Most of the specified browsers allow META
refresh to be disabled under user configuration/preferences. Even if the
browser swallows the dubious mark-up without side-effects, the results
will not be reliable.

Richard.
Jul 23 '05 #5
Hello Richard. Thank you for your kind response.
1. The component must be JavaScript, and embeddable within the tag of
an HTML page.
"embeddable within the tag of an HTML page" is a strange use of
terminology that sounds like it is intended to mean something specific,
but doesn't actually express the requirement.


Yes, it appears as if the posting stripped content; although on a second
read, we think it is best to leave howto use the Javascript up to the
designer as the example page would show its operation.
2. The component must work with recent Mozilla/Firefox, IE Explorer 6+
on both Windows and MacOSX, and on MacOS Safari


It seems superfluous to put a plus in front of IE 6. Is there a reason
why Opera 7 or IceBrowser, for example, shouldn't support this?


We only require support for Mozilla/Firefox, IE 6 and Safari; of course,
if it worked with Lynx that'd be great. *winks* I believe 6+ was used
since an associate had mentioned bugs were introduced in some versions of
IE 6, I'm not sure what those bugs are, but this script is probably simple
enough that one would not have to grapple with various patchlevels; we hope.
3. The component must show a clock/counter counting down the minutes
and seconds to when the form will be auto-submitted. (A superior
submission might display the clock as a continuously changing
"odometer." )


An odometer displays, for example, the miles (or kilometres) travelled
by a car. Usually as a row of decimal digits, which is not at all
difficult to do, or significantly different form what would be expected,


Clearly the time remaining would have to specify minutes (and with an
optional parameter) seconds.
Which makes me wonder if this "odometer" suggestion is asking for an
animated graphical presentation such as sliding the last number out as
the next slides in to replace it (as would happen with the revolving
cylinders of a car's odometer).
This is the idea; but this graphical trick is _not_ a requirement.

4. The component will have several configurable items:
. Time period: The total length of time from when the page is loaded
until when it must be automatically submitted (16 minutes, 4 minutes
and 40 seconds, etc.) It should have minutes and seconds, with the
ability to set the display so that seconds are hidden.


Not mentioning hours implies that the maximum countdown period would be
one hour.


Correct.
It wouldn't hurt to know something about the style of specifying periods
of time. Would providing figures in milliseconds be appropriate, or
would the minimum total period and interval be one second and so
specifying periods as total numbers of seconds be acceptable, or as two
parameters in minutes and seconds?


Seconds is the appropriate resolution, altough it would be nice to have
a flag so as to not show the seconds.
. Increment: How frequently the clock should be updated, (2 minutes,
30 seconds, seconds, etc.)


There really should be a minimum and maximum specified update interval
(i.e. one second minimum one hour maximum).


The increment would specify how many seconds pass before the screen
is updated; in many cases we don't want it updated every second as
this would be distracting to the user of the form.
. Warning: A time left when the user is given an indication that the
form will shortly be submitted (3 minutes, 1 minute, 10 seconds, etc.)
It should be a visual warning, preferably a flashing screen.


WAG guidelines don't encourage flashing screens because of epilepsy.
For
example, one flash at close to the time limit and 2 flashes at the
next time warning.


Only doing it twice might be safe.

This could probably do with more information about the context of use
because an action like toggling the background color of the BODY element
would represent a reasonable way of giving such an indication, but only
if the background color of the body was being inherited by a reasonable
proportion of the elements on the page. Otherwise a different strategy
might be called for.


I think you understand the requirement; we look to the example usage
page to help guide us.
Two warning interval setting are sufficient.

5. Auto-submit the form when the clock reaches zero

6. The license for the clock will be BSD, and you can maintain
ownership.

7. An example HTML page that shows how to use the autosubmit
component.

8. A check to see if Javascript is turned on in the user's browser.


This is meaningless as the ability to perform such a check implies that
javascript is turned on.


We are aware of that, ideally, your set of example pages would
demonstrate this; for example, a clever example page would
put in "5 minutes" when Javascript is not available (via noscript).
If Javascript is off, the user should be redirected
to an instruction page that will tell them to turn
Javascript on (an sample instruction page would
be useful to us).


And this is impossible, as when javascript is turned off there is no way
it can do anything (and no reliable alternative given the specified
browser list). Under the circumstances it would make more sense to have
an alternative page employ javascript to re-direct to this one.


Sounds good; the submission should show how we can meet the requirement,
it is unfortunate that we had specified an implementation which won't work.
Desirable features:
. We prefer a reverse-odometer look.


You want the units digit for seconds on the left?


That is not a requirement.
. It would be great to be able to configure the font and colors of the
clock


It would be a poor script that didn't allow that. Probably using
external CSS.


We already have one submission which doesn't; but as you said, this
is more like something to go in the example page.
. Sample css for pinning the clock to upper right-hand corner or
different screen location


This seems to contradict the earlier "place-holder" requirment.


*nods*
. any neat things you can think of!


Thank you for your thoughtful set of questions. We look forward to
your submission. Cheers!
Jul 23 '05 #6
Prometheus Research wrote:
Thank you for your thoughtful set of questions. We look forward to
your submission. Cheers!


I would expect low-quality solutions, if I were you.

$250 for such a project seems pretty low for experienced developers, so
you're probably not going to get submissions from the best possible
developers. Especially when payment is not guaranteed.

Good luck, though ;)

--
Matt Kruse
Javascript Toolbox: http://www.JavascriptToolbox.com/
Jul 23 '05 #7
On Thu, 17 Jun 2004 20:02:48 -0500, "Matt Kruse"
<ne********@mat tkruse.com> wrote:
<noscript>
<meta http-equiv="refresh"
content="0;url =http://www.mysite.com/js_required.htm l">
</noscript>


Even IE can disable meta refresh let alone more advanced UA's

Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/

Jul 23 '05 #8
Prometheus Research wrote:
<snip>
"embeddable within the tag of an HTML page" is a strange use of
terminology that sounds like it is intended to mean something
specific, but doesn't actually express the requirement.
Yes, it appears as if the posting stripped content; although on a
second read, we think it is best to leave howto use the Javascript
up to the designer as the example page would show its operation.


That probably wasn't a wise decision as no matter how garbled by chinese
whispers in being relayed to broadcast I have a feeling that the idea
originated with someone familiar with the (technical) context in which
the code will be being used, and it is often advisable to listen to what
such people have to say as they will be trying to reduce their
associated workload. Which initially sounds like laziness but actually
means they will be able to get more done for the money they will be
being paid anyway.

Leaving the implementation decisions up to the script designer is not
necessarily a bad idea, but it really necessitates the designer being
fully informed of the purpose of the script. So far you have provided
details of what you want the script to do, but not said anything about
what you intend doing with it, and why, once you have it. It is those
details that a designer needs if they are going to attempt to fill in
the blanks in a vague or incomplete specification.

<snip> Clearly the time remaining would have to specify minutes
(and with an optional parameter) seconds.
Clearly if you say that is what you want, not so clearly otherwise. The
'natural' unit for specifying an interval in javascript is the
millisecond, but it isn't a problem to be using anything less precise
(just need appropriate multiplication) .

<snip>
8. A check to see if Javascript is turned on in the user's browser.


This is meaningless as the ability to perform such a check implies
that javascript is turned on.


We are aware of that, ideally, your set of example pages would
demonstrate this; for example, a clever example page would
put in "5 minutes" when Javascript is not available (via noscript).


The functionality described does not have an inverse relationship with
NOSCRIPT (very little browser scripting does).

<snip> Thank you for your thoughtful set of questions. We look
forward to your submission. Cheers!


It is unlikely that you will see anything from me. The money is an
irrelevance as a one in N chance of getting such a small amount of money
(assuming you intend paying out at all) for such a script, without even
getting a clear idea of what criteria the results will be judged by, is
not appealing in itself. My interest is only in whether the problem was
interesting in its own right, and you have not really contributed to
answering that question as your specification is hardly any more
specific than its original vague form and the supplementary information
required to compensate for a vague specification remains absent.

Richard.
Jul 23 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2640
by: Henk Verhoeven | last post by:
(Reply on this newsgroup to an email - reply by email did not work) Wolfman wrote: > > Hi, > I found your Email in the php Newsgroup. > I was looking for some way to resize some graphiks on my HP , to fit the actual Browser size. So I found this: > > <HTML><HEAD></HEAD>
9
4505
by: CW | last post by:
I wrote an HTML based chat application. The front end is built entirely on HTML + javascript. Essentially, I have a hidden frame that's refreshed frequently and any new messages are displayed in another frame using document.write. My problem is that since chat screen can be obscured by other applications/windows, I have no way of informing users that new messages have arrived other than popping the window to the top using window.focus....
25
4284
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low cost way to do sophisticated debugging in IE6 other than to use the debugger described below, which is horribly documented otherwise. I feel debugging is an important aspect of projecting the useability of the language and needs to be made more...
136
9283
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their code was littered with document.all and eval, for example, and I wanted to create a practical list of best practices that they could easily put to use. The above URL is version 1.0 (draft) that resulted. IMO, it is not a replacement for the FAQ,...
5
2916
by: nivas.meda | last post by:
Hi, I have an excel sheet with a graph and cells.If i change the value in the excel cells the graph will reflect.Now i am going to implement this functionality in html page.I successfully saved this as interactive html page.Now my requirement changes a bit.The excell cells will not visible to others.i have a text box,If i change the value in text box the excel template cell value need to change. I did the follwing steps for creating...
1
2493
by: fif3336 | last post by:
Hi everyone, I'm forwarding here a 100 euro bounty hunt I've started at drupal.org. It's about making a "word-html cleaner" module for the open source cms Drupal. All informations, including my current email, is in this post http://drupal.org/node/46329 thanks G:
4
1481
by: Thomas Pedoussaut | last post by:
Hi, I'm (I mean the company I work for) slightly blocked in the developement / deployment of a new website due to a bug in php. We reported it about 6 weeks ago. I don't think it's a big job to solve but it requires knowledge of the internals of PHP and access to a x86_64 plateform. The company is obviously OK to put some cash to have this fixed. Is there a marketpalce somewhere where I could put the bounty offer.
3
2067
by: rassklass | last post by:
HI all, I have designed a site found at www.pickupnewspapers.co.uk/nottinghamshire/index.html but I cant get the footer to sit stil on the page. It is because of the javascript ticker, everytime the ticker types the footer jumps up and down. Also the ticker does not work in firefox but does in IE7 (cant test in any others as dont have a computer with it on) . I am quite amateur to html and no nothing about javascript. I am aware there are...
4
1971
by: Arun | last post by:
I came across a message sometime back in 2002. Here's a link: http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/f10e3748f6f260c5/b0b1ac5840e445e5?lnk=gst&q=color+picker#b0b1ac5840e445e5. The author tries to build a colour picker from scratch but his overuse of <tdtags puts me off the solution. Here is something I just created. It uses prototype, just because it makes life easier for me. .... <head> <script...
5
2927
by: Nike1984 | last post by:
I'm fairly new to Javascript and it's more of a guessing game for me... I'm trying to build an app for Google Maps and just had some issues recently. First off I just wanted to say that everything works fine in FF and IE. It's Chrome I'm having issues with. I understand that Chrome is still somewhat in beta stages, so some bugs might occur. However this seems like something I might have done. So... I used a code that I found on Econym as...
0
7896
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8048
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8263
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5848
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3939
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1503
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1246
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.