Hi folks!
I'm having some trouble with my users not being able to get a script working. It's a script where a user has to click an add to activate a link for a download.
It was working fine until a week ago, and after that users have had alot of trouble getting the script to work.
It looks like this:
The included file looks like this:Code:<script language="javascript"> function activateLink(obj){ myDiv=document.getElementById(obj); myDiv.innerHTML='<a href="'+myDiv.attributes["value"].nodeValue+'" target=_blank>'+myDiv.innerHTML+'</a>'; } </script> <div id=link2>[include file="ad1.php"]</div><p> <div id=link1 style="font-family: impact; font-size: 28px;" value="http://#/wp-content/plugins/download-monitor/download.php?id=79">Ladda Ner</div></p>
If you want to see the code active, visit http://www.designadinblogg.se/gratisdesign/?p=659 and click on the ad (Aha-bingo.com).Code:<a href="#" onclick="activateLink('link1');" target="_blank"><img src="#/wp-content/uploads/2011/04/103381.jpg" alt="Klicka här" border="0" /></a>
When you click it, the download link (Ladda Ner) will be activated.
Is there a way to modify the script, or just to get it to work at all times?


Reply With Quote

Bookmarks