PDA

View Full Version : inserted html not working - help


HelpHtml
07-30-2002, 12:15 AM
Two problems

1 - I have carefully (followng all instructions to the letter) nserted the html for Cursor Trail Text. But, it does not work. I am using Frontpage. On my Frontpage it works. But when I publish the page tot he web it does not. What should I do, or what is it that I am doing wrong.

2 - I have carefully (followng all instructions to the letter) inserted the html for the date, month day year software. But, it does not work. I am again using Frontpage. On my Frontpage it works. But when I publish the page tot he web it does not. What should I do, or what is it that I am doing wrong.

boxer_1
07-30-2002, 12:56 AM
Make sure your paths are correct (the necessary files are uploaded to the proper directory). Could you post a link to the page you've uploaded where you are having these problems?

HelpHtml
07-30-2002, 01:06 AM
here are the links -

1 - http://soteriadistribution.com/8.htm - cusor problem


2 - http://soteriadistribution.com - date problem

Tonz
07-30-2002, 03:20 AM
Curser Trail Text problem....


You have a problem with the page layout.

You start the code with the following....

*******************************
<head>
<title>SOTERIA DISTRIBUTION, INC.-Spreading the Good News</title>
<meta HTTP-EQUIV=Pragma CONTENT=no-cache>
<meta HTTP-EQUIV=Expires CONTENT=Thu, 1 Jan 1970 01:00:00 GMT>

********************************
NOTE: No <html>

Then way down the page on line 257 you have


**************************

<html><head><metahttp-equiv="Content-Type"content="text/html; charset=windows-1252"><meta name="GENERATOR"content="Microsoft FrontPage 4.0"><meta name="ProgId"content="FrontPage.Editor.Document"><title>New Page 2</title>


******************************


With a whole pile of html inbetween.

Get rid of the head tags above and move everything up to the top of the page.

Then move all the script that belongs inside the "head" section to the top also.

You also have two <body> tags, both with an onload function, the second is not even closed. Delete the second one and use this in place of the first

<body topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' onLoad="'puller();makesnake()">


See how things work from there.


Tonz

:cool:

Tonz
07-30-2002, 03:33 AM
Date problem...


Same thing.



Tonz

Tonz
07-30-2002, 03:47 AM
BTW

HTML basics (http://hotwired.lycos.com/webmonkey/authoring/)

And too many words in your meta tags repeat, this will push you down the list on some search engines.

Try here (http://www.gomasonry.com/webmaster/meta_index.shtml)


Tonz:cool:

welo
07-30-2002, 08:33 AM
On the flip side, you have some nice looking pages, especially considering they're FP built. You might want to take a look at the filesizes on a couple of those graphics. Switch to jpegs and start applying compression. 32k is too much for a 500X55 image. Very nice though!

HelpHtml
07-30-2002, 09:58 PM
Thank you Tonz.

I am still trying to incorporate your recommendations. However, now I am getting the following error on each of the pages of the website -

Line: 6
Char: 3
Error: Syntax error
Code: 0
URL - http://soteriadistribution.com/disp.htm

and I am also getting these additional errors on prev8.htm

Line: 109
Char: 1
Error: Syntax error
Code: 0
URL - http://soteriadistribuiton.com/prev8.htm

Line: 8
Char: 254
Error: Expected ','
Code: 0
URL - http://soteriadistribuiton.com/prev8.htm

How do I get rid of these errors?

Also, my line count never is the same as the web page. What's up with this?

Thanks for the compliment welo. I am a newbie at this, and truly learning as I go.

redhead
07-30-2002, 10:21 PM
ok... the syntax error on 109 on prev8 first,

in your code you have:

document.inav5.src='img/navigr4625_13.gif';
,}
</script>

you need to get rid of that comma.

and the mouse trail script.... seems to be mostly commented out. My suggestion is to go back to the Dynamic Drive script and start again, just dont touch anything that doesnt need changing ;)

happy coding:thumbsup:

Tonz
07-31-2002, 01:00 AM
I'm getting a "Page cannot be found" error on those second set of links. I can still link through to the page on your first post.

Having said that, I think you should take the leasons learned thus far and start again.

I ran the code through a HTML validator (Doctor HTML (http://soteriadistribution.com/8.htm) ) which highlighted 11 table structure problems. This is almost impossible to fix.

The design is very good. We just need to work on tidying up the code.

On the frame set page I note you have used document.write for the content.

This page still needs to be wrapped inside

<html>
<head>
<meta tags...>
</head>
<body>

CONTENT

</body>
</html>

I would recommend using the design you have now, and add effects one by one and test them as you go, and then get the team here to check them also - as there are a number of Xbrowser issues to be considered. (Not everything looks the same on different browsers).

Don't get too carried away with scripts,. Consider who your taget audience is. If a younger market, go for one or two obvious (fun) scripts - like the text trail. If an older market, subtle interactive scripts are best, like the rollovers you have now.

Too many moving bits scare the heck out of older people who,often, are not so familier with the web.

If both, default to the latter.

I do believe this is the best plan of attack.

Good luck.

Tonz

:cool: