Can someone help me with some code.

krausen

Solid State Member
I made a simple page using dreamweaver but it is all broken links on the live server. Looks good on test server.

Can someone help me fix my code using my text editor.

Here is the link to live site.

http://www.skateboardsupply.net/ent


Here is the code as it shows on my text editor:

</script>
</head>

<body onLoad="MM_preloadImages('home_051.gif','music_071.gif','video_091.gif','about_111.gif','contact_121.gif')">
<h3><img src="ent/images/HEADER_02.gif" width="935" height="110"></h3>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<a href="index.html" <img src="ent/images/home_05.gif" name="Home" width="72" height="32" border="0"></a>
<a href="music.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Music','','music_071.gif',1)"><img src="ent/images/music_07" name="Music" width="80" height="32" border="0"></a>
<a href="video.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Video','','video_091.gif',1)"><img src="ent/images/video_09.gif" name="Video" width="74" height="32" border="0"></a>
<a href="about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('About','','about_111.gif',1)"><img src="ent/images/about_11.gif" name="About" width="78" height="32" border="0"></a>
<a href="contact.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Contact','','contact_121.gif',1)"><img src="ent/images/contact_12.gif" name="Contact" width="116" height="32" border="0"></a>
<h2>Welcome to SBS Entertainment.</h2>
<p>Whether you are a consumer, producer, or artist we are here to put you in touch
with your media outlet.</p>
<p>This site is currently under construction. We will be online in the near future.</p>
<p> </p>
</body>
</html>



I have put all images in a folder on server under ent/images

I do not have any education or experience using code other than very simple stuff.

I appreciate any help.
 

krausen

Solid State Member
can you show me where you found that? I looked and even searched using the text editor and I can't find any reference to ent/ent for images.
 

nevermind1534

Daemon Poster
the reference for the images is ent/images/home_05.gif but since the page is already in the /ent folder, it's looking for them in ent/ent/images/home_05.gif

So just take the ent/ out of all of the codes for the pictures.

Code:
</script>
</head>

<body onLoad="MM_preloadImages('home_051.gif','music_071 .gif','video_091.gif','about_111.gif','contact_121 .gif')">
<h3><img src="images/HEADER_02.gif" width="935" height="110"></h3>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<a href="index.html" <img src="images/home_05.gif" name="Home" width="72" height="32" border="0"></a>
<a href="music.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Music','','music_071.gi f',1)"><img src="images/music_07" name="Music" width="80" height="32" border="0"></a>
<a href="video.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Video','','video_091.gi f',1)"><img src="images/video_09.gif" name="Video" width="74" height="32" border="0"></a>
<a href="about.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('About','','about_111.gi f',1)"><img src="images/about_11.gif" name="About" width="78" height="32" border="0"></a>
<a href="contact.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Contact','','contact_12 1.gif',1)"><img src="images/contact_12.gif" name="Contact" width="116" height="32" border="0"></a>
<h2>Welcome to SBS Entertainment.</h2>
<p>Whether you are a consumer, producer, or artist we are here to put you in touch
with your media outlet.</p>
<p>This site is currently under construction. We will be online in the near future.</p>
<p> </p>
</body>
</html>
Use that code instead of what you have in your first post. I fixed the images.
 
Top