Need a Bit of help with html...small code.

Status
Not open for further replies.

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Ok here this simple site i'm making right. witch is this http://www.rockun.x10hosting.com/Sweet/index.html ... Now when you click forums or anything.. you get a forum to show up in the home page. But i want the link when you click forums and stuff to take you to a hole to new wide page with the forums... Can come one Correct the code for all the links but the "link" and "home" link? heres the code.

<html>
<head>
<title>-= Clan =- -=ACA=-</title>
<!-- This template is made by BeZaX @ www.clantemplates.com - Please don't remove this comment! -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
image1 = new Image();
image1.src = "images/img_home2.gif";
image2 = new Image();
image2.src = "images/img_foru2.gif";
image3 = new Image();
image3.src = "images/img_rost2.gif";
image4 = new Image();
image4.src = "images/img_matc2.gif";
image5 = new Image();
image5.src = "images/img_link2.gif";
</script>
</head>
<style>
ul, li, p, td, div {
color: #BECCD7;
font-family: verdana;
font-size: 10px;
}
a { text-decoration: none }
</style>
<body bgcolor="#636363" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center><table id="Table_01" width="700" height="751" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="11">
<img src="images/img_01.gif" width="7" height="750" alt=""></td>
<td colspan="26">
<img src="images/img_02.gif" width="686" height="7" alt=""></td>
<td rowspan="11">
<img src="images/img_03.gif" width="7" height="750" alt=""></td>
</tr>
<tr>
<td colspan="26">
<img src="images/img_banner.gif" width="686" height="176" alt=""></td>
</tr>
<tr>
<td colspan="22">
<img src="images/img_04.gif" width="508" height="6" alt=""></td>
<td colspan="4">
<img src="images/img_05.gif" width="178" height="6" alt=""></td>
</tr>
<tr>
<td>
<img src="images/img_06.gif" width="7" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td colspan="2">
<img src="images/img_06.gif" width="35" height="21" alt=""></td>
<td>
<a href="home_info.html" target="content" onmouseover="image1.src='images/img_home2.gif';" onmouseout="image1.src='images/img_home1.gif';">
<img name="image1" src="images/img_home1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="33" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="28" height="21" alt=""></td>
<td>
<a href="http://www.rockun.x10hosting.com/forums/index.php?l" target="content" onmouseover="image2.src='images/img_foru2.gif';" onmouseout="image2.src='images/img_foru1.gif';">
<img name="image2" src="images/img_foru1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="28" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="30" height="21" alt=""></td>
<td>
<a href="http://www.rockun.x10hosting.com/forums/index.php?act=Members" target="content" onmouseover="image3.src='images/img_rost2.gif';" onmouseout="image3.src='images/img_rost1.gif';">
<img name="image3" src="images/img_rost1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="28" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="27" height="21" alt=""></td>
<td>
<a href="http://www.rockun.x10hosting.com/forums/index.php?showforum=10" target="content" onmouseover="image4.src='images/img_matc2.gif';" onmouseout="image4.src='images/img_matc1.gif';">
<img name="image4" src="images/img_matc1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="24" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="32" height="21" alt=""></td>
<td>
<a href="http://www.Rtcwfiles.com" target="content" onmouseover="image5.src='images/img_link2.gif';" onmouseout="image5.src='images/img_link1.gif';">
<img name="image5" src="images/img_link1.gif" height="21" border="0"></a></td>
<td colspan="3">
<img src="images/img_06.gif" width="37" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="150" height="21" alt=""></td>
</tr>
<tr>
<td colspan="26">
<img src="images/img_08.gif" width="686" height="6" alt=""></td>
</tr>
<tr>
<td colspan="26" bgcolor="005B7F" width="686" height="19"><marquee>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
today=new Date();
day=today.getDate();
year=today.getYear();
month=today.getMonth()+1;
if (day==1) end=("st");
else if (day==2) end=("nd");
else if (day==3) end=("rd");
else if (day==21) end=("st");
else if (day==22) end=("nd");
else if (day==23) end=("rd");
else if (day==31) end=("st");
else end=("th");
if (month==1) name=("January");
else if (month==2) name=("February");
else if (month==3) name=("March");
else if (month==4) name=("April");
else if (month==5) name=("May");
else if (month==6) name=("June");
else if (month==7) name=("July");
else if (month==8) name=("August");
else if (month==9) name=("September");
else if (month==10) name=("October");
else if (month==11) name=("November");
else name=("December");
if (year<100) year="19" + year;
document.write(name + " " + day + end + ", " + year);
// End -->
</script>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>News:</b> We bought our own server 16 man pub jaymod, Thank you to durnies!
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>News:</b> New Home Page Is Up!
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>News:</b> Two New Staff TheBazz1 And Dark Potato, Thanks guys!
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Match Info:</b>No Matches Aranged</marquee></td>
</tr>
<tr>
<td colspan="26">
<img src="images/img_09.gif" width="686" height="6" alt=""></td>
</tr>
<tr>
<td colspan="23" bgcolor="#464646" width="525" height="20"></td>
<td colspan="3" rowspan="3">
<img src="images/img_flag.gif" width="161" height="502" alt=""></td>
</tr>
<tr>
<td colspan="3" bgcolor="#464646" width="22" height="462"></td>
<td colspan="20" bgcolor="#464646" width="503" height="462">
<iframe src="home_info.html" name="content" frameborder="0" width="100%" height="100%" allowtransparency="true"></iframe></td>
</tr>
<tr>
<td colspan="23" bgcolor="#464646" width="525" height="20"></td>
</tr>
<tr>
<td colspan="26">
<img src="images/img_10.gif" width="686" height="7" alt=""></td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="7" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="7" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="11" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="24" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="33" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="33" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="28" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="45" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="28" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="30" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="43" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="28" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="27" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="50" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="24" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="32" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="32" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="13" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="17" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="7" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="4" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="150" height="1" alt=""></td>
<td>
<img src="images/spacer.gif" width="7" height="1" alt=""></td>
</tr>
</table></center>
</body>
</html>.. And the middle information code is this..
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>-=ACA=- Info</title>
</head>

<body bgcolor="#464646" link="#303030" vlink="#303030" alink="#303030">
<center><img src="images/img_pagebanner1.gif" width="397" height="100" alt="" border="0"></center>
<br>
<font size="1" face="Verdana" color="#808080">All Up Dates Will Be posted here once the home page is finnshed. Pleas e Keep the forum active well we work on the new -=ACA=- home page.
</font>
<br>
<br>
<font size="1" face="Verdana" color="#808080">Under Construction
</font>
<br>
<br>
<font size="1" face="Verdana" color="#808080">
<center><a href="http://www.clantemplates.com" target="_blank">Clan -=ACA=-</a> - <a href="www.Rockun.x10hosting.com/sweet/index.html" target="_blank">-=ACA=-</a> - <a href="<A href="mailto:philiparnold1@hotmail.com">Contact</a></center">Philiparnold1@hotmail.com">Contact</a></center>
</font>
</body>
</html>
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
I think it's somware within here... <td>
<a href="home_info.html" target="content" onmouseover="image1.src='images/img_home2.gif';" onmouseout="image1.src='images/img_home1.gif';">
<img name="image1" src="images/img_home1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="33" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="28" height="21" alt=""></td>
<td>
<a href="http://www.rockun.x10hosting.com/forums/index.php?l" target="content" onmouseover="image2.src='images/img_foru2.gif';" onmouseout="image2.src='images/img_foru1.gif';">
<img name="image2" src="images/img_foru1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="28" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="30" height="21" alt=""></td>
<td>
<a href="http://www.rockun.x10hosting.com/fo...php?act=Members" target="content" onmouseover="image3.src='images/img_rost2.gif';" onmouseout="image3.src='images/img_rost1.gif';">
<img name="image3" src="images/img_rost1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="28" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="27" height="21" alt=""></td>
<td>
<a href="http://www.rockun.x10hosting.com/fo...hp?showforum=10" target="content" onmouseover="image4.src='images/img_matc2.gif';" onmouseout="image4.src='images/img_matc1.gif';">
<img name="image4" src="images/img_matc1.gif" height="21" border="0"></a></td>
<td>
<img src="images/img_06.gif" width="24" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="32" height="21" alt=""></td>
<td>
<a href="http://www.Rtcwfiles.com" target="content" onmouseover="image5.src='images/img_link2.gif';" onmouseout="image5.src='images/img_link1.gif';">
<img name="image5" src="images/img_link1.gif" height="21" border="0"></a></td>
<td colspan="3">
<img src="images/img_06.gif" width="37" height="21" alt=""></td>
<td>
<img src="images/img_07.gif" width="4" height="21" alt=""></td>
<td>
<img src="images/img_06.gif" width="150" height="21" alt=""></td>
</tr>But I don't want to take somthing out i need at screw everything thing up.. I'm going to search on google to... But i'm not sure it will do me anygood.
 
Last edited:

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Alright , sorry you can close this i'm and IDIOT i found it out...
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
redtailblackshark said:
ok, but dreamweaver or frontpage could do this easily... you should check them out.
Yea... I use dreamweaver.. but it was only taking out one word in the code.. soo I just did it in cpanel.
 
B

Brandon

Guest
I currently use Notepad, Lol Dont use a program.
-DesertWar
 

motogawa

Member
Messages
306
Reaction score
0
Points
16
Yeh you shouldn't use word pad I don't remember exactly but it formats the lettering for printing so I would stay stick with notepad if your advanced enough into html. If not you should go with Dreamweaver which is the best bet for any programmer. I know most choose to stick with notepad with is fine but those of you that need debug information and options like that get Dreamweaver.
 

chitwa

New Member
Messages
128
Reaction score
0
Points
0
I hope this helps. seek for this code in your html <a href="http://www.rockun.x10hosting.com/fo...hp?showforum=10" target="content" onmouseover="image4.src='images/img_matc2.gif';" onmouseout="image4.src='images/img_matc1.gif';">

on the target="content", change it to target="_blank". That would work. However, if you are using a content manager like mambo or PHPNuke, you need to change the code that generates your page.
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
chitwa said:
I hope this helps. seek for this code in your html <a href="http://www.rockun.x10hosting.com/fo...hp?showforum=10" target="content" onmouseover="image4.src='images/img_matc2.gif';" onmouseout="image4.src='images/img_matc1.gif';">

on the target="content", change it to target="_blank". That would work. However, if you are using a content manager like mambo or PHPNuke, you need to change the code that generates your page.
I said a number of times I got it fixed. Please don't awncer somthing that has alreddy bin awncerd.

*CLOSED*
 

bigguy

Retired
Messages
10,984
Reaction score
10
Points
38
This is not a discussion it should be moved to client help.
 
Status
Not open for further replies.
Top