PDA

View Full Version : My main site is done but......


GeeksUnite
02-19-2006, 04:28 AM
Ok, now it is working, i have home1.html and i have a button there that takes me to home002.html, now when i tested in dreamweaver it works fine, but when i press F12, it takes me from home1 to home002 but in home002 it does not load the images, why?
thanks in advance.

gmcrone
02-19-2006, 07:52 AM
No way to tell why without seeing the code.....

Either post URL or page code..

Mike....

GeeksUnite
02-19-2006, 02:58 PM
i hope this is the code u need....
this is the code for home1.
Could i attach the two html files so u can give me an example of how it is done, like u make one button go from home1 to home2?
it would help me alot seeing it working. thanks.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>MyWebSite</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/JavaScript">
<!--



function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>

<body>
<table width="1024" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="106" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="106" height="50"></td>
</tr>
<tr>
<td height="70" valign="top"><div align="center">/images/button0003%20copy.jpg (/Copy%20of%20home0001.html)</div></td>
</tr>
<tr>
<td height="4"></td>
</tr>

<tr>
<td height="100" valign="top">/images/button003%20copy.jpg (/home0001.html)</td>
</tr>
<tr>
<td height="100" valign="top">/images/button004.jpg</td>
</tr>
<tr>
<td height="100" valign="top">/images/button005.jpg</td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="83" valign="top"><div align="center">/images/button0007.jpg</div></td>
</tr>
<tr>
<td height="57"></td>
</tr>

</table></td>
<td width="53" height="55"></td>
<td width="68"></td>
<td width="80"></td>
<td width="429"></td>
<td width="7"></td>
<td width="160"></td>
<td width="121"></td>
</tr>
<tr>
<td height="117"></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="121" height="117" valign="top"><div align="right">/images/home03.jpg</div></td>
<td width="107" valign="top">/images/journal02.jpg</td>
<td width="101" valign="top">/images/anime02.jpg</td>
<td width="107" valign="top">/images/java.jpg</td>
</tr>
</table></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="397"></td>
<td colspan="5" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="69" height="350"></td>
<td width="652" valign="top">

<font size="7" face="Argor Flahm Scaqh">&curren;W
elcome, in this website you shall find a journal based on Oblivion's
world. as well as my favorite anime and some java programing.</font></p>
</td>
<td width="23"></td>
</tr>
<tr>
<td height="47"></td>
<td></td>
<td></td>
</tr>

</table></td>
<td></td>
</tr>
<tr>
<td height="127"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="72"></td>
<td></td>
<td></td>
<td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="111" height="72"></td>
<td width="250" valign="top"></td>
<td width="148"></td>
</tr>
</table></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>

gmcrone
02-19-2006, 03:26 PM
OK, now show us the code for page 2

Mike...

GeeksUnite
02-20-2006, 02:23 AM
oh sorry, here is the code for the other page.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>MyWebSite</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/JavaScript">
<!--



function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>

<body>
<table width="1024" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="106" rowspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="106" height="50"></td>
</tr>
<tr>
<td height="70" valign="top"><div align="center">/images/button0003%20copy.jpg</div></td>
</tr>
<tr>
<td height="4"></td>
</tr>

<tr>
<td height="100" valign="top">/images/button003%20copy.jpg</td>
</tr>
<tr>
<td height="100" valign="top">/images/button004.jpg</td>
</tr>
<tr>
<td height="100" valign="top">/images/button005.jpg</td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="83" valign="top"><div align="center">/images/button0007.jpg</div></td>
</tr>
<tr>
<td height="57"></td>
</tr>

</table></td>
<td width="53" height="55"></td>
<td width="148"></td>
<td width="436"></td>
<td width="160"></td>
<td width="121"></td>
</tr>
<tr>
<td height="117"></td>
<td></td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="121" height="117" valign="top"><div align="right">/images/home03.jpg</div></td>
<td width="107" valign="top">/images/journal02.jpg</td>
<td width="101" valign="top">/images/anime02.jpg</td>
<td width="107" valign="top">/images/java.jpg</td>
</tr>
</table></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="890"></td>
<td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="652" height="1201" valign="top">

<font size="7" face="Argor Flahm Scaqh">&curren;O
blivion Journal</font></p>


</p>


</p>


<font size="5" face="Comic Sans MS">date whatever,</font></p>


<font size="5" face="Comic Sans MS">i have woken up in jail, though
this time i will be just for a few days....before they execute me.
I guess times have changed, before an imperial like me could easily
beat an argonian to death without having to apologize to no one.
</font></p>


<font size="5" face="Comic Sans MS">it happened two days ago when
one night i went to the small town of X, i decided to drop by a
bar and drink some &quot;Beer&quot;, i sat in a corner and i didn't
even look the people around me. I was thinking on how good this
&quot;beer&quot; was, honest to god, when suddendly this argonian
comes to my table and starts a conversation with me. he said:</font></p>


<font size="5" face="Comic Sans MS">- what does a gloomy human
like you want in a small town like this? is it skooma? i know of
a kajhit that could get you a fine dosis for a reasonable price.
- to which i replied with a not so friendly voice.</font></p>


<font size="5" face="Comic Sans MS">- since when do animals talk
to me? go back to the hole you came from before i skin you alive.</font></p>


<font size="5" face="Comic Sans MS">- agzzz - it made this zisilling
snake like noise - you are new here you do not know who you are
talking to......</font></p>


<font size="5" face="Comic Sans MS">i think one of the last things
that argonian saw was my rusty and not so sharp sword rised up high
and fall down on his head. i never felt sorry for them, never felt
guilty killing one of them, it didn't affect me just like it doesn't
affect me to end the life of a fish. what's the difference between
a fish and an argonian? well fishes are smart enough to stay underwater
where i dont see them, while argonians just happen to piss me off
everytime i see their snake like faces. </font></p></td>
<td width="92"></td>
</tr>
<tr>
<td height="47"></td>
<td></td>
</tr>

</table></td>
<td></td>
</tr>
<tr>
<td height="199"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>

davidj
02-20-2006, 11:39 AM
in your img tags...
/images/button000320copy.jpg

remove the first slash / from src attribute...
images/button000320copy.jpg

GeeksUnite
02-20-2006, 03:58 PM
OMG that was it? it works!! thanks alot :D
but i just ran into another problem, when i am in home1, and click the top menu home, it takes me to same page home1, but when after that i click the left menu that's home, it takes me no where. this is what shows:
this is when i press F12 for the first time. by the way whats is that "TMP1nj31uzvb9.htm"? i never created.

C:\Documents and Settings\Owner\My Documents\My_Site\TMP1nj31uzvb9.htm

when i press the top menu home this is what i get:

C:\Documents and Settings\Owner\My Documents\My_Site\home0001.html

and finally the second time i press it i dont go nowhere:

C:\home0001.html

thanks in advance.

Creative Insanity
02-20-2006, 06:38 PM
Your links are all wrong.. they should NOT have c:\ in them anywhere.
Create the site in dw and do it correctly and you will end your problems.

GeeksUnite
02-20-2006, 07:11 PM
Your links are all wrong.. they should NOT have c:\ in them anywhere.
Create the site in dw and do it correctly and you will end your problems.
I am creating the site in DW, and i dont know what u mean by "my links have c:\" i mean, i have the website on my hard drive because i havent upload it to a server yet. and if there is a way to fix the problem that i have please help me.

domedia
02-20-2006, 07:26 PM
Your links are all wrong.. they should NOT have c:\ in them anywhere.
Create the site in dw and do it correctly and you will end your problems.
When you preview in browser, Dreamweaver will create temporary files that has the absolute reference to where the files are on your hardrive.
It's supposed to write the URL's like that.

GeeksUnite
02-20-2006, 08:01 PM
If i upload my files to a server, will i have the same problem im having with the preview browser? or will it work? and if u guys know a way to make it work in the preview browser ill be very happy :wink: