Hi,
I've "inhereted" this website to fix-up that's using SignMe. It was using iframes in the past so all was well. However, we're switching to divs with AJAX loading the content from external files and I'm having some problems with the guestbook.
It all works well when it comes to viewing the entries, but when I click to sign the guestbook or go to the admin area, it ends up opening up a new window instead of staying in the div.
I'm trying to figure out if there is a way to either a) call the ajax function from the php, or b) have a direct link to the sign and administration page.
In case a) my link should look like this:
<a href="javascript:ajaxpage('gb.php/?hash=...&do=a8545ef47b/', 'content')">Sign Guestbook</a>
but I'm not sure how to edit the lilne bellow in order to incorporate this:
echo "<div class='txt'><a href='$me$getvars&do=$submitCmd' target='content'><b>$txtsign</b></a>
In case b) I am not sure how to either split the files into separate sign and view, or not have the "hash" part of the link parameters.
Any ideas/suggestions/solutions??
Thanks in advance!!