PDA

View Full Version : bit of HTML


jes
11-22-2002, 02:41 PM
When I go to my webpage ( www3.sk.sympatico.ca/ajohn ), my browser tells me that there are errors on that page but it doesn't say what those errors are. I created that page with M$ Frontpage in the first place, so how can there be errors?

Ghost_Hacker
11-22-2002, 03:57 PM
Possible because the web server doesn't support the Frontpage extensions used by Frontpage. (I never use Frontpage extensions on the web servers I build. Too big a security risk.)

david eaton
11-22-2002, 03:58 PM
Hi Jes. The error message is from a javascript that is called from your page. From the look of the source code, it seems to be the ad script supplied by your host.

I'm afraid that using Frontpage does not guarantee that the resulting page will not contain HTML erros either. It does not always generate "clean" HTML, and sometimes uses tricks and "features" of IE to do things that break if the page is viewed with another browser.




Edit Yoda snuck in while I was looking at your page! And he's right too!


David

jes
11-22-2002, 04:11 PM
I trimmed it a bit to this:

'<head>
'<title></title>
'</header>
'</head>

'<body onUnload="spawntopfivewindow();"
' bgcolor="#ffffff" background=""
' text="#000000" link="#000000" vlink="#000000">
'<p align="center">
'<script language="Javascript" 'src="http://www.fortunecity.com/js/adscript.global.new.js">
</script><a href="http://WWW.HOTMAIL.COM"><img border="0" src="file:///C:/My%20Documents/My%20Webs/hotmail.bmp"></a>

<center>
<P align="center">
<basefont size=3>
<a href="http://www.davesite.com/webstation/html/">- HTML -</a>
<a href="http://www.theweathernetwork.com/">- WEATHER -</a>
<a href="http://www.britannica.com/">- BRITANICA -</A>
<A HREF="http://mappoint.msn.com/">- MAPS -</a>
<a href="http://www.brandon.com/entertainment/movies.html">- BRN. MOVIES -</a>
<a href="http://www.brandon.ca/">- CITY OF BRANDON -</a><p>

<center>
&nbsp;
<a href="http://www.amazon.ca">- AMAZON -</a>
<a href="http://www.seenit.com/">- SEENIT -</a>
<a href="http://www.visualbasicforum.com">- VB FORUM -</a>
<a href="https://www1.royalbank.com/cgi-bin/rbaccess/rbunxcgi?F6=1&F7=IB&F21=IB&LANGUAGE=ENGLISH&F22=IB&REQUEST=VisaLink">- VISA -</a>
<a href="https://www4.memberdirect.net/cucs/login.jsp?inst=/sk/220">- CU -</a>
<a href="http://www.ingdirect.ca">- ING -</a>
<a href="http://www.paypal.com">- PAYPAL -</a>
<a href="http://www.ebay.ca">- EBAY -</A><p>

<a href="http://www.dvdhype.com/">- DVD HYPE -</a>
<a href="http://www.happyhacker.org/">- HH -</a>
<A href="http://canada411.sympatico.ca/">- CANADA 411 -</A>
<a href="http://www.pcguide.com/vb/">- PC GUIDE -</a>
<a href="http://www.lyrics.com/">- LYRICS -</a>
<a href="http://www.download.com">- C/Net -</a>
<a href="http://www.clipartconnection.com/">- CLIPART -</a><p>

<a href="http://www.override.ca/">- OVERRIDE -</a>
<a href="http://www.cse-cst.gc.ca/en/about_cse/about_cse.html">- CSE -</a>
<a href="http://www.csis-scrs.gc.ca/eng/menu/welcome_e.html">- CSIS -</a>
<a HREF="http://www.jointheforces.com">- CDN MILL -</A>
<a href="www.brandonjobs.com">- BRANDON JOBS -</a>
<a href="http://jb-ge.hrdc-drhc.gc.ca/Intro_en.asp">- CANADA JOB BANK -</a><p>

<center>
<a href="http://www.dogpile.com"><font color="blue">- DOGPILE -</font></a>
<a href="http://www.google.com"><font color="blue">- GOOGLE -</font></a>
<script language="Javascript">
<!--hide

var my_clientip = '142.165.67.165';

setonclickmethods();
setvisitorcookie(my_clientip);
if(brmvars != '') {DisplayBRM(1);}

// e = getfclocale();

// -->
</script>
</center>
</center>
<p align="center" style="line-height: 100%"><a href="http://briefcase.yahoo.com"><img border="0" src="briefcase.jpg" width="64" height="56"></a></p>
<p align="center" style="line-height: 100%">&nbsp;</p>
</center>
</body>
</html>

That was a mess. Ignor that.
Not sure what to take out from here...

Ghost_Hacker
11-22-2002, 04:13 PM
I think the error is coming from the location of your picture file. (there is no "C" drive on this server or the one hosting your site.)


EDIT Naw, that isn't it. :)

EDIT #2 I think your error is in here:

<script language="Javascript">
<!--hide

var my_clientip = '*.*.*.*';

setonclickmethods();
setvisitorcookie(my_clientip);
if(brmvars != '') {DisplayBRM(1);}

// e = getfclocale();

// -->
</script>



Note that the hide function only works on some browsers.

jes
11-22-2002, 04:52 PM
I took that part out. IE6 doesn't report the error anymore but FrontPage does.

Whyzman
11-28-2002, 11:59 AM
Ghost,

What is your preferred web development software?

Ghost_Hacker
11-30-2002, 08:52 AM
Dreamweaver 3, but I just dabble in web page design. :)