Make AddThis Share Buttons Dynamic

Completed Posted Jan 11, 2014 Paid on delivery
Completed Paid on delivery

I have a site that works like a slideshow. A new object is randomly generated off screen and slides onto the page, but the page URL stays the same. Each object has a unique ID and can be linked to individually. I'd like to have an AddThis share button below each object that links to that object's URL, instead of what the current page URL is.

This was previously attempted so I think the code is already quite close to working. This code correctly links to the first object loaded upon visiting the site, but currently doesn't update when new slides are bought on screen.

<div id="addThisBTN_next" style="display:none;"></div>

<div id="addThisBTN" class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url="<?php if($_SESSION['objectName'] !== false){ echo "[login to view URL]".$_SESSION['objectName']."_".$_SESSION['productID'].".html"; } ?>">

...

Thanks

JavaScript PHP

Project ID: #5310068

About the project

10 proposals Remote project Active Jan 11, 2014

Awarded to:

dannyhearnah

Hi, I have integrated AddThis and other social media sharing plugins into dynamically changing content in multiple projects in the past, this will take no longer than 2 hours. (2 hours with testing). If you would li More

$45 USD in 1 day
(6 Reviews)
3.4

10 freelancers are bidding on average $71 for this job

devikagupta

hello sir, i can do your project....please accept my bid that would i start it...i m expert in this type of project...u can also see my portfolio...please sir accept my bid..please hope u will do i m waiting for you More

$72 USD in 2 days
(566 Reviews)
7.5
acer2004sl

Hello, It can be solved right now, FTP will be required for solving that Best Regards ==================================================================================================================== More

$49 USD in 0 days
(263 Reviews)
6.8
frkSuna

Hello Sir, I can do this project right now. I am not going to say that it's a 30 minutes job but.. I could say it will be ready right today. Thanks for reading my proposal, I look forward to hearing from yo More

$55 USD in 1 day
(117 Reviews)
6.0
softechk

Hello, Let's start the work. Can you provide website link where the issue needs to be fixed? Let's check it there. Thanks.

$35 USD in 1 day
(53 Reviews)
5.2
parthuji

Quality work assured Quality work assured Quality work assured Quality work assured Quality work assured

$35 USD in 1 day
(13 Reviews)
4.8
HashimIslamabad

I have three year experience in web development. In which i work on all web technologies Php, HTML, CSS, Jquery, Ajax, Codeigniter and much more. If you consider me for your work I work intelligently and deliver best More

$88 USD in 4 days
(0 Reviews)
0.0