Alternate Animation/Static Banner based on URL
I have a website that I set up, that has 3 distinct areas. On the main page, I have an SWF that rotates between 3 different images.
When I go to each individual area, separated by directories in the web, I want the banner to be static on the image for that area.
i.e.
index.htm - Rotating banner
/cc/ccmain.htm - image 1 (all pages under /cc/ should have this same image)
/pa/pamain.htm - image 2 (all pages under /pa/ should have this same image)
/hr/hrmain.htm - image 3 (all pages under /hr/ should have this same image)
I know I could possibly do it by building a different page for each area, but I can't since I made 1 template for the whole site and used includes pages so I would not have to reload everything each time.
Can this be done? Am I barking up the wrong tree with flash and actionscript and I have ti program this into the html?
|