Closed tasmanwebsolutions closed 8 years ago
addImage
appends the placeholder: https://github.com/imsky/holder/blob/v2.9.3/src/lib/index.js#L55
you can do one of several things:
<img>
tag<script>
tag (no $(document).on('ready')
) immediately after opening <body>
<div>
immediately after opening <body>
and use it with addImage
When adding
It adds it to the body in the wrong position should be at top of page
Is there any way to add it into a css link instead like below which I have tried but background image link not working.
I have tried this but no luck the path is correct
<body style="background: url(<?php echo base_url('assets/catalog/javascript/?holder.js/100x380?theme=simple');?>);">
It echos out<body style="background: url(http://localhost/codeigniter/assets/catalog/javascript/?holder.js/100x380?theme=simple);">