NiTx Posted July 25, 2009 Share Posted July 25, 2009 Hey guys, I'm trying to figure our how to make a header, which in my case is a flash header, that doesn't reanimate each time I refresh or go to a new page. I want the top part of my website which is the header to only load once and afterwards only the content below load. For example look at this site, http://www.trademe.co.nz There header only loads once, if you click on other buttons only the content below changes. Thanks in advance for anyones help Quote Link to comment Share on other sites More sharing options...
Amtran Posted July 25, 2009 Share Posted July 25, 2009 First of all, the website you posted a link to does reload, it just looks like it doesn't because each page is exactly the same. However, if you want to be able to update content without page refreshes, you're going to need to use AJAX (Asynchronous JavaScript and XML). Quote Link to comment Share on other sites More sharing options...
NiTx Posted July 25, 2009 Author Share Posted July 25, 2009 Thanks for your reply Sorry I guess I choose a bad example for a website. Anyways, Would you be able to give me a code or some thing to show me how to make say <td>containing a flash element<td> never reload. So anything I place within the form doesn't reload if I change pages. Pretty much I just need my flash element to not reanimate. Have a look at the site I'm building, www.botoxclinic.co.nz/audio/index1.html The flash I have as a header will keep reanimating if I click on a link to another page on the site. So if this AJAX can help me stop it, it would be great! Sorry if I'm asking you to spoon feed me but its just this one thing I really need without learning a whole bunch of new languages! Cheers Mate Quote Link to comment Share on other sites More sharing options...
haku Posted July 25, 2009 Share Posted July 25, 2009 AJAX isn't something that can be taught in a thread. But there are a million tutorials on how to do it out there on the net. If you want a shortcut, jquery AJAX is really easy (though I think it's best to learn without jquery first). Google 'jquery ajax tutorial' and you should be able to find some tutorials on the matter. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.