Yes, you can trigger different slice contents on rollover from multiple other slices.
It's easier to show than describe, so here is a sample file that does what I think you're looking for:
(1) six buttons
(2) each button has unique text
(3) each button has a rollover state
(4) unique text is displayed in the same place for each button on rollover
Hope this helps!
Right-click and save the image below - it's a Fireworks source file:
buttons_rollover_text.fw.png 93.6 K
Do you want to be found in the search engines? Text that are images can't be seen. I tried to make the slice an html slice but couldn't get that method to work.
Good point. This technique will always create text-as-graphics, because the slices are flattened to bitmaps.
If you need the text to be searchable / indexable, then you can't use Fireworks to create this effect. HTML slices in Fireworks behave differently - they ignore all frames / states and simply drop the contents of the HTML slice into the table cell in the exported HTML that corresponds to that slice. That's why you can put active HTML and JS code into an HTML slice and have it work in the exported code.
As has been said many, many times in this forum: do not use Fireworks to generate production-quality code for a web site. It's a fantastic design tool, but it's not a coding tool. We always recommend that you create the design in Fireworks (and even demo prototypes from Fireworks), but if you want proper code, you need to take the designs and assemble them in Dreamweaver or another coding tool.
Thanks for replies - I've downloaded the file, and will try it out at work on Monday.
No, luckily I don't need the text to be accessed by a search engine. This website is going to be used primarily as a glorified presentation tool (they did it in powerpoint first, but it wasn't slick enough).
I'm interested to note that Fireworks is recommended as a prototyping tool only. I'll need to do a bit more homework before I'm ready to convert it into Dreamweaver! Boy has that changed since I last worked on it. Back in those days, frames were still pretty cool, and CSS was cutting edge! But, I'm always up for a challenge, so here goes...
Thanks Dave, that is exactly what I wanted, and now that I see how easy it was to achieve, I feel a bit dumb for not working it out! Never mind, I'm sure I'll ask a few more dumb questions before I'm through...