Welcome to TalkGraphics.com
Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Location
    UK
    Posts
    348

    Default How to put color behind text, and how to have an animated gif rollover button

    Hello

    I am struggling today with two things. What is the best way to put color automatically behind lines of text. I can't find any way to do it with the limited text paragraph properties. Not sure whether to apply CSS or a Span or where these might go.

    Also, what is the best way to have an animated rollover button, please? If I have a static image on mouseoff, an animated gif on mouseover, softgroup them, link, and preview, the rollover is working but not with the animation. However, other animated gifs will show on the page.

    All thoughts and ideas welcome.

    Many thanks in advance.

    Ali

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,902

    Default Re: How to put color behind text, and how to have an animated gif rollover button

    Ali, it depends on how sophisticated you want it to become.
    The simplest is to add a Glow Shadow and change the Blur, Transparency and Colour to suit.

    You can also Clone your textbox or text line and for each Clone apply a different effect: displacement, feather, shadow, fill and transparency type.
    You then Soft Group them all and as you amend the text all the effects follow.

    I'll have a think about the second question when I find a suitable animated GIF.
    I take it the GIF does it business when not Soft Grouped and is on the MouseOff layer?

    Acorn

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,902

    Default Re: How to put color behind text, and how to have an animated gif rollover button

    Quote Originally Posted by Acorn View Post
    I'll have a think about the second question when I find a suitable animated GIF.
    I take it the GIF does it business when not Soft Grouped and is on the MouseOff layer?

    Acorn
    OK, here's what I did.
    I double clicked on the Get in Gear Animated Banner in designs and exported it as an animated GIF.
    On my main page I dropped it onto MouseOver Layer.
    I then locked this Layer, set my active Layer to MouseOff and covered the GIF Placeholder with a static box, added a few colours and highlights.
    I selected both objects on both Layers and Soft Grouped them.
    I added a MouseOver text and a # for the Link.

    When I previewed, it all worked.

    Back to you Ali.

    Acorn

  4. #4
    Join Date
    Oct 2010
    Location
    UK
    Posts
    348

    Default Re: How to put color behind text, and how to have an animated gif rollover button

    Quote Originally Posted by Acorn View Post
    OK, here's what I did.
    I double clicked on the Get in Gear Animated Banner in designs and exported it as an animated GIF.
    On my main page I dropped it onto MouseOver Layer.
    I then locked this Layer, set my active Layer to MouseOff and covered the GIF Placeholder with a static box, added a few colours and highlights.
    I selected both objects on both Layers and Soft Grouped them.
    I added a MouseOver text and a # for the Link.

    When I previewed, it all worked.

    Back to you Ali.

    Acorn
    Hey Acorn,

    Thanks for the excellent replies. I have been having a lot of fun playing with Xara WEb Designer 9 today. There aren't many paragraph settings, so I was experimenting with faking it, probably using code, to put in backgrounds to the text, borders around. I don't know what I did to the code, but even having named the text I couldnt get it to work. But it was fun trying. It is all crazy, really, because it is so quick to do anything another way in Xara. But sometimes it's nice to keep text with whatever is going on behind it.

    Re the animated rollover. Interesting. I will give that a try tomorrow. Bedtime here in the UK. I really appreciate your taking the time to figure out my problem and experiment with me. Thanks Acorn. More tomorrow.

    Gnight from England.

    Ali

  5. #5
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: How to put color behind text, and how to have an animated gif rollover button

    Won't a coloured rectangle behind the text do?
    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,902

    Default Re: How to put color behind text, and how to have an animated gif rollover button

    zaphodeist, I took the slant of the questions to be dynamic colouring.

    The other approach it to place a box behind and make it stretch as with dynamic buttons.

    Ali, the trick with text is each line is a span so you much add a special Name to the text block.
    Have a look in one of the Stickies here for Advanced Features.

    Acorn

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •