Support » Plugin: iTunes Lookup Widget » A Href targets

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author ollybach

    (@ollybach)

    Hi,

    this has not been implemented (yet anyway).

    as a quick fix, you could add the following to any of your themes js files.

    jQuery(document).ready(function($){
    	$(document).on('click', '.ilw-ini>div>ul>li>p>a,.ilw-ini>div>ul>li>p>span>a,.ilw-tracklist>p a,.ilw-tracklist>div>ul a', function(e){
    		e.preventDefault();
    		window.open(this.href);
    	})
    })

    i haven’t thoroughly tested this , but give it a go.
    if enough people want this feature, I’ll update the plugin and make it a selection in the settings.

    hope that helps, but let me know if you need more

    olly

    This doesn’t seem to work. I just copy-pasted the code above into the ‘functions.js’-file that came with the Theme I’m using. Is there anything else I can try?

    Tnx!

    Plugin Author ollybach

    (@ollybach)

    what theme are you using ?

    I’m jusing Inovado:
    http://inovado.mintithemes.com/

    Plugin Author ollybach

    (@ollybach)

    i’ll see what i can do. bear with me for a day or so (or maybe even later today)

    Take your time, it ain’t urgent. And many thanks in advance!

    Plugin Author ollybach

    (@ollybach)

    thanks.

    i might just put that into an update of the plugin in the next few days.
    seems to be a better way of doing it than trying to come up with a hack based on an individual theme

    ….

    That would be wonderfull! You’ll get a 5-star rate, for sure!

    Plugin Author ollybach

    (@ollybach)

    Hi,

    version 0.5 should now allow you to open links in a new window (under affiliate settings)

    whilst doing this i actually did quite a bit of a tidy-up. I don’t think there should be any problems updating (i have tested it quite a bit) but if you find any issues, let me know.

    also, regarding the open links in new window issue that started this thread, there are different ways of doing this, so if you have problems , let me know. It’s easy to change to another way

    hope that helps

    Works like a charm, tnx very much!

    Plugin Author ollybach

    (@ollybach)

    good stuff….do i get a rating then ? 🙂

    I just gave you a 5-star rating! 🙂

    Plugin Author ollybach

    (@ollybach)

    thanks
    appreciated – makes me feel all warm and fuzzy…… 🙂

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘A Href targets’ is closed to new replies.