Copy link to clipboard
Copied
I am trying to edit this HTML template but not having any luck as I said I don't know what I'm doing, but I know enough to get in trouble. Want to see if somebody could help check the code. I'm trying to change the underlined areas.
I’m trying to put the bottom code into the top code so we could change the hours and days opened of the post had pretty good luck changing things so far but I can get this done. Were being hosted with Go Daddy cPanel. The new code was done through the design part of Dreamweaver so I have a feeling the code is different than the one that was used to build the website.
Any help would be appreciated.
Mark
VFW Cmdr.
U.S. Navy
_template.HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>VFW Post 10049</title>
<meta name="Description" content="No one does more for Veterans." />
<meta name="keywords" content="VFW, Veterans of Foreign Wars, Veterans, Vet, War Vet, Combat, Iraq, Afghanistan, Vietnam, Korea, War on Terror, War on Terrorism, World War II, WWII, Kuwait, Qatar, Bosnia, Military, Army, Navy, Air Force, Marines, Simi Valley, California, District 7, Honor Guard, Color Guard, Post 10049, Scholarship" />
<link rel="icon"
type="image/png"
href="http://www.vfwpost10049.org/image/vfw_favicon.png">
<style type="text/css">
body
{
background-image: url(images/bg_oldpapertile.jpg);
background-repeat: repeat-y;
margin-left: 0px;
margin-top: 0px;
}
.footer {
color: #FFF;
font-family: Verdana, Geneva, sans-serif;
font-size: small;
}
a:link {
color: #006;
}
a:visited {
color: #333;
}
a:hover {
color: #00F;
}
a:active {
color: #FFF;
text-align: center;
}
.pagetitle {
font-weight: bold;
font-size: x-large;
font-family: Georgia, "Times New Roman", Times, serif;
}
.pagebody {
font-family: Verdana, Geneva, sans-serif;
}
</style>
<script 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.indexOf("#")!=0){ d.MM_p
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('images/b01home1.png','images/b02events2.png','images/b07programs2.png','images/b11resources2.png','images/b04members2.png','images/b01home2.png','images/b12contact2.png','images/b13museum2.png','images/b14press2.png','images/b15officers2.png','images/b16newsletter2.png','images/b17donate2.png','images/b18supporters2.png','images/b05auxiliary2.png')"><!-- #BeginLibraryItem "/Library/header.lbi" --><table width="1280" height="197" border="0" cellpadding="0" cellspacing="1">
<tr>
<td width="241" height="195" align="center"><a href="index.html"><img src="images/vfw_emblem.png" alt="vfw_emblem" name="emblem" width="200" height="200" border="0" id="emblem" /></a></td>
<td width="465" align="center"><a href="index.html"><img src="images/vfwpost10049tag.png" alt="VFW Post 10049" name="tag" width="420" height="200" border="0" id="tag" /></a></td>
<td width="316" align="center"><p><font face="verdana"><strong><a href="http://goo.gl/maps/tVvlZ" target="_blank">The POST</a></strong><br />
4242 E Los Angeles Ave.<br />
Simi Valley, CA 93063<br />
(805) 583-9722</font></p>
<p><font face="verdana"><strong><a href="http://goo.gl/maps/UxI21" target="_blank">The MUSEUM</a><br />
</strong><strong>of Military History</strong><br />
1555 Simi Town Center Wy. #220<br />
Simi Valley, CA 93065<br>
(805) 578-1539
<br /></font></p></td>
<td width="253" align="center" valign="middle"><p><font face="verdana"><br />
<strong>Post Hours</strong><br>
Tuesday thru Saturday
<br />
1:00 pm to 9:00 pm</font></p>
<p><font face="verdana"><strong>Museum Hours</strong><br>
Wednesdays<br />
12:00 pm to 3:00 pm<br>
Weekends<br>
11:00 am to 4:00 pm <br />
or by appointment</font></p>
<p><a href="honor_guard.html"><br />
</a></p></td>
</tr>
</table>
<!-- #EndLibraryItem --><!-- #BeginLibraryItem "/Library/navigation.lbi" -->
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
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.indexOf("#")!=0){ d.MM_p
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<body onLoad="MM_preloadImages('../images/b01home2.png','../images/b12contact2.png','../images/b02events2.png','../images/b07programs2.png','../images/b13museum2.png','../images/b14press2.png','../images/b04members2.png','../images/b11resources2.png','../images/b05auxiliary2.png')">
<table width="1280" height="47" border="0" cellpadding="0" cellspacing="1">
<tr>
<td width="292" height="45" align="center" background="images/b00blank.png"> </td>
<td width="96"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('b01home','','images/b01home2.png',1)"><img src="images/b01home1.png" name="b01home" width="96" height="45" border="0" id="b01home" /></a></td>
<td width="96"><a href="officers.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('b15officers','','images/b15officers2.png',1)"><img src="images/b15officers1.png" name="b15officers" width="96" height="45" border="0" id="b12contact" /></a></td>
<td width="96"><a href="auxiliary.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('b05auxiliary','','images/b05auxiliary2.png',1)"><img src="images/b05auxiliary1.png" alt="auxiliary" name="b05auxiliary" width="96" height="45" border="0" id="b05auxiliary" /></a></td>
<td width="96"><a href="events.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('b02events','','images/b02events2.png',1)"><img src="images/b02events1.png" name="b02events" width="96" height="45" border="0" id="b02events" /></a></td>
<td width="96"><a href="programs8.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('b07programs','','images/b07programs2.png',1)"><img src="images/b07programs1.png" name="b07programs" width="96" height="45" border="0" id="b07programs" /></a></td>
<td width="96"><a href="museum.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('b13museum','','images/b13museum2.png',1)"><img src="images/b13museum1.png" alt="museum" name="b13museum" width="96" height="45" border="0" id="b13museum" /></a></td>
<td width="96"><a href="donate.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('b17donate','','images/b17donate2.png',1)"><img src="images/b17donate1.png" name="b17donate" width="96" height="45" border="0" id="b17donate" /></a></td>
<td width="306" background="images/b00blank.png"><a href="supporters.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('b18supporters','','images/b18supporters2.png',1)"><img src="images/b18supporters1.png" name="b18supporters" width="96" height="45" border="0" id="b18supporters" /></a></td>
</tr>
</table>
<!-- #EndLibraryItem --><table width="1280" height="599" border="0" cellpadding="0" cellspacing="1">
<tr>
<td width="248" align="center" valign="top"><!-- #BeginLibraryItem "/Library/side.lbi" -->
<p><br />
<a href="join.html"><img src="images/join.jpg" alt="join" name="join" width="196" height="127" border="0" id="join" /></a></p>
<p><a href="honor_guard.html"><font face="verdana"><strong>Request Colors</strong></font></a></p>
<p><a href="honor_guard.html"><img src="images/vfwpost10049hgcg.png" alt="honorguard" name="vfw10049hgcg" width="193" height="227" border="0" id="vfw10049hgcg"/></a></p>
<p><a href="veterans_in_crisis.html"><font face="verdana"><strong>Veterans in Crisis</strong></font></a></p>
<!-- #EndLibraryItem --></td>
<td width="924" align="left" valign="top"><p class="pagetitle">Main Title</p>
<p class="pagebody"><strong>Subtitle</strong><br />
<br />
Content content content. </p>
<p class="pagebody">Content content content.</p>
<p> </p></td>
</tr>
</table>
<table width="1280" height="53" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="51" align="center" bgcolor="#952030"><!-- #BeginLibraryItem "/Library/footer.lbi" --><font color="#FFFFFF" face="verdana" size="2">
<p>Please also visit: <a href="http://www.vfw.org/" target="_blank"><font color="#FFFFFF">VFW National</font></a> | <a href="http://www.vfwca.org/" target="_blank"><font color="#FFFFFF">VFW Dept of CA</font></a> | <a href="http://www.vfwcadistrict7.org/" target="_blank"><font color="#FFFFFF">VFW District 7</font> </a>| <a href="https://vfwauxiliary.org/" target="_blank"><font color="#FFFFFF">Aux National</font></a> | <a href="http://www.lavfwca.org/welcometovfwauxiliary.html" target="_blank"><font color="#FFFFFF">Aux Dept of CA</font></a> | <a href="http://www.vfwstore.org/" target="_blank"><font color="#FFFFFF">VFW Store</font></a></p>
<p>© 2014-<script>document.write(new Date().getFullYear());</script> VFW Post 10049. All Rights Reserved. <a href="vfw_privacy_policy.html"><font color="#FFFFFF">Privacy Policy</font></a></p></font><!-- #EndLibraryItem --></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>
New Code add-in.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><table width="1280" height="197" border="0" cellpadding="0" cellspacing="1">
<tr>
<td width="202" height="195" align="center"><a href="../index.html"><img src="../images/vfw_emblem.png" alt="vfw_emblem" name="emblem" width="200" height="200" border="0" id="emblem" /></a></td>
<td width="422" align="center"><a href="../index.html"><img src="../images/vfwpost10049tag.png" alt="VFW Post 10049" name="tag" width="420" height="200" border="0" id="tag" /></a></td>
<td width="315" align="center"><p><font face="verdana"><strong><a href="http://goo.gl/maps/UxI21" target="_blank">The MUSEUM</a><br />
</strong><strong>of Military History</strong><br />
1555 Simi Town Center Wy. #220<br />
Simi Valley, CA 93065<br>
(805) 578-1539 </font></p>
<p><font face="verdana"><strong>Museum Hours</strong><br>
Wednesdays<br />
12:00 pm to 3:00 pm<br>
Weekends<br>
11:00 am to 4:00 pm <br />
or by appointment</font></p>
<p><font face="verdana"><br />
</font></p></td>
<td width="20" align="center"> </td>
<td width="315" align="center"><p><font face="verdana"><strong><a href="href="http://goo.gl/maps/tVvlZ" target="_blank">The Post</a><br />
</strong><br />
4242 E Los Angeles Ave<br />
Simi Valley, CA 93063<br>
(805) 583-9722</font></p>
<p><font face="verdana"><strong>Post Hours</strong><br>
Monday Thur Thursday<br />
12:00 pm to 9:00 pm<br>
Friday Thur Sunday<br>
12:00 PM till Last Call<br />
</font></p>
<p><font face="verdana"><br />
</font></p></td>
</tr>
</table>
Biglarson wrote
I didn't know coding standers changed... We are a nonprofit and don't have the funds to have another site built
Yes, a lot has changed. And compliance is tougher now than it was a few years ago.
I looked at your online site. The good news, it's not a complicated site. The bad news, it's not web friendly for a) mobile & tablet users, and b) people with disabilities.
...Copy link to clipboard
Copied
Moved to the Dreamweaver Support Forum for better exposure.
Copy link to clipboard
Copied
I stopped using table layouts about 18 years ago, not to mention the deprecated HTML styles... I'm sorry to say it but this site looks like a holdover from the 1990s.
Which version of DW to you have?
Have you given any thought to rebuilding this site responsively and to modern coding standards?
Copy link to clipboard
Copied
Thanks for the reply. I'm using CS5. I didn't know coding standers changed, as I said I'm just trying to figure this out. We are a nonprofit and don't have the funds to have another site built but thanks for trying to help.
Mark
Copy link to clipboard
Copied
Biglarson wrote
I didn't know coding standers changed... We are a nonprofit and don't have the funds to have another site built
Yes, a lot has changed. And compliance is tougher now than it was a few years ago.
I looked at your online site. The good news, it's not a complicated site. The bad news, it's not web friendly for a) mobile & tablet users, and b) people with disabilities.
Another issue is your site's not secure. Contact your web host about getting SSL certificates installed on your server. Your site should resolve to a secure HTTPS:// instead of an unsecure HTTP:// protocol. That goes for all sites now even if you don't collect sensitive data.
If you have no budget to hire a developer, consider switching to WordPress.
Blog Tool, Publishing Platform, and CMS — WordPress