Giter Club home page Giter Club logo

textholer.js's Introduction

TextHoler.js

Use this JQuery plugin to make your text like a hole in the page

You can find a demo page with some examples here

This is the result

Basic example

This is a basic usage example providing only an URL/path to locate the image

The result of this example is the image above

HTML markup

<span id="test">TEXT HOLER</span>

jQuery

$('#test').textHoler({
	background: "http://i.giphy.com/fnMmGzRnQD6Ny.gif"
});

Available Options

These are the available options with the default values

color: "transparent",
size: "48px",
family: "arial",
repeat: "repeat",
weight: 700

NOTE: backgroud option is required! If you don't provide any background image the plugin doesn't work and it will log to console "Damn! I need an image to use for the background!" message.

textholer.js's People

Contributors

diegodalbosco avatar

Stargazers

Petar Stoyanov avatar Arash Farahmandi avatar Johannes Lamers avatar Vahid Mohammad Taheri avatar Erhan Aydın avatar  avatar Naoki Kanazawa avatar Shun Yamaguchi avatar maitokuwahara avatar Takuhito Fujita avatar Marcel Yang avatar  avatar Rohit Trivedi avatar  avatar Carabineiro avatar Eric Ting avatar  avatar

Watchers

James Cloos avatar Carabineiro avatar  avatar

textholer.js's Issues

code not work

HTML markup

<span id="test">TEXT HOLER</span>

jQuery

$('#test').textHoler({
    background: "http://i.giphy.com/fnMmGzRnQD6Ny.gif"
});

code not work only show gif

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.