Walt, I kinda figured this out from this post you made back in November. However, I can’t figure out how to use oval pngs for my buttons.
You can create two different images of your oval, and set them as the normal and active background image to a transparent GIF button. Draw a graphic box, but don’t give it any fill color. Apply the Carousel Tab Action to it. Create two styles:
.controls a img { background-color:#ccc; } .controls a img.active { background-color:#cc0; }
(I had it wrong previously in these explanations — the .active class gets added to the image, not to the link, so it’s not a.active img that you need to fiddle with.)
Here’s how you force Freeway to add these styles to your page without you needing to apply them to anything. (Follow these steps blindly — each step is important.)
Click on the cog menu in the Styles palette. Choose New style…
The Name field will say style4 or something similarly useless. Ignore that for the moment.
Tab or click into the Tag field. Enter the selector part of the style (everything outside of the curly braces), so for example .controls a img.
Tab into the Name field, so its contents are selected, and delete whatever is there, leaving the field empty.
TAB BACK OUT so that Freeway “sticks” that property as empty. It will try to sneak style4 back in there the moment your back is turned, so be vigilant about this and make sure that the Name field is empty when you finally Okay the dialog.
Use either the Extended sub-dialog or the regular style tools in the rest of the Edit Style dialog to add your properties. Backgrounds (image and color) are found in the Character style picker, for some reason.
Double check that the Name field is empty, and Okay the dialog.
A style made in this manner does not need to be applied to anything — and really shouldn’t, because it can make for some really strange effects. This sort of no-name style will always publish to the head of every page, or to the external stylesheet if you’re using those. Unlike styles that you click to apply in the design interface, you will not see their effects in the design view, and Freeway will not “prune” unused styles to save a few bytes. You will see the effect of the style in the Preview, or if you preview in a browser.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options