Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Default Image with hover

    Hi There,

    I Need your help please.

    I am trying to put a image on a page and when I hover over the image I would like a rectangle to slide over the image.
    I have almost got this working but the rectangle slides down from the top of the page rather than the top of the image.

    Is there a way to fix it so that the rectangle only slides from the top of the image?

    Thanks for your help.

    Best Regards,

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,516

    Default Re: Image with hover

    Not using a layer transition. Transitions enter and exit from the sides of the screen.

    I would just place the rectangle on either a pop up layer or mouse over layer and trigger the rectangle with something on the mouseoff layer. You could use a fade transition which might be just as effective and does not enter or exit from the side.

  3. #3

    Default Re: Image with hover

    Can be done with trickery

    It can be achieved through using an iframe which loads a prepared page with image and mouse-over layer with transition.The trick is to make the iframe placeholder larger than the image so that there's an empty area for the mouse-off event, otherwise the layer doesn't retract.

    Demo ► http://xara-users.magix.net/public/i...er-transition/

    *Note that IE9 or lower the transition is instant.
    Attached Files Attached Files

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,931

    Default Re: Image with hover

    Nice solution
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5

    Default Re: Image with hover

    Thanks guys,

    I'll give it a go and see what I come up with.

    I am trying to replicate the tiles you can see on this site: http://www.bluefingroup.co.uk/

    Not sure how it's done.

    Best Regards,

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

    Default Re: Image with hover

    Quote Originally Posted by Steve2106 View Post
    Thanks guys,

    I'll give it a go and see what I come up with.

    I am trying to replicate the tiles you can see on this site: http://www.bluefingroup.co.uk/

    Not sure how it's done.

    Best Regards,
    It is probably a CSS3 transition effect.
    Here is a demonstration: http://jsfiddle.net/realseanp/c4e08hy7/9/

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  7. #7

    Default Re: Image with hover

    As are WD10's transition effects.

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,875

    Default Re: Image with hover

    Quote Originally Posted by steve.ledger View Post
    As are WD10's transition effects.
    No dispute with that but you have no control in Xara over changing the effect to match what the OP specified.
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  9. #9

    Default Re: Image with hover

    Quote Originally Posted by Acorn View Post
    No dispute with that but you have no control in Xara over changing the effect to match what the OP specified.
    Acorn
    The OP specified:
    Quote Originally Posted by Steve2106 View Post
    I have almost got this working but the rectangle slides down from the top of the page rather than the top of the image.

    Is there a way to fix it so that the rectangle only slides from the top of the image?
    Did you actually look at the demo and file I posted?

  10. #10
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,875

    Default Re: Image with hover

    Quote Originally Posted by steve.ledger View Post
    The OP specified:

    Did you actually look at the demo and file I posted?
    Steve, I did. Essentially, you get round the the transition from the top of a page by making the image and its page the same size and then hiding this within an IFRAME. The transition then reveals a small rectangle that then covers about 40% of the image.
    This affirms that Xara, natively, cannot do what the OP asked about.
    The OP cited a web site that demonstrated a transition from bottom of a partially revealed rectangle, which also changed its opacity.

    I mentioned CSS3 transitions; you stated Xara used these. I felt your "trickery" was not a full answer and simply referred back to what the OP seemed to be after in his Post #5.
    You answered his original Post; I was addressing his Post #5.

    Hope we're good,
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

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
  •