This is how the code looks at the preview before Homestead publishes it
HTML Code:
<script type="text/javascript" src="dropdowntabs.js">
/***********************************************
* Drop Down Tabs Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- CSS for Drop Down Tabs Menu #1 -->
<link rel="stylesheet" type="text/css" href="ddcolortabs.css" />
<div id="colortab" class="ddcolortabs">
<ul>
<li><a href="http://www.dreamsonthefly.com/index.html" title="Home"><span>Home</span></a></li>
<li><a href="http://www.dreamsonthefly.com/thefish.html" title="The Fish"><span>The Fish</span></a></li>
<li><a title="Destinations" rel="dropmenu1_a"><span>Destinations</span></a></li>
<li><a title="Guides" rel="dropmenu2_a"><span>Guides</span></a></li>
<li><a href="http://www.dreamsonthefly.com/newlodging.html" title="Rates"><span>Rates</span></a></li>
<li><a title="Flies" rel="dropmenu3_a"><span>Flies</span></a></li>
<li><a href="http://www.dreamsonthefly.com/photogallery.html" title="Gallery"><span>Photos</span></a></li>
<li><a href="http://www.dreamsonthefly.com/Contact.html" title="Contact Us"><span>Contact Us</span></a></li>
<li><a title="Links" rel="dropmenu4_a"><span>Links</span></a></li></ul>
</div>
<div class="ddcolortabsline"> </div>
<!--1st drop down menu -->
<div id="dropmenu1_a" class="dropmenudiv_a">
<a href="http://www.dreamsonthefly.com/granderonde.html">Grande Ronde</a>
<a href="http://www.dreamsonthefly.com/Owyhee.html">Owyhee</a>
</div>
<!--2nd drop down menu -->
<div id="dropmenu2_a" class="dropmenudiv_a" style="width: 150px;">
<a href="http://www.dreamsonthefly.com/dtguide.html">Dave Tucker</a>
<a href="http://www.dreamsonthefly.com/rkpguide.html">Rhonda Price</a>
<a href="http://www.dreamsonthefly.com/guidesbios.html">Our Guides</a>
</div>
<!--3rd drop down menu -->
<div id="dropmenu3_a" class="dropmenudiv_a" style="width: 150px;">
<a href="http://www.dreamsonthefly.com/steelheadflies.html">Steelhead Flies</a>
<a href="http://www.dreamsonthefly.com/troutflies.html">Trout Flies</a>
<a href="http://www.dreamsonthefly.com/atlanticsalmonflies.html">Atlantic Salmon Flies</a>
</div>
<!--4th drop down menu -->
<div id="dropmenu4_a" class="dropmenudiv_a">
<a href="http://www.dreamsonthefly.com/education.html">Education</a>
<a href="http://www.dreamsonthefly.com/resources.html">Resources</a>
</div>
<script type="text/javascript">
//SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"])
tabdropdown.init("colortab", 0)
</script>
</body>
And this is how the code looks when I publish it.
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- <hs:metatags> -->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="Homestead SiteBuilder">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="imagetoolbar" content="false">
<!-- </hs:metatags> -->
<!-- <hs:title> -->
<title>index</title>
<!-- </hs:title> -->
<script type="text/javascript">
<!--
function reDo() {
top.location.reload();
}
if (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) < 5) {
top.onresize = reDo;
}
dom=document.getElementById
//-->
</script>
<link type="text/css" href="http://www.homestead.com/~media/elements/Text/font_styles_ns4.css" rel="stylesheet">
<style type="text/css">
@import url(http://www.homestead.com/~media/elements/Text/font_styles.css);
div.lpxcenterpageouter { text-align: center; position: absolute; top: 0px; left: 0px; width: 100% }
div.lpxcenterpageinner { position: relative; margin: 0 auto; text-align: left; width: 697px; }
</style>
</head>
<body onunload="" onload="" id="element1" link="#3333CC" bgcolor="#FFFFFF" scroll="auto" vlink="#6633CC">
<noscript>
<img alt="" src="http://www.homestead.com/~media/elements/shared/javascript_disabled.gif" height="40" border="0" width="373">
</noscript>
<div class="lpxcenterpageouter"><div class="lpxcenterpageinner"><!-- <hs:element3> --><div style="position: absolute; top: 107px; left: 21px; width: 676px; height: 46px; z-index: 0;" id="element3"><script type="text/javascript" src="dropdowntabs.js">
/***********************************************
* Drop Down Tabs Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- CSS for Drop Down Tabs Menu #1 -->
<link rel="stylesheet" type="text/css" href="ddcolortabs.css" />
<div id="colortab" class="ddcolortabs">
<ul>
<li><a href="http://www.dreamsonthefly.com/index.html" title="Home"><span>Home</span></a></li>
<li><a href="http://www.dreamsonthefly.com/thefish.html" title="The Fish"><span>The Fish</span></a></li>
<li><a title="Destinations" rel="dropmenu1_a"><span>Destinations</span></a></li>
<li><a title="Guides" rel="dropmenu2_a"><span>Guides</span></a></li>
<li><a href="http://www.dreamsonthefly.com/newlodging.html" title="Rates"><span>Rates</span></a></li>
<li><a title="Flies" rel="dropmenu3_a"><span>Flies</span></a></li>
<li><a href="http://www.dreamsonthefly.com/photogallery.html" title="Gallery"><span>Photos</span></a></li>
<li><a href="http://www.dreamsonthefly.com/Contact.html" title="Contact Us"><span>Contact Us</span></a></li>
<li><a title="Links" rel="dropmenu4_a"><span>Links</span></a></li></ul>
</div>
<div class="ddcolortabsline"> </div>
<!--1st drop down menu -->
<div id="dropmenu1_a" class="dropmenudiv_a">
<a href="http://www.dreamsonthefly.com/granderonde.html">Grande Ronde</a>
<a href="http://www.dreamsonthefly.com/Owyhee.html">Owyhee</a>
</div>
<!--2nd drop down menu -->
<div id="dropmenu2_a" class="dropmenudiv_a" style="width: 150px;">
<a href="http://www.dreamsonthefly.com/dtguide.html">Dave Tucker</a>
<a href="http://www.dreamsonthefly.com/rkpguide.html">Rhonda Price</a>
<a href="http://www.dreamsonthefly.com/guidesbios.html">Our Guides</a>
</div>
<!--3rd drop down menu -->
<div id="dropmenu3_a" class="dropmenudiv_a" style="width: 150px;">
<a href="http://www.dreamsonthefly.com/steelheadflies.html">Steelhead Flies</a>
<a href="http://www.dreamsonthefly.com/troutflies.html">Trout Flies</a>
<a href="http://www.dreamsonthefly.com/atlanticsalmonflies.html">Atlantic Salmon Flies</a>
</div>
<!--4th drop down menu -->
<div id="dropmenu4_a" class="dropmenudiv_a">
<a href="http://www.dreamsonthefly.com/education.html">Education</a>
<a href="http://www.dreamsonthefly.com/resources.html">Resources</a>
</div>
<script type="text/javascript">
//SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"])
tabdropdown.init("colortab", 0)
</script>
</body></div><!-- </hs:element3> --></div></div>
<!-- <hs:realtracker> -->
<script type="text/javascript">
<!--
var id='';var res='';var partnerid=90006;
var user='1753052834';
var pp='index';
function f(s){f2(s)};
function f2(s){document.write('<img alt="" src="'+s+'" height="1" width="1" border="0"/>')};
//-->
</script>
<script src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetJavaScript&H_SITEID=RTK1&H_AltURL=%2F%7Esite%2Frealtracker%2Frt_s90022.js&HSGOTOURL=http%3A%2F%2Flayout1.realtracker.com%2Fincludes%2Frt_s90022a.js" type="text/javascript">
</script>
<script type="text/javascript">
<!--
f('/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGotoURL&H_SITEID=RTK1&H_AltURL=%2f%7esite%2ftp.gif&H_HSGOTOURL=http%3a%2f%2fweb4.realtracker.com%2fnetpoll%2fimulti.asp&user='+escape(user)+'&pn='+escape(partnerid)+'&pp='+escape(pp)+'&js=1&to=-360&userurl='+escape(location.href)+res);
//-->
</script>
<noscript>
<img alt="" src="/~site/Scripts_ExternalRedirect/ExternalRedirect.dll?CMD=CMDGetGif&H_SITEID=RTK2&H_AltURL=%2F%7Esite%2Ftp.gif&H_HSGOTOURL=http%3A%2F%2Fweb4.realtracker.com%2Fnetpoll%2Fimulti.asp%3Fuser%3D1753052834%26pn%3D90006%26pp%3Dindex%26js%3D0%26b%3D0%26to%3D-360" height="1" border="0" width="1">
</noscript>
<!-- </hs:realtracker> -->
</body>
</html>
I honestly think this code is changed by Homestead somehow. Any thoughts?
Bookmarks