Hi there! As you feared, I'm not entirely sure what you want to accomplish - other than that, I should be able to help you with HTML / CSS . My
current understanding is that you have a div in which you want all pages to load - the main page being loaded only at the start. Apart from just
loading into the div, a kind of 'flashyness' is desired. I hope this is correct, as I'm about to continue on that assumption.
As CSS / Cascading Style Sheet is no more than a stylesheet - something with which you define the layout in shapes and colors - you can't use it to
define dynamic actions, i.e. script. You can use it to make a link look pretty, but that's about it. CSS can be used to do what you want, but only in
Back in the day, HTML used to control these kind of actions with frames and link targets. The consensus in the business is that frames are outdated
and should no longer be used. For demonstration purposes, you could consider using it anyway - but it won't lead to any flashyness and it might
require a substantive rewrite. The other possibility for HTML is to use iframes. Iframes are like divs, but they can automagically load other pages
dynamic needs. In preparing to explain what you'd need, I accidentally made an example page that does roughly what you want using
is included with a script tag in the head. Then it is ready for use - in this case, by some more script in the head.
(In this example, the jQuery code is loaded from the jQuery site each time you load the main page - if you want to use this on computers without an
internet connection or just want to improve the speed, simply download the jQuery file named in the script tag and edit the src attribute to include
it locally - i.e. remove everything but the file name).
Paste of example page
Just copy that into a file (test.html) in your directory and see if that's what you want. I've tried to provide useful comments in the script, but
am prepared to answer any question. A quick explanation: Basically, the main div in which pages are to be loaded is assigned an id attribute in HTML,
page, filling the main div with the requested page, and fading the main div back in again.
P.S. To those that want to see the HTML of the OP in the garbled post above, just press the Quote button to get the unformatted post.