EatRamen
09-22-2007, 06:44 PM
Okay, so I found out a way to reload page content inside of a DIV, without having the entire page reload. Basically:
Link1 | link2 | link3 | etc. | etc.
____________________________
| |
| Content reloads here |
|___________________________ |
The user clicks a link, the content loads in the DIV without the whole page reloading.
Anyways, I'm using it for my forums, battle, etc. But I wanna know how I can have it either:
1. Reload content inside DIV when a new reply/etc. has been made in the database by another user... Without the whole page refreshing.
2. Refresh content in DIV only... Every 30 seconds or so.
If anyone could help, much thanks. I really, usually, know what I'm talking about when it comes to PHP, but I want to add a few things using Javascript/AJAX and I'm still pretty new to it.
Link1 | link2 | link3 | etc. | etc.
____________________________
| |
| Content reloads here |
|___________________________ |
The user clicks a link, the content loads in the DIV without the whole page reloading.
Anyways, I'm using it for my forums, battle, etc. But I wanna know how I can have it either:
1. Reload content inside DIV when a new reply/etc. has been made in the database by another user... Without the whole page refreshing.
2. Refresh content in DIV only... Every 30 seconds or so.
If anyone could help, much thanks. I really, usually, know what I'm talking about when it comes to PHP, but I want to add a few things using Javascript/AJAX and I'm still pretty new to it.