Hi,
I keep getting this error on one of my pages :(
Source File: javascript: loadPage(11,'Architecture','ACU')
Line: 1
The HTML in question is;
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title></title>
</head>
<base target="main">
<link rel=stylesheet href=style.css type=text/css>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<script language="JavaScript">
function loadPage(catID,fullName,Site) {
var ContentUrl = top.frames['main'].location;
var objRegExp = /do=move_link/;
alert("Running loadPage, URL: " + ContentUrl);
}
</script>
Working on: <b>domain.com</b><br>
<script language="JavaScript" src="/submit/tree/tree.js"></script>
<script language="JavaScript" src="/submit/tree/menu_ACU_0.29022216796875.js"></script>
<script language="JavaScript" src="/submit/tree/tree_tpl.js"></script>
<link rel="stylesheet" href="/submit/tree/tree.css">
<script>
function do_move(url,name) {
if (confirm('Are you sure you want to move to ' + name + '?'))window.location.href = url;
}
</script>
<script language="JavaScript">
<!--
new tree (TREE_ITEMS, tree_tpl);;
//-->
</script>
<div id="loadingdiv" name="loadingdiv" style="display: none;">
<br/><marquee><font color="red"><span style="font-weight: 700; background-color: #FFFF00">LOADING...</span></font></marquee><br/>
</div>
<b><font>Change Site:
...stuff here...
</body></html>
Absolutly everything else works,except when clicking a link like so;
javascript: loadPage(11,'Architecture','ACU')
... anyone see where I'm being dappy?
TIA
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
I keep getting this error on one of my pages :(
Quote:
Error: loadPage is not defined Source File: javascript: loadPage(11,'Architecture','ACU')
Line: 1
The HTML in question is;
Code:
<html> <head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title></title>
</head>
<base target="main">
<link rel=stylesheet href=style.css type=text/css>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<script language="JavaScript">
function loadPage(catID,fullName,Site) {
var ContentUrl = top.frames['main'].location;
var objRegExp = /do=move_link/;
alert("Running loadPage, URL: " + ContentUrl);
}
</script>
Working on: <b>domain.com</b><br>
<script language="JavaScript" src="/submit/tree/tree.js"></script>
<script language="JavaScript" src="/submit/tree/menu_ACU_0.29022216796875.js"></script>
<script language="JavaScript" src="/submit/tree/tree_tpl.js"></script>
<link rel="stylesheet" href="/submit/tree/tree.css">
<script>
function do_move(url,name) {
if (confirm('Are you sure you want to move to ' + name + '?'))window.location.href = url;
}
</script>
<script language="JavaScript">
<!--
new tree (TREE_ITEMS, tree_tpl);;
//-->
</script>
<div id="loadingdiv" name="loadingdiv" style="display: none;">
<br/><marquee><font color="red"><span style="font-weight: 700; background-color: #FFFF00">LOADING...</span></font></marquee><br/>
</div>
<b><font>Change Site:
...stuff here...
</body></html>
Absolutly everything else works,except when clicking a link like so;
javascript: loadPage(11,'Architecture','ACU')
... anyone see where I'm being dappy?
TIA
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

