473,383 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

may I ask for comments on code?

Hello,

I wonder if this is possible?

I have some code which works but would appreciate comments with a view
to improving the code - appropriate to post it and ask for comments?

Cheers

Geoff
Oct 14 '05 #1
6 1180
Geoff Cox said the following on 10/14/2005 6:13 PM:
Hello,

I wonder if this is possible?
Anything is possible but not everything is realistic :)
I have some code which works but would appreciate comments with a view
to improving the code - appropriate to post it and ask for comments?


A URL is preferred unless it is short code.

If you do post it, make sure you hand format it so that it does not
exceed about 70 characters per line. Once you have it formatted that
way, before you post, copy/paste it back into a test page and make sure
your formatting hasn't caused an unintended error.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Oct 14 '05 #2
On Fri, 14 Oct 2005 18:58:56 -0400, Randy Webb
<Hi************@aol.com> wrote:
I have some code which works but would appreciate comments with a view
to improving the code - appropriate to post it and ask for comments?


A URL is preferred unless it is short code.


Randy,

OK - will give it a whirl !

The URL is

http://www.micro-active.com/spa-test/spa-ng-front.htm

The first page linsk to a second where most of the Javascript is to be
found.

The slider code is in a file called slider.js which is in the same
folder and can be downloaded if required ...

After the last questions have been answered the slider values are
emailed to me using formmail-nms.cgi.

Look forward to hearing of any (many!) possible improvemenst etc.

Cheers

Geoff

PS I will add this in a separate posting aswell.
Oct 15 '05 #3

"Geoff Cox" <ge*******@notquitecorrectfreeuk.com> wrote in message
news:br********************************@4ax.com...
On Fri, 14 Oct 2005 18:58:56 -0400, Randy Webb
<Hi************@aol.com> wrote:
I have some code which works but would appreciate comments with a view
to improving the code - appropriate to post it and ask for comments?


A URL is preferred unless it is short code.


Randy,

OK - will give it a whirl !

The URL is

http://www.micro-active.com/spa-test/spa-ng-front.htm

The first page linsk to a second where most of the Javascript is to be
found.

The slider code is in a file called slider.js which is in the same
folder and can be downloaded if required ...

After the last questions have been answered the slider values are
emailed to me using formmail-nms.cgi.

Look forward to hearing of any (many!) possible improvemenst etc.

Cheers

Geoff

PS I will add this in a separate posting aswell.


first page the slider thumb is in the middle of the screen - have you tested
this on different screen reolutions ?

What are the questions ? You have a title and a list of possible responses
but I see no questions.

Oct 15 '05 #4
On Sat, 15 Oct 2005 15:58:23 GMT, "Zoe Brown"
<zo***********@N-O-S-P-A-A-Mtesco.net> wrote:
PS I will add this in a separate posting aswell.
first page the slider thumb is in the middle of the screen - have you tested
this on different screen reolutions ?


Zoe,

no but will do now! it is OK in v6 IE for me.
What are the questions ? You have a title and a list of possible responses
but I see no questions.


perhaps a bad choice of words of mine - you should see a series of
polar statements, eg on the first one has

"I would often be in this situation" and

"I would hardly ever be in this situation"

Questions is not the correct word - will change it later.

Any thoughts on any aspects of the Javascript itself?

Thanks

Geoff
Oct 15 '05 #5
On Sat, 15 Oct 2005 15:58:23 GMT, "Zoe Brown"
<zo***********@N-O-S-P-A-A-Mtesco.net> wrote:

PS I will add this in a separate posting aswell.


first page the slider thumb is in the middle of the screen - have you tested
this on different screen reolutions ?


Zoe,

It seems to me that the thumb is in the correct position if the
browser window is maximised - do you find that?

Geoff

Oct 15 '05 #6
On Fri, 14 Oct 2005 22:13:51 GMT, Geoff Cox
<ge*******@notquitecorrectfreeuk.com> wrote:

Thanks for the comments - will remove the pages now.

Cheers

Geoff

Oct 17 '05 #7

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

Similar topics

4
by: Sims | last post by:
Hi, I proud myself in having good comments, (/**/, // etc...), all over my scripts as well as a very descriptive section at the beginning of the script. No correct me if i am wrong but php must...
17
by: lkrubner | last post by:
I've got a PHP application that's 2 megs in size. Of that, my guess is 200k-400k is comments. Do they impose a performance hit? I've been postponing any kind of optimization, but at some point I'll...
28
by: Benjamin Niemann | last post by:
Hello, I've been just investigating IE conditional comments - hiding things from non-IE/Win browsers is easy, but I wanted to know, if it's possible to hide code from IE/Win browsers. I found...
10
by: Monk | last post by:
Hi, Have a query regarding comments that extend over multiple-lines. Would like to know if the standard's view of this, so that we can create a code which doesn't run into compiler specific...
40
by: Edward Elliott | last post by:
At the risk of flogging a dead horse, I'm wondering why Python doesn't have any multiline comments. One can abuse triple-quotes for that purpose, but that's obviously not what it's for and doesn't...
98
by: tjb | last post by:
I often see code like this: /// <summary> /// Removes a node. /// </summary> /// <param name="node">The node to remove.</param> public void RemoveNode(Node node) { <...> }
2
by: beatTheDevil | last post by:
Hey guys, As the title says I'm trying to make a regular expression (regex/regexp) for use in removing the comments from code. In this case, this particular regex is meant to match /* ... */...
2
by: mad.scientist.jr | last post by:
In .NET 2.0, is there any way to include comments in the aspx file that do not get rendered to the client (ie no <!-- -->) ? When I try to include C# comments in a code block in an aspx page,...
6
by: Marjeta | last post by:
I was trying to compare a particular trigger on multiple servers. First I tried phpMyAdmin to script the trigger code, which unfortunately only worked on one server that has newer version of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.