$TEMPLATE["PAGES"]["PAGE"] = <<<EOF
<P><A HREF="[PAGE_URL]"><B>[PAGE_TITLE]</B></A><BR>
[PAGE_DESCRIPTION]<BR>
[PAGE_URL]<BR>
<table width=100 border=0>
<tr>
<td><div align=center><a href="[PAGE_COMMENT]" onMouseover="tip('View Comments')";
onMouseout="hidetip()"><IMG BORDER=0 SRC="images/icons/comment.png"></A></div></td>
<td><div align=center><a href="[PAGE_ID]" onMouseover="tip('Click to view<BR> [PAGE_TITLE] <BR> Briefcase')";
onMouseout="hidetip()" onClick="return overlay(this, 'subcontent2', 'middlebottom')"><IMG BORDER=0 SRC="images/icons/briefcase.png"></A></div>
ok
this is part of my template file for a dir structure.
it runs through a loop gathering all the ads.
now when you click a link a div overlay shows up.
inside the overlay it has a small 5-button navigation
each link has a [PAGE_ID] which comes from the database.
Now How can I carry over [PAGE_ID] to the div overlay?
I mean when a link is clicked how can I carry over the page id.
How do I embed the [PAGE_ID] into the onclick statement?
do you need to see this in a working environment?