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 8979825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:56:08+00:00 2026-06-15T19:56:08+00:00

I have created a vector graphic using Raphael JS – specifically a circle. I

  • 0

I have created a vector graphic using Raphael JS – specifically a circle.

I would now like to use this circle as the letter “O” in a title. It is also a circle that will animate upon click. I would like to know if this is at all possible.

Here is a fiddle to explain better what I’m trying to say.

The html is very simple:

<h2>N<span id="canvas_cont"></span>OTRE APPROCHE :</h2>

Here is the jsfiddle

Basically the circle will act as the second letter in “Notre”, and when clicked will move to the right of the screen. Other things will happen after, but this effect is what I’m trying to get….

  • 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-15T19:56:09+00:00Added an answer on June 15, 2026 at 7:56 pm

    Placing the Raphael canvas in a span is clever, but at the end of the day I suspect you’ll regret mixing native HTML with Raphael in this way. Doing so would probably require a lot of absolute positioning and z-indexes that are better handled and supported in Raphael.

    I recommend you simple draw the text in Raphael:

    var text = r.set();
    text.push(
        r.text(10,20,"N"),
        r.text(70,20,"TRE APPROCHE :")
    );
    text.attr({
        'text-anchor': 'start',
        'font-size':'36px'        
    });
    

    If the SVG/VML styling is inadequate, you could also just use an image. Again, I would recommend placing that image on the canvas using Raphael (paper.image());

    Note that, in the updated fiddle, I made the canvas a div the width of the logo.

    Updated fiddle.

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

Sidebar

Related Questions

I have some vector graphic files in XAML format and I would like to
I have created a JPQL like this: select sum(c.field1) field1, sum(c.field2) field2, sum(c.field3) field3
I have created a vector containing zeros and 1's using the following command in
I have created a vector of sets in my program, and I need to
I have a vector for storing the pointers of all objects (created by new
I have a vector that I want to use to create a heap. I'm
So I have created a nested template (a map of vectors) using stanford's CS106
I have created a collision class to detect collisions using pixels. In my class
I would like to swap in an std::vector as a function parameter, so that
I have created a BST full of WordInfo objects that have a vector to

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.