How'd they do it?

How does the following website set up the background so that it can be changed by clicking on the “styles” buttons in the upper right hand corner?

http://digett.com/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

One way to do it (and likely to be how it was done) is with large html boxes (one for each background) covering the page area that will contain the background images. Apply the show/hide layer to the html boxes. Once you have that, create a CSS style for each background image and apply to each html box. Now create your selection buttons and link to the layers.

I haven’t tried this specifically, but it should work.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just realized another option where the show/hide layer could be skipped altogether by using more than one CSS style sheet. For each button you would call up the appropriate style sheet for each background. Coding needed, but not too dificult.

Big Ern did something similar with his fan site.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you dig deep enough into the code you can see they use the code available
from here;

Regards,
Tim.

Quoting Benjamin Eldredge email@hidden:

How does the following website set up the background so that it can be
changed by clicking on the “styles” buttons in the upper right hand corner?

http://digett.com/


Extend Freeway the way you want with FreewayActions.com
http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 29 Apr. 2008, 12:35 am, Tim Plumb wrote:

If you dig deep enough into the code you can see they use the code available
from here;
http://www.alistapart.com/articles/alternate
Regards,
Tim.

Quoting Benjamin Eldredge

Yep yep, that’s the ticket!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks everyone! I’ll give your suggestions a try!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options