varying header images

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
7/8/2009 3:59:11 PM
Gravatar
Total Posts 34

varying header images

Question,

Has anyone done anything similar? On my home page I woud like to use a flash movie with 4-5 images in the loop. On other pages in the main navigation I would like to use still images tht are part of the flash. (to be more exact: imagine a site about farm animals, my home page flash would have 3 images : a cow, a swine and a sheep. However my "sheep" gateway page would only have a sheep static image).

The styleimages.css defines a header image in the wrapheader id: #wrapheader { background : #404040 url('header.gif') no-repeat; }; this is for the whole website.
 

Is seems to me that I might have to remove the whole wrapheder from the layout master, and define a custom user control with intelligence (map of images to urls)

What do you think Joe?

 

7/9/2009 1:26:00 AM
Nux
Gravatar
Total Posts 183

Re: varying header images

Can you program in flash? I mean, I know you can, but do you know how to it.
Perhaps you can program your flash movie that checks the url of the page and give the correct situation.

If it was my site, I would make different skins. Be aware that I don't use my css files in the skin folders, but in the folder above and use the style.config to tell the system where the css files are.

Stef

7/9/2009 4:23:32 AM
Gravatar
Total Posts 34

Re: varying header images

Well, the images on gateways will be static although I suppouse one could code flash in such a way that for home its a loop of 5 images and for gateways its just one image. However putting this logic into the client site code strikes me as wrong.

Also ceating different skins just because I have one image difference feels heavy handed. I've already tested someting: I'm going to create a user control that is configured by a map of images to urls and put it into the wrapheader div of layout master.

7/10/2009 1:57:45 AM
Nux
Gravatar
Total Posts 183

Re: varying header images

... however putting this logic into the client site code strikes me as wrong...

Perhaps, but from all the years that I'm working as a web developer, and working with different cms systems, I know you have to work around sometimes. If you have full control of the site and you know how to work with flash, I would not mind doing it that way. But, I would put everyting in an xml file (page -> image(s)) and let the flash movie read the xml file. That way, if you have new pages, you just need to change the xml and not the flash .

... also ceating different skins just because I have one image difference feels heavy handed...

Well, I'm working that way for my sites. Cause I don't use automatically width's of the colomns, but hardcoded (specially made for SEO), so I have different skins, just for having 1 colomn layout or 3 colomn layout. But all my css files are NOT in the skin folder, but the folder above and that is working just great with the style.config.

You must sign in to post in the forums. This thread is closed to new posts.