Of course, there's one way to do it without altering the XML etc. by modifying your template and using for example 5% of the bottom space for links etc.
But then you lose that 5% from the viewing space of the panorama and I don't want that. :)
Second way would be making a redirect site: like
www.example.com/facebook-redirector.php and there we can do like:
|
Quellcode
|
1
2
3
|
<?php
header('Location: http://www.facebook.com/sharer.php?u='.urlencode($_SERVER['HTTP_REFERER']));
?>
|
etc? (note: that's just an example, haven't tested it. :D
Then you just make your button to the XML and open redirector url from the link? right?