1
conmen80
Please help! Problem in <body onload....>
  • 2006/9/22 7:45

  • conmen80

  • Just popping in

  • Posts: 12

  • Since: 2006/7/5 6


How can I integrated the code <body onLoad="groupList('lists', document.forms[0].category, document.forms[0].site);"> in the custom php page in Xoops?

Please help me as i spent a lot of time dealing with this but it still cant get the result I want...i try put the code into the Themes.html, but useless at all....

THANKS!!!!!

[size=x-small]

<?php
// embed this php block within whole <body> tag included <body>
include("../../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1; //0 - undisplay block on right
?>

<script language="javascript">
var disable_empty_list = true;

function openLink(url) {
if (url != "") {
location.href = url;
}
else {
alert("Please select a site.");
}
}
</script>
<script language="JavaScript" type="text/javascript" src="../libs/chainedselects.js"></script>
<script language="javascript" src="../libs/content_link.js"></script>
<script type="text/javascript">initListGroup('links', document.forms[0].category, document.forms[0].site);</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0"">
<tr>
<td height="102" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" background="../../../themes/prolink new/images/bg_allpage.gif">

[/size]

Login

Who's Online

223 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits