PDA

View Full Version : where can I post a image in a script



Swallow
16 Feb 2012, 12:09 AM
I have for example this script, but where exactly must I place the images in this rollover.
Can an answer be placed in color?


</style>
<script type="text/javascript">
(function(){
var bsa = document.createElement('script');
bsa.type = 'text/javascript';
bsa.async = true;
bsa.src = '//s3.buysellads.com/ac/bsa.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);
})();
</script>
<!-- END BuySellAds.com Ad Code -->
</head>
<body>
<p><a href="#?custom=true&width=260&height=270" rel="prettyPhoto">Open ads</a></p>

<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
custom_markup: '<div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1252239" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
changepicturecallback: function(){ _bsap.exec(); }
});
});
</script>
</body>
</html>

Swallow
19 Feb 2012, 02:19 PM
Unfortunately I received no help, I'm now in a other way solved.