Here’s a write-up of a way to do this directly in Freeway. An Action
could take the basic approach and make it less drudgery to concoct the
styles. The hard part would be coming up with an Action interface that
didn’t presume too much understanding on the part of the designer.
http://scripty.walterdavisstudio.com/sprite
What would be ideal, but requires Softpress’ collusion to pull off,
would be if you could just use the Rollover interface we all know and
understand, the images would be stitched, and the requisite CSS could
be calculated.
What I’m imagining is that you would draw your HTML bar elements,
group them together, then apply an Action to the group. That Action
would have a file control to select your sprite image, and then expose
a set of options for each of the states. For each state you would
enter the vertical offset to find the correct slice of the sprite, and
the Action could calculate the horizontal offset internally, based on
the dimension of each HTML element contained within the group.
Since the bar would be grouped, the CSS could be massively simplified
– one declaration for all a tags within that group to set the basic
styles, and then simple modifications of the position for every child
link. #group_name a { lots of styles } #option a { background-position
only }
Walter
On Jan 28, 2009, at 11:24 AM, Paul wrote:
HI,
as Walter said, the issue isn’t that it’s impossible to bolt two
images together, but that it’s very hard to get the final images
from Freeway prior to stitching them together.
I’ll have another look at this conundrum - but I can make no
promises about the outcome.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options