Copy link to clipboard
Copied
Hello,
I hope I am not getting too ahead of myself here but I am creating a website with a flash menu and have been exploring alternatives to switching pages. I came across the idea of refreshing content on a page without refreshing the flash menu using ajax. I have no experience with ajax and can't find a decent tutorial on how this would be done. I would only be replacing content in a "<div>". Any help is appreciated.
Thanks!
Dan
Copy link to clipboard
Copied
Hi Dan. First of all, unless you have a really compelling reason to do so, using a Flash menu is usually a bad idea for several reasons like:
Usability problems
Search engine visibility
Maintenance
Not everyone has Flash installed
Next, using AJAX to avoid new page loads for simple websites is also usually a bad idea. AJAX is great for data intensive sites where you are loading more content in the background based on user interaction, using dependent dropdown's and many other reasons. But to use it to control basic site navigation is usually overkill - the overhead to load the framework usually offsets any perceived performance gains. And it causes usability problems too.
If you are determined, then I suggest you select a framework to use and follow the instructions included with that framework. I don't use Spry but I imagine that it has support for basic content switching. Check the help guides.