ajfmrf
08-20-2011, 09:40 PM
Can that script be adapted to use say,a box with the color options.
Like a blue box for blue
tan for tan
green for green
etc......
Bud
This refers back to:
http://www.dynamicdrive.com/forums/showthread.php?p=259186#post259186
jscheuer1
08-20-2011, 10:00 PM
Sure. It's no different in that regard from the DD version which allows for a link or whatever to be used (from the DD demo page's source code):
<a href="javascript:chooseStyle('blue-theme', 30)">Blue theme</a>
Although I would prefer an onclick event for that. Anyways, instead of text, you could have a color, or an image of a color, like:
<div style="background-color: blue; width: 70px; height: 20px; cursor: pointer;" onclick="chooseStyle('blue-theme', 30);"> </div>
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.