The lightweight effects framework for all your mouse adventures.
Simplicity. Adding animation effects to your pages has never been easier or faster. With HoverAlls you can create ToolTips, Scrollers, News Tickers, Captions, Lightboxes, Sliding Panels, Alerts and much more - all by using the same methods and settings. HoverAlls is extremely flexible, allowing you to write HTML however you feel comfortable. Without the need for a specific structure, HoverAlls removes the possibility of wasting time trying to make sense of plugin naming conventions, or lengthy CSS. No knowledge of Javascript, CSS3 or jQuery is required and separate walkthroughs and tutorials are provided for each type of animation effect.
Coordinates. A simple coordinates system makes creating complex Animation Paths easy. A single HoverAlls setting allows you to define the Start, End and Return Positions. ( "coords" : " StartX, StartY || EndX, EndY || ReturnX, ReturnY " ). With specific coordinates, you are in full control over where the animation occurs. You can also define an Animation Path for the Text Element using the "text_coords" setting - the exact same way.
DIV
Classes. Easily setup and configure animation effects on multiple elements at once - then use the data-HoverAlls attribute to customize each effect individually. The two left elements above are images and the two right are DIVs with background images. Weighing in under 10K, HoverAlls may possibly be lighter than writing animation-specific CSS.
Target Containers.A powerful feature of HoverAlls is the ability to select your Target Container. HoverAlls effects don't need to occur on the object being hovered, touched or clicked. The Target Container setting lets you select where the animation occurs. Additionally, the HTML Mode setting allows for injecting your own custom HTML into any HoverAlls effect - and optionally animate it.
Sliding Panels.
Quickly build Login Panels, Tours, Social Media Panels, etc.
You can place your text the same as any other HoverAlls effect, or you can opt to use the HTML Mode setting. Using this setting allows you to build your Sliding Panel by writing HTML however you like, wherever you like. Pass the ID of your code to the setting to have HoverAlls automatically move your HTML into the animation container.
Powerful. Any HoverAlls effect can be triggered by Click, Touch, Hover, Page Load or when Scrolled to a specific element - for unparalleled animation flexibility. All effects and events have been optimized for mobile devices. Version 2.6 adds new features including chainable 2D/3D animations and text crawlers.
Design Faster. HoverAlls is built to decrease production time by making the approach to every obstacle the same. Version 2.6 is a completely re-written free upgrade, introducing some exciting new features as well as full hardware acceleration, responsive animations and a 55% file reduction - possibly making HoverAlls the lightest all-in-one solution.
Below is a demonstration of how to implement HoverAlls on an image.
This is the exact same way to build any other HoverAlls effect — just change the HoverAlls settings to tell HoverAlls what you want.
1. HTML
<img src="../to/image.jpg" alt="Your Caption Text"
rel="http://www.yourlink.com"
class="caption" />
Use the ALT attribute to quickly insert your text and the REL attribute for your link.
2. Call HoverAlls
$('.caption').HoverAlls({
// Sets Animation Path of Container (in %)
"coords" : "StartX,StartY || EndX,EndY || ReturnX,ReturnY",
// Sets Animation Path of Text (in %)
"text_coords" : "StartX,StartY || EndX,EndY || ReturnX,ReturnY",
// Dynamically Assign Class ".myCaption" to Caption Background
"bg_class" : "myCaption",
// Dyanically Assign Class ".myCaptionText" to Caption Text
"text_class" : "myCaptionText"
});
Lightboxes
Creating a Popup is as simple as creating a Caption - and done the same way...
There are additional settings available when creating Modals, Lightboxes or Alerts. This basic modal is positioned using the Coordinates System (like any other HoverAlls effect). Rather than being centered on the screen, it's positioned according to the Start, End and Return Coordinates. If you like, you can use a simple setting to center the modal on screen, but still keep control over the starting position.
Run away!
HTML Mode
This setting will move a block of code into the animation container,
where you can then use the normal HoverAlls Text Animation Settings to manipulate it.
In this example, the effect is defined as a Sliding Panel.
A separate DIV (containing this text and the HTML5 Logo) is added anywhere on the page.
Supplying the ID of this DIV to the HTML Mode setting automatically moves it into the animation container.
Optionally write HTML anywhere on the page, then inject it into any HoverAlls Animation for advanced effects. Quickly add text and links using the "hv_link" or "hv_text" classes as shown below.
1. HTML
<div id="injectHTML">
<p class="hv_text"> Animate this text too! </p>
<a class="hv_link" href="http://www.yourlink.com"> Link </a>
</div>
2. Call HoverAlls
$('.panel').HoverAlls({
// Define Animation as a Sliding Panel
"mode" : "panel",
// Sets Animation Path (in %)
"coords" : "StartX,StartY || EndX,EndY || ReturnX,ReturnY",
// Move the Above HTML into the Sliding Panel
"html_mode" : "#injectHTML"
});
Turn this into a Tooltip using ("mode" : "tooltip").
Effortlessly convert the HoverAlls Text into a Scroller (inside any effect) by simply adding ("ticker_mode":true)