|
Posted by Olaf Schinkel on 01/05/08 13:11
richard schrieb:
> http://oldies.littleworldofours.com/home.html
>
> I was thinking that I might be able to work on a simple script perhaps
> with "select case" so that I could load the center division when a
> link is clicked on.
>
> Would that be feasible? Any examples out there?
Two ways.
First:
Reloading the page
Second:
Javascript
To First:
Every link looks like that:
index.php?item={number of id in database}
then fill the DIV in the middle with the result of the database content.
To second:
a) You load all possible pages in JS Arrays an the item has an ONCLICK
handler.
This handler changes the content of the DIV
b) You make an XHTMLREQUEST (ajax) and request the data and than change
the content of the DIV.
Olaf
Navigation:
[Reply to this message]
|