web page errors

T

tcvalpak

getting error on alot of my pages not sure why. can anyone help. i started
the code at line 42.

line: 42
char: 2
error: object expected
code: 0

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="
MM_preloadImage('images/btn_home_dn.gif','images/btn_products_dn.gif','images/btn_services_dn.gif','images/btn_moreinfo_dn.gif','images/btn_contact_dn.gif')">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="61" background="images/topbg.gif" colspan="3">
 
S

Stefan B Rusynko

Post a URL to the page online

PS

Remove all the scripts from your page and start inserting them 1 at a time until the error appears then edit/correct that script


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| getting error on alot of my pages not sure why. can anyone help. i started
| the code at line 42.
|
| line: 42
| char: 2
| error: object expected
| code: 0
|
| <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="
|
MM_preloadImage('images/btn_home_dn.gif','images/btn_products_dn.gif','images/btn_services_dn.gif','images/btn_moreinfo_dn.gif','images/btn_contact_dn.gif')">
| <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
| <tr>
| <td height="61" background="images/topbg.gif" colspan="3">
|
 
S

Stefan B Rusynko

FP never added the MM_preloadImages code you have in the body onload
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="
MM_preloadImages('images/btn_home_dn.gif','images/btn_products_dn.gif','images/btn_services_dn.gif','images/btn_moreinfo_dn.gif','images/btn_contact_dn.gif')">

- delete it and leave
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| http://www.tcvalpak.com/contact.html
|
| i would remove them but i do not know how. i did this in frontpage because i
| thought it would be easier.
|
| "Stefan B Rusynko" wrote:
|
| > Post a URL to the page online
| >
| > PS
| >
| > Remove all the scripts from your page and start inserting them 1 at a time until the error appears then edit/correct that script
| >
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > | getting error on alot of my pages not sure why. can anyone help. i started
| > | the code at line 42.
| > |
| > | line: 42
| > | char: 2
| > | error: object expected
| > | code: 0
| > |
| > | <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="
| > |
| >
MM_preloadImage('images/btn_home_dn.gif','images/btn_products_dn.gif','images/btn_services_dn.gif','images/btn_moreinfo_dn.gif','images/btn_contact_dn.gif')">
| > | <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
| > | <tr>
| > | <td height="61" background="images/topbg.gif" colspan="3">
| > |
| >
| >
| >
 
S

Stefan B Rusynko

Nonsense
- the onload has nothing to do w/ your page layout

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| if i do that the whole page turns white.
|
| "Stefan B Rusynko" wrote:
|
| > FP never added the MM_preloadImages code you have in the body onload
| > <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="
| >
MM_preloadImages('images/btn_home_dn.gif','images/btn_products_dn.gif','images/btn_services_dn.gif','images/btn_moreinfo_dn.gif','images/btn_contact_dn.gif')">
| >
| > - delete it and leave
| > <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > | http://www.tcvalpak.com/contact.html
| > |
| > | i would remove them but i do not know how. i did this in frontpage because i
| > | thought it would be easier.
| > |
| > | "Stefan B Rusynko" wrote:
| > |
| > | > Post a URL to the page online
| > | >
| > | > PS
| > | >
| > | > Remove all the scripts from your page and start inserting them 1 at a time until the error appears then edit/correct that
script
| > | >
| > | >
| > | > --
| > | >
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > To find the best Newsgroup for FrontPage support see:
| > | > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > | > _____________________________________________
| > | >
| > | >
| > | > | getting error on alot of my pages not sure why. can anyone help. i started
| > | > | the code at line 42.
| > | > |
| > | > | line: 42
| > | > | char: 2
| > | > | error: object expected
| > | > | code: 0
| > | > |
| > | > | <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="
| > | > |
| > | >
| >
MM_preloadImage('images/btn_home_dn.gif','images/btn_products_dn.gif','images/btn_services_dn.gif','images/btn_moreinfo_dn.gif','images/btn_contact_dn.gif')">
| > | > | <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
| > | > | <tr>
| > | > | <td height="61" background="images/topbg.gif" colspan="3">
| > | > |
| > | >
| > | >
| > | >
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top