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
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
Last edited by jscheuer1; 08-20-2011 at 09:50 PM. Reason: spinoff to a new thread
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):
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:Code:<a href="javascript:chooseStyle('blue-theme', 30)">Blue theme</a>
Code:<div style="background-color: blue; width: 70px; height: 20px; cursor: pointer;" onclick="chooseStyle('blue-theme', 30);"> </div>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
ajfmrf (08-21-2011)
Bookmarks