Build a Website
$10-30 USD
Paid on delivery
Website: [login to view URL]
Site Test Account [login to view URL]
Username: seb123
Password: aaaaaaa
Details page for test account: [login to view URL]
--- data-out="{$username}" tag doesn't work on copy ip buttons. ---
We want to track the number of clicks that the button gets, so our users can see how many times it has been clicked.
Here is picture explaining what should happen : [login to view URL]
NOTE:
- This button is also located on the homepage, and in /details/{$username}. It must work (add +1 to counter) on both buttons.
- We do NOT want the users website to load/open like the URL does when the button is pressed. The URL link is simply an example of the system working.
The URL code looks like this:
<td><a href="{$url}" title="{$title}" rel="nofollow" class="count-out" target="_blank" onclick="out(this,'{$username}');">{$url}</a></td>
The javascript thats running :
<script type="text/javascript">
function out(link,username) {
out_url = '{$list_url}/[login to view URL]' + username+'&go=1';
[login to view URL] = out_url; // For browsers that don't support setAttribute
[login to view URL]('href', out_url);
}
</script>
I want this to run when the button is clicked. I want a +1 to be added to User Control Panel for each users stats when thier button is clicked. Using the data-out="{$username}" so I can customise in the future. I do NOT want the URL to load when the button is pressed, the URL should ONLY load when the URL is clicked.
Any questions ask.
Project ID: #12576533
About the project
4 freelancers are bidding on average $25 for this job
Hello Friend, i can do your job, i really like sites from minecraft, i hope work for you, please contact me in a chat or hire me if you need something
Hello sir,/madam! I've just seen your job offer and because of my skills in web design/development I'm pretty sure that I'm able to make it done with the best quality and price! However, I will require more informati More
i have 4 years experiance in PHP , HTML , JavaScript ,AJAX,XML ,CSS ,Android also . so i can handle this task easily , feel free for discussion , its my 1st bid in freelancer :)