Forum Moderators: open

Message Too Old, No Replies

AJAX throbber script

         

GamingLoft

10:10 pm on Feb 5, 2008 (gmt 0)

10+ Year Member




System: The following 3 messages were cut out of thread at: http://www.webmasterworld.com/php/3567133.htm [webmasterworld.com] by eelixduppy - 7:14 pm on Feb. 5, 2008 (est -5)


Im just wondering, i have looked at a lot of things that need ajax, and i have some questions

1) Do most webhosts have ajax included on their servers?
- my host has, php, mysql, etc, but they dont say anything about ajax..

2) dang i always do this i think ill have more than 1 question, then BAM nothing on number 2.

THANKS IN ADVANCED :)

eelixduppy

10:25 pm on Feb 5, 2008 (gmt 0)



>> Do most webhosts have ajax included on their servers?

It has nothing to do with the server. AJAX is a client-side technology. :)

GamingLoft

10:30 pm on Feb 5, 2008 (gmt 0)

10+ Year Member



Weird, i once tried using a ajax-javascript based throbber (like loader thing)

and my page came out with errors, i figured it was because my hosting didn't include ajax.

know any tutorials on how to make a simple throbber? i still need it :(

oh and also i have no ajax experience.

[edited by: GamingLoft at 10:30 pm (utc) on Feb. 5, 2008]

eelixduppy

12:16 am on Feb 6, 2008 (gmt 0)



Continued here: [webmasterworld.com...]

mehh

5:18 pm on Feb 6, 2008 (gmt 0)

10+ Year Member



"throbber"? I have no idea what sort of script you're asking for. If you are entirely new to JavaScript, a tutorial on the basics like this one [w3schools.com] may help. Like has already been mentioned it is a clientside technology so should be within a script tag. If you were putting it inside a sever-side parsed block like this:
<?php
// AJAX code....
?>
That could be your problem. It should be like this insted
<script type="text/javascript">
// AJAX code
</script>

eelixduppy

7:37 pm on Feb 6, 2008 (gmt 0)



>> "throbber"? I have no idea what sort of script you're asking for.

A "throbber" is a graphic that is usually animated that lets the user know that the application is performing some sort of task. As for finding one, your best bet is probably to look at the open-source repositories that you can find online. Try [hotscripts.com,...] [sourceforge.net,...] etc... Even a simple google search may provide you with a decent amount of leads to go on.