Hello. There was a small question. It is necessary to track the click on the link and after the click perform a specific function.
The code was written this way; in the opera, he does his own thing perfectly, but in Mozilla and chrome he does not understand some of the links, although the sample is based on the href attribute.
The links themselves are loaded from the js library (advertising banner rotation).
var link = $('a[href*=marketgid]'); $(link).click(function(){ //Π·Π°ΠΏΡΡΠΊ ΠΊΠΎΠ΄Π° ΠΏΠΎΡΠ»Π΅ ΠΊΠ»ΠΈΠΊΠ° });
An example of the generated link that the user sees.
<a href="http://marketgid.com/ghits/1657363/i/765/0/pp/1/6/k/?k=25898faSMTM1NTYwNTY0NjU5MDI1ODk4NjY1fbSMThifcSMTNiYTA2NDljZmU%3DfdSMTNiYTA2NGJlMDE%3DfeSfgSZmI%3DfhSMTE3fiSZTM%3DfjSfkSYzE%3DflSfmSZGQ%3DfnSY2E%3DfoSfpSMTE3fqSMjA%3DfrSfsSaHR0cDovL3BpcmF0Y2EvYWRzLnBocA%3D%3DftSaHR0cDovL3BpcmF0Y2EvYWRzLnBocA%3D%3DfuSfvSNGI%3DfwSZmI%3DfxSMWZifySZTI%3DfzSMWE0" target="_blank" style="display: block;" rel="3"><img class="mcimage765" width="200" height="200" src="http://imgg.dt00.net/1657/1657363_vb.jpg"></a>