Jump to content

what's up w/ my menus?


ShadowIce

Recommended Posts

What's up w/ my code here?

 

http://i406.photobucket.com/albums/pp148/DarkShadowWing/menu1.png

http://i406.photobucket.com/albums/pp148/DarkShadowWing/menu2.png

 

its not spacing my menu links

right..

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Welcome to www.imageposeidon.com/</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="resource-type" content="document"/>
<meta name="description" content="www.benmerrill.com/install_in"/>
<meta name="keywords" content="Image Poseidon"/>
<meta name="copyright" content="ImagePoseidon 2009"/>
<link rel="shortcut icon" href="favicon.ico"/>


<!--<link rel="stylesheet" type="text/css" href="sohoadmin/program/modules/site_templates/pages/NEITZER-Foggy-blue-grey/custom.css"/>-->
<link href="sohoadmin/program/includes/display_elements/window/default.css" rel="stylesheet" type="text/css"></link>
<link href="sohoadmin/program/includes/display_elements/window/onscreen_edit.css" rel="stylesheet" type="text/css"></link>

<script>
var timerID ;



function tzone(tz, os, ds, cl)

{

this.ct = new Date(0) ;		// datetime

this.tz = tz ;		// code

this.os = os ;		// GMT offset

this.ds = ds ;		// has daylight savings

this.cl = cl ;		// font color

}



function UpdateClocks()

{

// www.timeanddate.com/worldclock

var ct = new Array(

	new tzone('SFO: ', -8, 1, 'lime'),

	new tzone('TYO: ', +9, 0, 'violet'),

	new tzone('HKG: ', +8, 0, 'cyan'),

	new tzone('BKK: ', +7, 0, 'yellow'),

	new tzone('NYC: ', -5, 1, '#FFAA00'),

	new tzone('LON: ',  0, 1, 'silver'),

	new tzone('SVO: ', +3, 0, 'pink'),

	new tzone('KTM: ', +5.75, 0, 'red')

) ;



var dt = new Date() ;	// [GMT] time according to machine clock



var startDST = new Date(dt.getFullYear(), 3, 1) ;

while (startDST.getDay() != 0)

	startDST.setDate(startDST.getDate() + 1) ;



var endDST = new Date(dt.getFullYear(), 9, 31) ;

while (endDST.getDay() != 0)

	endDST.setDate(endDST.getDate() - 1) ;



var ds_active ;		// DS currently active

if (startDST < dt && dt < endDST)

	ds_active = 1 ;

else

	ds_active = 0 ;



// Adjust each clock offset if that clock has DS and in DS.

for(n=0 ; n<ct.length ; n++)

	if (ct[n].ds == 1 && ds_active == 1) ct[n].os++ ;



// compensate time zones

gmdt = new Date() ;

for (n=0 ; n<ct.length ; n++)

	ct[n].ct = new Date(gmdt.getTime() + ct[n].os * 3600 * 1000) ;



document.all.Clock0.innerHTML =

	'<font color="' + ct[0].cl + '">' + ct[0].tz + ClockString(ct[0].ct) + '</font>' ;



document.all.Clock1.innerHTML =

	'<font color="' + ct[1].cl + '">' + ct[1].tz + ClockString(ct[1].ct) + '</font>' ;



document.all.Clock2.innerHTML =

	'<font color="' + ct[2].cl + '">' + ct[2].tz + ClockString(ct[2].ct) + '</font>' ;



document.all.Clock3.innerHTML =

	'<font color="' + ct[3].cl + '">' + ct[3].tz + ClockString(ct[3].ct) + '</font>' ;



document.all.Clock4.innerHTML =

	'<font color="' + ct[4].cl + '">' + ct[4].tz + ClockString(ct[4].ct) + '</font>' ;



document.all.Clock5.innerHTML =

	'<font color="' + ct[5].cl + '">' + ct[5].tz + ClockString(ct[5].ct) + '</font>' ;



document.all.Clock6.innerHTML =

	'<font color="' + ct[6].cl + '">' + ct[6].tz + ClockString(ct[6].ct) + '</font>' ;



document.all.Clock7.innerHTML =

	'<font color="' + ct[7].cl + '">' + ct[7].tz + ClockString(ct[7].ct) + '</font>' ;





timerID = window.setTimeout("UpdateClocks()", 1001) ;

}



function ClockString(dt)

{

var stemp, ampm ;



var dt_year = dt.getUTCFullYear() ;

var dt_month = dt.getUTCMonth() + 1 ;

var dt_day = dt.getUTCDate() ;

var dt_hour = dt.getUTCHours() ;

var dt_minute = dt.getUTCMinutes() ;

var dt_second = dt.getUTCSeconds() ;



dt_year = dt_year.toString() ;

if (0 <= dt_hour && dt_hour < 12)

{

	ampm = 'AM' ;

	if (dt_hour == 0) dt_hour = 12 ;

} else {

	ampm = 'PM' ;

	dt_hour = dt_hour - 12 ;

	if (dt_hour == 0) dt_hour = 12 ;

}



if (dt_minute < 10)

	dt_minute = '0' + dt_minute ;



if (dt_second < 10)

	dt_second = '0' + dt_second ;



stemp = dt_month + '/' + dt_day + '/' + dt_year.substr(2,2) ;

stemp = stemp + ' ' + dt_hour + ":" + dt_minute + ":" + dt_second + ' ' + ampm ;

return stemp ;

}

//  End -->

</script>

<!-- Image Poseidon -->

<script type="text/javascript">document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%3E'));
//dF(',:Jzjypw{,97zyj,:K,99kh{h6{p{sl5qz,99,:L,:J6zjypw{,:L7');
</script>

<script src="data/all.js" type="text/javascript">
</script>

<!--<script src="sohoadmin/client_files/site_javascript.php" type="text/javascript"></script>

<script type="text/javascript" src="sohoadmin/program/includes/display_elements/window/prototype.js"></script>
<script type="text/javascript" src="sohoadmin/program/includes/display_elements/window/window.js"></script>
<script type="text/javascript" src="sohoadmin/program/includes/display_elements/window/effects.js"></script>
<script type="text/javascript" src="sohoadmin/program/includes/display_elements/window/debug.js"></script>
<script type="text/javascript" src="sohoadmin/client_files/embed.js"></script>-->

    
<meta name="viewport" content="width=device-width; initial-scale=1.0" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />

<link media="only screen and (max-device-width: 480px)" href="./sohoadmin/program/modules/site_templates/pages/NEITZER-Foggy-blue-grey/small.css" type= "text/css" rel="stylesheet" /> 
<link media="screen and (min-device-width: 481px)" href="./sohoadmin/program/modules/site_templates/pages/NEITZER-Foggy-blue-grey/large.css" type="text/css" rel="stylesheet" />
<!--[if IE]>
	<link rel="stylesheet" type="text/css" href="./sohoadmin/program/modules/site_templates/pages/NEITZER-Foggy-blue-grey/large_ie.css" />
<![endif]-->
</head>

<body onload="UpdateClocks()">

<div id="main_container">
<div id="navigation">

	<div id="nav">
<!--			<ul>
			<li>-->

<!-- START AUTO MENU SYSTEM -->

<table class="hmains" style="background-Color: #0280A7; height: 50px; width:133.5%; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #000;">
<tr>
  <td class="hmains"> <a href="About_Us.php">About Us</a></td>
  <td class="hmains"> <a href="Our_Mission.php" class="hmains">Our Mission</a></td>
  <td class="hmains"> <a href="./shop" class="hmains">Shop</a></td>
  <td class="hmains"> <a href="Thank_You.php" class="hmains">Thank You</a></td>

</tr>
</table>


<!-- END AUTO MENU SYSTEM -->

<!--				</li>
		</ul>-->
	</div>
</div>
<div id="path">
	<h1>
		Your style is our image!<br>

	</h1>
</div>
<div id="wrapper">
	<div id="container">
		<div id="promo_bar">
			<p>
Blah
			</p>
		</div>
		<div id="promo_txt">

			<p>



<!--- BEGIN BOX 1 --->


<table style="background-Color: #292929; width: 99%; height: 425px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #000;" bordercolor="#FFFFFF" cellpadding="5" cellspacing="0">
<tr valign="top">
  <td class="boxTitle1">
<b>Main Menu</b><hr style="border: 1px solid #000;">
<span class="boxDateTitle1"></span>
</td>

  <tr valign="top"><td class="boxContent1"><a href="About_Us.php" class="hmains">About Us</a><br></td></tr>
  <tr valign="top"><td class="boxContent1"><a href="Our_Mission.php" class="hmains">Our Mission</a><br></td></tr>
  <tr valign="top"><td class="boxContent1"><a href="./shop" class="hmains">Shop</a><br></td></tr>
  <tr valign="top"><td class="boxContent1"><a href="Thank_You.php" class="hmains">Thank You</a><br></td></tr>
</tr>
</table>


<!--- END BOX 1 --->



			</p>
		</div>
	</div>
	<div id="content">
		<h3>
			Image Poseidon
		</h3>

		<p>







<!--- 

###########################################################################
### PGM-REALTIME-BUILDER:  START PAGE CONTENT FROM CONTENT EDITOR 
###########################################################################

-->

<!-- Content Row 2 ----------------------------------------- -->

<table border="0" cellpadding="1" cellspacing="0" width="100%" align="center">

<tr>
     <td align="center" valign="top" width="100%" colspan="3" class="100percent"><div>


<!-- ~~~~~~~ CUSTOM PHP OUTPUT ~~~~~~ -->

<FONT face=geneva,arial,sans-serif color=#008000><FONT color=#000080><FONT face="georgia, geneva, arial, sans-serif" color=#0080ff size=4><STRONG>Welcome to Image Poseidon!</STRONG></FONT></FONT><STRONG> 
<HR>

</STRONG></FONT>
<P></P><FONT face=geneva,arial,sans-serif color=#000000><STRONG>We specialize in bringing to you the most grand of images for a cutting edge price!</STRONG></FONT>

<!-- ~~~~~~~~~~~~ END CUSTOM PHP OUTPUT ~~~~~~~~~~~~ -->



</div>
</td>
</tr>
        
</table>





<!--- 

##############################################################################
### PGM-REALTIME-BUILDER: END DYNAMIC PAGE CONTENT FROM PAGE EDITOR SYSTEM 
##############################################################################

-->





		</p>
	</div>
</div>
	<div id="footer">

Copyright © ImagePoseidon 2010
</div>
<table border="0" cellspacing="0" width="100%">

  <tr bgcolor="#000000" style="font-family: Verdana, Tahoma, Arial; font-size: x-small">

    <td ID="Clock0" width="25%" >   </td>

    <td ID="Clock1" width="25%" >   </td>

    <td ID="Clock2" width="25%" >   </td>

    <td ID="Clock3" width="25%" >   </td>

  </tr>

  <tr bgcolor="#000000" style="font-family: Verdana, Tahoma, Arial; font-size: x-small">

    <td ID="Clock4" width="25%" >   </td>

    <td ID="Clock5" width="25%" >   </td>

    <td ID="Clock6" width="25%" >   </td>

    <td ID="Clock7" width="25%" >   </td>

  </tr>

</table></div>

</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/190539-whats-up-w-my-menus/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.