Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a Raphael.js paper object with various elements in it and I would like to save it's state in a database in some text format and then re-instantiate it later. I know I can accomplish this if I simply keep a record of what I've added to it and what attributes I have set. Is there an easy way to do this?
Doesn't Raphael just use svg? If so, you could just save and reinsert the svg content into the dom.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am working on an idea where we we need a editable text field in GIF or any other image format where we should be able to change the content from background even after the Gif is generated and shared. is there any way to do it?
No, GIF is a simple image file format which also allows for simplistic animation by changing the image. It doesn't have support for anything more complex. Editable fields are well handled with HTML and forms so images don't need to do that and you're unlikely to find such "images" as they're not images any more.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'd like to use HTML, CSS, and JavaScript to create a menu that looks like so:
Each Chapter has a little "node" to the left of it that when clicked would bring the user to that chapter's dedicated web page. Is this something that could be done using canvas elements in HTML?
You could create the images for the bullets and then use the list-style-image property when styling list. You can then use JavaScript to keep track of the state. Assign the appropriate image based on what the user has clicked.
If you need a sample of the code to get this working let me see how far you get then I can add pointers.
CSS list-style-image
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I wanted to have animation on my content i searched whole day and got something to work on it.I used same technique as they used everything is seems same still when i scroll my website there is no animation on content after slider.
Demo example
My website
Looks like you're missing the imagesloaded.js file used in the example. You need to reference this script in your code.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Does anyone have a simple solution to extract frames from a gif using javascript?
I know some online tools like Ezgif and Gif-explode, but I'm wondering if this is also possible using just javascript?
For a client-side solution I'd recommend to have a look at libgif-js.
It allows to step to a specific frame in the GIF and you could then use the Canvas API to capture a single frame by drawing the image to the canvas and then getting the Data URL.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I wasn't sure if this question has already been asked before but I was wondering how you produce the interactive dotted text and the running tiger animation you see in the middle of the run4tiger website?
http://run4tiger.com/
Any information would be appreciated.
They are using canvas elements to achieve this.
The canvas will catch the mouse over events and then react accordingly.
The loading tiger screen was drawn using SVG.