Click to See Complete Forum and Search --> : same div tag through several html pages... please help.


onyxxxx
May 9th, 2008, 08:34 AM
HI,

I have several simple html pages and the footer. I want to ask if it's impossible to make the footer div tag the same in all html pages. I don't how to explain properly, but it is like inline frames, but conversely. I want this, because my footer has a little flash player and when you enter the site it's automatically playing songs, but when I am going through pages it's playing from the beginning and I want, that it plays continuosly...

Or maybe is another way to play song continuosly on the site?

PeejAvery
May 9th, 2008, 10:45 AM
Each time a page loads, it has to reload all objects within it. The only want to not have the flash player reset, is to keep it in a separate frame that does not change. Frames are old and highly disliked.

Depending on the content, you could use AJAX so that only certain elements are changed from page to page.

onyxxxx
May 10th, 2008, 05:28 PM
Maybe you can post me some examples on ajax? Or just show, where to find these scripts?

TheCPUWizard
May 10th, 2008, 05:51 PM
Each time a page loads, it has to reload all objects within it. The only want to not have the flash player reset, is to keep it in a separate frame that does not change. Frames are old and highly disliked.

Depending on the content, you could use AJAX so that only certain elements are changed from page to page.

AJAX would be a very viable way to go...but your phrasing could be improved to...

"You could use AJAX so that you always stay on the same page, with only certain elements changing during the life of the page"

PeejAvery
May 13th, 2008, 04:38 PM
Maybe you can post me some examples on ajax? Or just show, where to find these scripts?
Google will return plenty for you if you search for ajax tutorial. Here are two links I would recommend.

http://www.w3schools.com/ajax/default.asp
http://www.peejavery.com/coding/javascript/ajax.php