Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8356799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:17:22+00:00 2026-06-09T10:17:22+00:00

I have a Raphael paper containing multiple sets. Each set has a rect, a

  • 0

I have a Raphael paper containing multiple sets. Each set has a rect, a path above the rect and two texts one of which is invisible and the other is inside the rect.
I wanted to change the cursor when mouse hovers over the entire rect (including the text). If I use different event handlers for text and rect and change the cursor in both to the same value, it shows a flicker for mouseout of text. This flickering makes the mouseover not so smooth.

I want to make the cursor change to hand when mouse is over the entire set.once in the cursor changes and does not flicker till the rect bounday is crossed again.

Please help me if you have any solutions
Kavita

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T10:17:24+00:00Added an answer on June 9, 2026 at 10:17 am

    Assuming you want the hover affect over the entire set which includes your rect, your path above the rect and the two texts…

    var container = $(id to your Raphael container);
    var yourSet = paper.set();  //assuming you have pushed all four elements into your set....
    yourSet.mouseover(function(){
            container.css('cursor','pointer');
    }
    yourSet.mouseout(function(){
            container.css('cursor','default');
    }
    

    Hope it helps you out ….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code in Raphael: var myrect = paper.rect(10,10, 25,25); The rectangle appears.
I have a script that has a few timeouts, draws a menu using Raphael
I'm banging my head against a wall with this one. I have raphael js
I have path that I then draw with Raphael JS . Code looks like
I have a problem with Raphael.js. I want to rotate the compassScale - set
I have a set of animated Raphael SVG elements. I am adding new elements
I'm just learning now the Raphael.js. I have ONE questions: I have an image
I have a set of path elements that I'm trying to scale with animation.
I have an Raphael element with click event handler: var paper = Raphael(container, 770,
I have used raphael js for drwaing my flowchart in internet explorer 8. Now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.