Jump to content

Loading only sections of a page? (not sure how to explain...)


bnovak

Recommended Posts

This should be an easy one but I'm looking for a bit of help.

 

I'm using a php framework and using includes to bring different pieces of a website togethor onto the page.

The top of the page uses a flash banner, then there are some simple text sections below.

 

The banner is in it's own php file as well.

 

Wondering if it's possible to have the banner NOT replay after each page load? I'm not sure if this is something I need to setup in the flash file, or if there is a way to do it in the php files?

 

Basically, the banner is the same for all of the pages, and I want it (once loaded) to stay on the page while the details on the bottom change, WITHOUT going through the entire animation again. Make sense?

 

here's the page as it stands now so you can get a better idea what I'm trying to do.

 

http://www.getmoreimpact.com/index.php

 

again not sure if this needs to be done in the flash side, or the php? Any ideas are better than what I've got!

 

Thanks in advance

 

 

Link to comment
Share on other sites

You can either do this by setting ActionScript variables inside the Flash which allows it to track whether or not the opening animation has played so that when the page refreshes it does not replay, /or/ you can leave the Flash as it is and simply prevent navigation actions from reloading the page by loading all of the site's content and managing all of the navigation via ajax. If you were going with the latter, I would recommend you implement this with the jQuery library since it makes this sort of heavy ajax use considerably less cumbersome than it is with XMLHttpRequest directly.

 

Or the least sexy solution: iframes, flash in one, content in the other.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.