you need to add some other peace of code in slideshow.html
here is what to add
<script language="javascript" type="text/javascript">
var ss = new Class('slideshow', {
'color': '#ffffff',
'height': '300px',
'width': '300px'
});
ss.start();
</script>
I know ajax is not different language and it is just based on javascript language.
I just wanted to say when you are using javascript you need all of the time to make sure your code is browser compatible and worse when you use ajax you are risking that your site will be nonfunctional or even...
if you consider java is not stable then you can't consider javascript nor ajax nor flash stable.
when you compile java into class file you can have it run over any platform having java virtual machine and you don't need to worry about version or incompatibly issues.
on the contrary there are...
that is very troublesome if you have many images in your site. also this way you are going to drop out your image from good ranking in google. it is better to prevent hotlinking by using .htaccess and just allow hotlinking to google and trusted websites
yes completely true.:blink:
who said java is not stable? java is used every where for programming mobile games, for making web sites appletes and servlets, for desktop applications and many other things.
why? java would avoid him facing incompatibility issues. but in the other hand using javascript, ajax, flash and whatever would require him to think about different browsers and incompatibilities between them. besides java is only one language but javascript,ajax and flash are three different...
could be smart statistics php?
the one on http://www.smartphpstatistics.com/
it is blue
or there is another one on here
http://bellonline.co.uk/web-services/free/scripts/shoutcast-multi-server-stats/
you can prevent hotlinking by using .htaccess
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedhost\.com/ [NC
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png)$ images/nohotlink.jpg [L]
where allowedhost.com is a host you need to allow them to...
i recommend using java applets. and on the server side java servlets.
so in short you will need just to study java plus some basic html knowledge you should be able to make it
define a_cost in the global scope outside disp_info function
<script language="javascript" type="text/javascript">
var a_cost;
function disp_info(obj) {
<?php
$query = mysql_query($select);
while ($row = mysql_fetch_array($query)) {
$part = $row['name']...