samedi 27 juin 2015

open javascript, when clicked, in the parent window

Is there an easy way to make the links in this javascript code open, upon being clicked, in the parent window?

Every example i can find, talks about href, and I don't see how to use that in this code.

<div class="dp-widget" data-dpw="8"></div>
<script type="text/javascript" src="//static.example.com/js_c/widget-ext.js?mt=c"></script>
<script type="text/javascript">
(function(){
    new dpw({
    "format":"div",
    "trackingLink":"http://ift.tt/1LNN4DN",
    "feedtype":"categories",
    "categorylist":"29",
    "theme":"transparent",
    "background":"transparent",
    "photo":true,
    "vector":true,
    "video":true,
    "sort":"1",
    "thumbsize":"110",
    "feedwidth":"200",
    "feedheight":"100",
    "searchBar":true,
    "preview":true,
    "responsive":true,"wid":8,
    "lang":"en"
    }).init();
})();
</script>

Aucun commentaire:

Enregistrer un commentaire