Fabric js overlay text in custom controls - javascript

I implemented an application based on Fabric js, and I changed default controls (normal squares) with custom images and functions (as remove object, etc.), modifying fabric code.
It works fine, but I want to add an overlay message explaining what does each control when you stay over the control 1 or 2 seconds.
It´s possible? If the answer is yes, How could implement this feature?
Thanks in advance.

I have updated your fiddle. i have added "Fabric js Custom Controls" to one label and i have done code in JavaScript at the end on mouse over and i have set timeout for 500 milliseconds so user will get alert on mouse over of that label, same thing you can do in fabric js custom images. I have done code as follow:
$('#demo').on('mouseover',function(){
setTimeout(function(){alert("Hello")}, 500);
});

Related

WP / Rev Slider / particles.js

we are using the Revolution Slider and wordpress, both in newest versions.
Actually we want to set this : http://vincentgarreau.com/particles.js/
as a background animation.
We used the code snippet you get when you hit code pen in the upper right corner.
The html part was added as a layer.
css and js part were added to the custom css / custom javascript field in the slider settings.
The problem:
When the page starts nothing happens. No animation appears. If I hit the area with a right click and press q (in firefox) the animation starts to work.
So I guess it is about a loading issue!?
Can anyone imagine a solution with the given base?
Regards,
Chris
Do you check your console? How have you integrated the script? After testing, it works for me. The piece of javascript must be placed at the end of the page, or create a function wich starts when page is loaded.

zoom only the clicked part of image JQuery

I am trying to get the image zooming effect using JQuery.
I have only one image that is of higher resolution, When i click any part of that image, i want to get the zoomed view of that part.
For example, i have one computer monitor image.Now if i click the button of monitor on image, the button should get zoomed.
I tried using this
http://jaukia.github.io/zoomooz/ but it is zooming the whole element.
How can i do this? are there any JQuery plugins available?
Maybe this is more what you are looking for? http://www.jacklmoore.com/zoom/
For example, i have one computer monitor image.Now if i click the button of monitor on image,
the button should get zoomed.
This type of functionality cannot be obtained/achieved by using zoomooz plugin.It zoom the entire element in the container.
There are many plugins as per ur requirement:
1)http://www.jacklmoore.com/zoom/
2)http://plugins.jquery.com/tag/zoom/ multiple jquery plugins are here
3)http://www.elevateweb.co.uk/image-zoom
Try this jqzoom
But it zoom on hover
jQuery zoom plugins
zoom.js is also a good option. Here is the demo of that plugin.
If you are intrested in here is the source code

Appcelerator Titanium Slider

I am new to the whole Appcelerator world so I had a question:
Anybody is aware if appcelerator titanium provides slider functionality similar to this screenshot?
If not, what would be the first docs to look at?
No need for fancy animation or anything, just simplest transition.
I just need basic slider for titanium that has slide selectors looking like small circles (or something I could modify or adjust to custom needs).
Also, yes I'll use this as a startpoint
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Slider-object
But the page doesn't have screenshots of how the slider object looks and acts.
You want the ScrollableView control, with the paging component enabled.
http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.ScrollableView-object
For displaying such kind of progresbar or slider u have to create custom view and inside that custom view put as many as dots images as you have photos and just scrolling of each photos change dots image as per e.current / e.views ...
and set previous image to default image. and make it touch enabled = false.
ScrollableView control, with the paging.
link

How do I Google Plus and Facebook Demo opacity Javascript?

Recently Google+ and Facebook have added a nice feature that when a user first logs in and there are new features available it displays it as a demo mode of some sort highlighting the element in question and darkening or changing opacity on the rest of the screen as a means to focus on that element. It also shows step by step tooltips for the demo.
Does anybody know of an open source script or jquery plugin that does this already?
They basically block the UI and show an overlay on top of the whole page. You can try jQuery blockUI plugin it will help you block the page and then you can show an overlay on top of it.
http://plugins.jquery.com/project/blockUI
I don't know of one, so I made one: http://jsfiddle.net/minitech/A9AAa/
It's pretty simple, call spotlightOn and pass the element on which the "spotlight" should "shine" as an argument. Call spotlightOff to turn the spotlight off.
It should degrade gracefully.

JQuery Apple like slider

I have a question related to a JQuery topic. I am using a JQuery slider, as shown in this link
The navigation is controlled by the thumb images. Now I would like to create a link underneath the slider to control the scrolling images. I would like to change the position of the main picture, and the thumb picture position as well, what is used to navigate. Is it possible with a javascript; or do i need to configure a whole new event in my Jquery?
Thanks !
Find here and setup code

Categories

Resources