ryun / hcaptions Goto Github PK
View Code? Open in Web Editor NEWHover Captions (here in after: HCaptions) is a jQuery plugin that enables you to display caption overlays with cool effects over images, div's, ect..
Hover Captions (here in after: HCaptions) is a jQuery plugin that enables you to display caption overlays with cool effects over images, div's, ect..
Getting following error in Chrome 27.0.1453.94
Refused to execute script from 'https://github.com/ryun/HCaptions/raw/master/jquery.hcaptions.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Hi,
I have a problem with Hcaptions jQuery:The caption exceeds the left and below the image.
Here is my sample page : http://frinz.chez.com/hcaptions/
Does anyone has an idea to solve this problem?
Thanks in advance,
Frinz
Friendly code which unfortunately does not work with the latest version of Safari . It works on Opera, Firefox and Google Chrome . Someone has an idea to solve the bug?
I found that if someone resizes the window, the overlay's width is not recalculated so the overlay no longer covers the entire image.
Actually trying to fix this...
line 135: attr = attrs.item(i)
and in line :
line 150: if (typeof option == 'string') dataoption;
line 151: })
Custom x and y positions eg: I want the hover box to be positioned in such a way that it will be half visible.
Hi,
I don't know if this is the good place for posting this, but I have a small advice if you use the example provided "as is" (and Bootstrap css) and don't see anything, no caption at all.
I spent lot of time wondering why HCaptions was not working for me. You have to remove class="hide" from the caption div, as Bootstrap already uses this class (for hiding, of course).
Hope this will save somebody's time.
Maybe it would be a good idea to change this confusing class in the example provided.
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library ryun/HCaptions
is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json
and change attributes.
{
"name": "ryun/HCaptions",
"version": "1.0.0",
"main": "path/to/main.css",
"description": "please add it",
"license": "Eclipse",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"<dependency_name>": "<semantic_version>",
"<dependency_name>": "<Local_folder>",
"<dependency_name>": "<package>"
},
"devDependencies": {
"<test-framework-name>": "<version>"
}
}
Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.