Go Back   Computer Forums > Web Design | Website Development > Web Design and Development | Site Reviews
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-07-2009, 11:15 PM   #1
Solid State Member
 
Join Date: Feb 2009
Posts: 7
Default Can someone help me with some code.

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>&nbsp;</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.gi f',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.gi f',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.gi f',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_12 1.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>&nbsp;</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 is offline   Reply With Quote
Old 03-07-2009, 11:27 PM   #2
Daemon Poster
 
nevermind1534's Avatar
 
Join Date: Oct 2008
Posts: 754
Default Re: Can someone help me with some code.

It is looking for the images in /ent/ent instead of /ent So do images/home_05.gif isntead of ent/images/home_05.gif
__________________

__________________
Your PC Forums - yourpcforums.org
nevermind1534 is offline   Reply With Quote
Old 03-07-2009, 11:58 PM   #3
Solid State Member
 
Join Date: Feb 2009
Posts: 7
Default Re: Can someone help me with some code.

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.
krausen is offline   Reply With Quote
Old 03-08-2009, 12:13 AM   #4
Daemon Poster
 
nevermind1534's Avatar
 
Join Date: Oct 2008
Posts: 754
Default Re: Can someone help me with some code.

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>&nbsp;</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>&nbsp;</p>
</body>
</html>
Use that code instead of what you have in your first post. I fixed the images.
__________________
Your PC Forums - yourpcforums.org
nevermind1534 is offline   Reply With Quote
Old 03-08-2009, 09:12 AM   #5
Solid State Member
 
Join Date: Feb 2009
Posts: 7
Default Re: Can someone help me with some code.

Thanks I appreciate it.
krausen is offline   Reply With Quote
Old 03-08-2009, 03:42 PM   #6
Daemon Poster
 
nevermind1534's Avatar
 
Join Date: Oct 2008
Posts: 754
Default Re: Can someone help me with some code.

Quote:
Originally Posted by krausen View Post
Thanks I appreciate it.
np; that's what I'm here for
__________________

__________________
Your PC Forums - yourpcforums.org
nevermind1534 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:25 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0