Using AJAX to call PHP script and SWF?

Hammy Havoc

New member
Howdy,
Although I stated earlier that I had this problem sorted, I have not, I created a small script using AJAX to call index.php in two separate divisions and to call musicplayer.swf in the one page, but the problem still remains, when the user navigates from index.php to another page, the musicplayer also reloads and refreshes which completely defeats the purpose of AJAX.
Could anybody give me a helping hand with creating a script that actually works?
I want the flashplayer to load upon visiting the site and then remain playing music while the user browses the online store, and yes this is necessary, I promote bands via my radio station (It's also my radio station's main website).

Thanks.
 
Can't answer in in full, but if you actually change the page form say, index.php to anotherPage.php, you are loading a totally new page... AJAX is NOT designed to work like that. It works within a single page and seamlessly transfers data. If you change page then, well, you've changed onto a new page...
 
Back
Top