Skip to content

A simple tool that helps with placeholder images when building a theme

Notifications You must be signed in to change notification settings

themestore/jquery-svg-placeholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

jquery-svg-placeholder

A simple tool that helps with placeholder images when building a theme.

Usage

<!-- include jQuery and the placehold lib -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="jquery.svg.placeholder.js"></script>


<!-- Call the plugin -->
<script type="text/javascript">
  $(function(){
    $('img[data-ph]').tsPlaceHold();
  })
</script>

	
<!-- start using placeholders -->
<img data-ph="250:200" />

<!-- 3rd option is text to be written in image -->
<img data-ph="250:200:content" />

About

A simple tool that helps with placeholder images when building a theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published