BOARDS

planetluc.com discussion board

all about the planetlu.com scripts

You are not logged in.

Announcement

I had to clean the boards due to massive spam. Actually i deleted everything /-one after 1st Oct 2008. It was the only way to get this spam out of the boards. So i'm sorry for all serious users who registered/posted meanwhile.

#1 07-06-2009 00:21:27

cogevint
New member
Registered: 07-06-2009
Posts: 1

load SignMe in div

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!!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

 
 
© 2003-2010 by planetluc.com · Bachtelstrasse 104 · CH-8400 Winterthur | Support | Login |