Hello,
I've had an idea on implementing what I posted in
http://www.dynamicdrive.com/forums/s...=overstock.com
I prefer the client side approach over PHP etc server side approach. The idea is to use Includes. My current site is implemented by using Includes (every page) for page borders. The <body> of each page basically is a table.
<table>
<tr>
<td colspan=3> Include top border page </td>
</tr>
<tr>
<td > Include left border page </td>
<td > body HTML code </td>
<td > Include right border page </td>
</tr>
<tr>
<td colspan=3> Include bottom border page </td>
</tr>
</table>
With using cookie to remember which department I am at now, I can selectively include different/corresponding top, left, right and bottom borders. If I make the "body HTML code" also an Include, then I can load different body code for different department as well.
Now what I need is if someone could shed some light on how the Javascript can be implemented to selectively Include different pages. I guess I know where to find out how to implement cookie part.
Any suggestions or scripts will be appreciated. Thanks.
Jason



Reply With Quote
Bookmarks