problem weil blind oder so...
Ole
- javascript
hi
hab ein kleines problem mit meinem framebreaker den ich von <javascript.internet.com> gezogen habe.
eigendlich hab ich gedacht sieht das sooooo einfach aus, aber irgendwie hab ich mich als zu blöd erwiedsen das teil in meine seite einzubauen.
hier erstmal die framesource:
<html>
<head>
<title>Aloe Vera</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var table_of_contents = "herzlich_willkommen.htm"; // change to your default frame page
var blank = " "; // blank page
var content = (location.search) ? location.search.substring(1, location.search.length) : table_of_contents;
// if query string ('?' after URL) set content variable to what follows the '?'
// otherwise, start fresh by setting content variable to table_of_contents page
function fillFrame()
{
parent.main.location.href = content;
}
// End -->
</script>
</head>
<frameset rows="125,*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame name="topFrame" scrolling="NO" noresize src="main.htm" >
<frameset rows="*,26" cols="*" framespacing="0" frameborder="NO" border="0">
<frameset rows="*" cols="142,*" framespacing="0" frameborder="NO" border="0">
<frame name="leftFrame" scrolling="NO" noresize src="navi.htm">
<frame name="mainFrame" src="javascript:parent.blank" onLoad="fillFrame();">
</frameset>
<frame name="bottomFrame" scrolling="NO" noresize src="navi_unten.htm">
</frameset>
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000" link="#DB0022" vlink="#DB0022" alink="#DB0022" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
</body></noframes>
</html>
der netscape debugger liefert mir folgende fehelrmeldung:
Error: parent.main has no properties
Source File: http://aloevera.veloxsite.de/index.htm
Line: 18
und der IE spricht von 'parent.main.location' ist Null oder kein Objekt.
wo liegt den nun mein blöder fehler?
thx
so long
ole
(8-)>
Hallo,
ich seh bei dir keinen Frame der Main heißt...
Odium
hi
ich seh bei dir keinen Frame der Main heißt...
*argl*...ich bin ja sooooooooo blind *ärger*
danke
so long
ole
(8-)>