By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,482 Members | 3,157 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,482 IT Pros & Developers. It's quick & easy.

KPGN display for Khmer Chess using Java Script.

P: n/a

This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.

Any feed back can be sent to da************@yahoo.com or
post the following up here.

Thank and Regards.
Jan 16 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Tuy Solang wrote:
This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause, is draws stuff - but no images yet.

Then it starts making a noise. At that point I'm outta here! (even
though I want to help).

1) Make it load in 10% of the time. Remember approx half of internet
users worldwide are still on dial-up.
2) Turn the sound OFF by default. Your visitor might be at work!

Regards

Ian
Jan 21 '08 #2

P: n/a
rf

"Ian Hobson" <ia********@ntlworld.comwrote in message
news:ae*******************@newsfe6-gui.ntli.net...
Tuy Solang wrote:
>This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause,
while your browser downloads *six megabytes* of .mp3. Totally outrageous.
is draws stuff - but no images yet.
All the images (of the chess men), are BMP's. Images on a web page should
NOT be BMP's.

We don't know how big the BMP's are because each one is a 404.
Then it starts making a noise. At that point I'm outta here! (even though
I want to help).
Ditto. A good site to stay away from.
--
Richard.
Jan 21 '08 #3

P: n/a
"rf" <rf@invalid.comwrote in message
news:YA*****************@news-server.bigpond.net.au...
>
"Ian Hobson" <ia********@ntlworld.comwrote in message
news:ae*******************@newsfe6-gui.ntli.net...
Tuy Solang wrote:
This is our first Java Script.
I stopped reading here! One's first can hardly be any good.
You are inivited to view it at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause,

while your browser downloads *six megabytes* of .mp3. Totally outrageous.
is draws stuff - but no images yet.

All the images (of the chess men), are BMP's. Images on a web page should
NOT be BMP's.

We don't know how big the BMP's are because each one is a 404.
Then it starts making a noise. At that point I'm outta here! (even
though
I want to help).

Ditto. A good site to stay away from.
--
Richard.


Jan 21 '08 #4

P: n/a
Ian Hobson <ia********@ntlworld.comwrites:

Hi Ian,

Thanks for suggestion.

I don't know how to to do what you have suggested above.
However I will convert those BMP files(2kb) each to jpeg.

How to turn off the music or download on demand?
Here is the code for the music.

</head><body>
<embed nosave="false" loop="true" width="172" height="128" src="M0247.mp3">
<embed nosave="false" loop="true" width="172" height="128" src="M0248.mp3">
</body></html>

The reason that I put the music along is that most of the players
gathered at the barbershop everywhere in Cambodia to play chess.
And these two singers who were murdered by the khmer rouge had this
song about the lives of the barbers/hair dressers. And as I grew up
over there, I spent a lot of time at the barbershop playing chess.

Tuy Solang wrote:
This is our first Java Script. You are inivited to view it
at : http://jinpusa.angelfire.com/

It will be slow at first because it need to download all
the bitmap files for the pieces and two mp3 files.
As a person who just runs into the site....

After a LOOONNNNGGG pause, is draws stuff - but no images yet.

Then it starts making a noise. At that point I'm outta here! (even
though I want to help).

1) Make it load in 10% of the time. Remember approx half of internet
users worldwide are still on dial-up.
2) Turn the sound OFF by default. Your visitor might be at work!
>
Regards

Ian
Jan 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.