Solved

format Flex menu...

Posted on 2010-11-26
9
380 Views
Last Modified: 2012-06-27
Using a flex menu for fly out navigation....

however, I want to format the "menu" so that its:
1) indented in and centered more in that ection/box
2) instead of purple text, white
3) non-highligted...dont like the underscore...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>


		<title>Design 1</title>


		<link rel="stylesheet" type="text/css" href="flexdropdown.css" />

		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

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

		/***********************************************
		* Flex Level Drop Down 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 this script and 100s more
		*
		* http://dynamicdrive.com/dynamicindex1/flexdropdown.htm
		*
		***********************************************/

</script>



</head>





<link rel="stylesheet" href="mainstyle.css" type="text/css">


<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">


<!-- HTML for Flex Drop Down Menu 1 ___________________________________________________________________ -->
<ul id="flexmenu1" class="flexdropdownmenu">
<li><a href="http://www.dynamicdrive.com/">Item 1a</a></li>
<li><a href="http://www.cssdrive.com">Item 2a</a></li>
<li><a href="http://www.javascriptkit.com">Item Folder 3a</a>
	<ul>
	<li><a href="http://www.codingforums.com">Sub Item 3.1a</a></li>
		<ul>
		<li><a href="http://www.javascriptkit.com/domref/">Sub Item 3.1a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 3.2a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 3.3a</a></li>
		<li><a href="http://www.cssdrive.com">Sub Item 3.4a</a></li>
	</ul>
	<li><a href="http://www.codingforums.com">Sub Item 3.2a</a></li>
	<li><a href="http://www.cssdrive.com">Sub Item 3.3a</a></li>
	<li><a href="http://www.codingforums.com">Sub Item 3.4a</a></li>
	</ul>
</li>
<li><a href="http://www.cssdrive.com">Item 4a</a></li>
<li><a href="http://www.codingforums.com">Item Folder 5a</a>
	<ul>
	<li><a href="http://www.codingforums.com">Sub Item 5.1a</a></li>
	<li><a href="http://www.codingforums.com">Item Folder 5.2a</a>
		<ul>
		<li><a href="http://www.cssdrive.com">Sub Item 5.2.1a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 5.2.2a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 5.2.3a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 5.2.4a</a></li>
		</ul>
	</li>
	</ul>
</li>
<li><a href="http://www.codingforums.com">Item 6a</a></li>
</ul>



<table width="770" cellspacing="0" cellpadding="0" border="0">
	<tr>
	    <td valign="top" bgcolor="#E3BB4E">
<!-- menu start -->
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr>
				    <td colspan="2">


					<img src="images/little.jpg" width="146" height="266" alt="" border="0">
					</td>
				</tr>

<!-- ____________+_+ flex menu _+_+__________________________ -->

				<tr>
				    <td>
							<tr>
					       		<td bgcolor="#000000" align="center" class="white78" valign="top"><a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0"   >M<br/>E<br/>N<br/>U<br/></a>
					       		</td><td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							    <td valign="top">
							</tr>
					</td>
			    </tr>


<!-- ____________________________________ -->
				<tr>
					<td><img src="images/spacer.gif" width="31" height="30" alt="" border="0"></td>
					<td><img src="images/spacer.gif" width="115" height="1" alt="" border="0"></td>


				</tr>

			</table>
<!-- menu end -->
		</td>
	    <td bgcolor="#000000" valign="top"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
	    <td valign="top">
<!-- body start -->
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr>
					<td colspan="2" bgcolor="#E3BB4E">
<!-- title start -->

						<table width="100%" cellspacing="0" cellpadding="0" border="0">
							<tr>
								<td colspan="8"><img src="images/big_pic_1.jpg" width="623" height="38" alt="" border="0"></td>
							</tr>
							<tr>
							    <td>&nbsp;</td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="20" alt="" border="0"></td>
							    <td>&nbsp;</td>
							    <td class="black8"><b>L&nbsp;O&nbsp;N&nbsp;G&nbsp;E&nbsp;R&nbsp;&nbsp;M&nbsp;E&nbsp;N&nbsp;U&nbsp;&nbsp;I&nbsp;T&nbsp;E&nbsp;M&nbsp;&nbsp;2</b></td>
							    <td>&nbsp;</td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							    <td>&nbsp;</td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							</tr>
							<tr>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="82" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="13" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="455" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="13" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="57" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							</tr>
						</table>
			<!-- title end -->
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" cellspacing="0" cellpadding="0" border="0">
							<tr>
								<td colspan="3"><img src="images/spacer.gif" width="1" height="10" alt="" border="0"></td>
							</tr>
							<tr>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							    <td valign="top">Enter text here


							    </td>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							</tr>
							<tr>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							    <td><img src="images/spacer.gif" width="460" height="1" alt="" border="0"></td>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
<!-- body end -->
		</td>
	</tr>
	<tr>
		<td bgcolor="#000000"><img src="images/spacer.gif" width="146" height="1" alt="" border="0"></td>
		<td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
		<td bgcolor="#000000"><img src="images/spacer.gif" width="623" height="1" alt="" border="0"></td>
	</tr>
	<tr>
		<td colspan="3" align="right" style="color: #80838E">© copyright 2002 | your company name | all rights reserved&nbsp;&nbsp;&nbsp;</td>
	</tr>
</table>

</body>
</html>

Open in new window

0
Comment
Question by:GlobaLevel
  • 5
  • 4
9 Comments
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34219517
here is what it looks like right now...
Doc1.doc
0
 
LVL 18

Expert Comment

by:Sudaraka Wijesinghe
ID: 34221479
Hi,

I'm not quite clear on the your requirement #1, if you can provide more details on how you would like to position the menu I would be able to help more.

For the other 2 requirements, since you don't have any id or class assigned to the elements I would suggest you add inline CSS styles to the A tag like the code below.
<a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0" style="color:#ffffff; text-decoration:none;">M<br/>E<br/>N<br/>U<br/></a>

Open in new window

0
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34223113
Any way it can be white un highlighted text??
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 10

Author Comment

by:GlobaLevel
ID: 34231363
any help here?
0
 
LVL 18

Expert Comment

by:Sudaraka Wijesinghe
ID: 34231752
What do you mean by unhighlighted? black text on white background?
0
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34231797
In this section, I want white text on black background...bc its a link, its has an underline..and Iwant to get rid of the underline....



<!-- ____________+_+ flex menu _+_+__________________________ -->

                        <tr>
                            <td>
                                          <tr>
                                                 <td bgcolor="#000000" align="center" class="white78" valign="top"><a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0"   >M<br/>E<br/>N<br/>U<br/></a>
                                                 </td><td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
                                              <td valign="top">
                                          </tr>
                              </td>
                      </tr>


<!-- ____________________________________ -->
0
 
LVL 18

Accepted Solution

by:
Sudaraka Wijesinghe earned 500 total points
ID: 34232750
Did you try adding the the style I suggested? What wasn't working on it?
<!-- ____________+_+ flex menu _+_+__________________________ -->

                        <tr>
                            <td>
                                          <tr>
                                                 <td bgcolor="#000000" align="center" class="white78" valign="top"><a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0" style="color:#ffffff; text-decoration:none;"  >M<br/>E<br/>N<br/>U<br/></a>
                                                 </td><td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
                                              <td valign="top">
                                          </tr>
                              </td>
                      </tr>


<!-- ____________________________________ -->

Open in new window

0
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34232812
that did it!
0
 
LVL 18

Expert Comment

by:Sudaraka Wijesinghe
ID: 34232885
Glad to help. Thanks for the points.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question