View Single Post
Old 05-11-2004, 11:36 AM   #2
RaGe
Green Mole
 
Join Date: Apr 2004
Posts: 12
It appears all i need is a sniplet of script to add to search_functions.php that will allow for a new tag in the html template called <phpdig:"whatever"/> that will call the java code below

This code works "perfectly" in the php header or footer, but not when added to the html template:




<script language="javascript">
<!--//

var keyword="<? echo $query_string; ?>"


// *** DO NOT EDIT BELOW THIS LINE *** //
//-------------------------------------//

document.write("<sc" + "ript language=\"javascript\" src=\"http://www.example.com/adr/index.php?section=serve&action=1&q=" + escape(keyword) + "\">");
document.write("</sc" + "ript>")
//-->
</script>

If we can make this Java called as a tag in the html template we have this issue resolved
RaGe is offline   Reply With Quote