Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > CSS > BOOK: CSS Instant Results
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: CSS Instant Results
This is the forum to discuss the Wrox book CSS Instant Results by Richard York; ISBN: 9780471751267
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: CSS Instant Results section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 19th, 2012, 05:52 PM
Registered User
Points: 14, Level: 1
Points: 14, Level: 1 Points: 14, Level: 1 Points: 14, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2012
Location: Kountze, Texas
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to asambrown
Unhappy Question regadring where to post

I am trying to import a menu on to several pages. The menu works provided I put it on every page. Is there a way to make the menu a CSS page and import it to all pages? The working menu is:
Code:
<!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' xml:lang='en'>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<meta name="resource-type" content="document">
		<meta name="generator" content="Lucidpromotion.com MetaMaker">
		<meta http-equiv="pragma" content="no-cache">
		<meta name="revisit-after" content="7 days">
		<meta name="classification" content="Family">
		<meta NAME="DESCRIPTION" CONTENT="The Place to find out what is happening in and around the US Gulf Coast">
		<meta NAME="KEYWORDS" CONTENT="texas,louisiana,mississippi,alabama,florida,fishing,boating,realestate,beach,gulf,bay,bays,events,
                                 saltwater,brownsville,south bay,brazos island,clark island, port isabel,laguna heights,south padre island,
                                 laguna vista,Laguna Madre,green island,port mansfield,red fish baypadre island,baffin bay,alazan bay,
                                 corpus christy,corpus christy bay,mustang island,nueces bay,port aransas,aransas bay,saint charles bay,
                                 carlos bay,mesquite bay,sundown bay,san antonio bay,espiritu santo bay, shoalwater bay,port o'connor,
                                 matagorda bay,turtle bay,east matagorda bay,surfside beach,drum bay,christmas bay,west bay,jamaica beach,
                                 galveston,galveston bay,east bay,trinity bay,houston,texas city,smith point,sabine pass,sabine lake,
                                 port authur,cameron,calcasieu lake,vermilion bay,weeks bay,west cote blanche bay,atchafalaya bay,
                                 fourleague bay,caillou bay,new orleans,,gulf port,biloxi,pascagoula,mobile,mobile bay,pensacola,panama city,
                                 clearwater,tampa,st petersburg,key west,monroe,for sale by owner,swimming,tide,tides">
		<meta name="robots" content="ALL">
		<meta name="distribution" content="Global">
		<meta name="rating" content="Safe For Kids">
		<meta name="copyright" content="ALL">
		<meta name="author" content="Sammy M. Brown">
		<meta http-equiv="reply-to" content="ASamBrownA@aol.com">
		<meta name="language" content="English">
		<meta name="doc-type" content="Public">
		<meta name="doc-class" content="Completed">
		<meta name="doc-rights" content="Copywritten Work">
		<script language="javascript">
				<!--//
				function press()
				{if (event.button==2) {
				alert('sorry, you cannot do that')}}
				document.onmousedown=press
				//--> </script>

	<TITLE>Welcome</TITLE>
        <link rel='stylesheet' type='text/css' href='drop_down_menus.css' />
        <!-- compliance patch for microsoft browsers -->
        <!--[if lt IE 7]>
            <style type='text/css'>
                ul.menu ul {
                    left: 220px;
                }
            </style>
            <script src='/ie7/ie7-standard-p.js' type='text/javascript'>
                IE7_PNG_SUFFIX = "arrow.png";
            </script>
        <![endif]-->
        <!--[if lt IE 6]>
            <style type='text/css'>
                ul.menu span {
                    margin-left: -15px;
                    padding-left: 15px;
                }
            </style>
        <![endif]-->
        <script type='text/javascript'>
            document.onmousedown = function($e)
            {
                ($e || ($e = window.event));

                if (
                    $e.target &&
                    $e.target.nodeName != 'A' &&
                    $e.target.parentNode.nodeName != 'A'

                    ||

                    $e.srcElement &&
                    $e.srcElement.nodeName != 'A' &&
                    $e.srcElement.parentNode.nodeName != 'A'
                ) {
                    location.href = '#';
                }
            }
        </script>
    </head>
    <body background="backgrounds/parchment">
        <div class='menu' id='menu'><div>
        <ul class='menu'>
            <li class='menu' id='menu-0'>
                <a href='#menu-0'><span>Home</span></a><span class='arrow'></span>
                <div class='menu'><div>
                <ul>
                    <li>
                        <a href='index.html'>
                            <span>Welcome</span>
                        </a>
                    </li>
                </ul>
                </div></div>
            </li>
            <li><a href="http://gulfcoastboatingandfishing.com/smf/" target="_blank"><span>Forum</span></a></li>
            <li class='menu' id='menu-1'>
                <a href='#menu-1'><span>Sponsors</span></a><span class='arrow'></span>
                <div class='menu'><div>
                <ul>
                    <li>
                        <a href='sponsors.html'>
                            <span>Sponsors</span>
                        </a>
                    </li>
                </ul>
                </div></div>
			</li>
            <li class='menu' id='menu-2'>
                <a href='#menu-2'><span>Events</span></a><span class='arrow'></span>
                <div class='menu'><div>
                <ul>
                    <li>
                        <a href='texas_e.html'>
                            <span>Texas</span>
                        </a>
                    </li>
                    <li>
                        <a href='lousiana_e.html'>
                            <span>Lousiana</span>
                        </a>
                    </li>
                    <li>
                        <a href='mississippi_e.html'>
                            <span>Mississippi</span>
                        </a>
                    </li>
                    <li>
                        <a href='alabamae.html'>
                            <span>Alabama</span>
                        </a>
                    </li>
                    <li>
                        <a href='florida_e.html'>
                            <span>Florida</span>
                        </a>
                    </li>
                </ul>
                </div></div>
            </li>
            <li class='menu' id='menu-3'>
                <a href='#menu-3'><span>Realestate</span></a><span class='arrow'></span>
                <div class='menu'><div>
                <ul>
                    <li>
                        <a href='texas_r_a.html'>
                            <span>Texas By Realtor</span>
                        </a>
                    </li>
                    <li>
                        <a href='texas_r_o.html'>
                            <span>Texas By owner</span>
                        </a>
                    </li>
                    <li>
                        <a href='louisiana_r_a.html'>
                            <span>Louisiana By Realtor</span>
                        </a>
                    </li>
                    <li>
                        <a href='louisiana_r_o.html'>
                            <span>Louisiana By owner</span>
                        </a>
                    </li>
                    <li>
                        <a href='mississippi_r_a.html'>
                            <span>Mississippi By Realtor</span>
                        </a>
                    </li>
                    <li>
                        <a href='mississippi_r_o.html'>
                            <span>Mississippi By owner</span>
                        </a>
                    </li>
                    <li>
                        <a href='alabama_r_a.html'>
                            <span>Alabama By Realtor</span>
                        </a>
                    </li>
                    <li>
                        <a href='alabama_r_o.html'>
                            <span>Alabama By owner</span>
                        </a>
                    </li>
                    <li>
                        <a href='florida_r_a.html'>
                            <span>Florida By Realtor</span>
                        </a>
                    </li>
                    <li>
                        <a href='florida_r_o.html'>
                            <span>Florida By owner</span>
                        </a>
                    </li>
                </ul>
                    </div></div>
            </li>
            <li class='menu' id='menu-4'>
                <a href='#menu-4'><span>Pictures</span></a><span class='arrow'></span>
                <div class='menu'><div>
                <ul>
                    <li>
                        <a href='texas_p.html'>
                            <span>Pictures from Texas</span>
                        </a>
                    </li>
                    <li>
                        <a href='louisiana_p.html'>
                            <span>Pictures from Louisiana</span>
                        </a>
                    </li>
                    <li>
                        <a href='mississippi_p.html'>
                            <span>Pictures from Mississippi</span>
                        </a>
                    </li>
                    <li>
                        <a href='alabama_p.html'>
                            <span>Pictures from Alabama</span>
                        </a>
                    </li>
                    <li>
                        <a href='florida_p.html'>
                            <span>Pictures from Florida</span>
                        </a>
                    </li>
                </ul>
                </div></div>
            </li>
            <li class='menu' id='menu-6'>
                <a href='#menu-6'><span>Facts</span></a><span class='arrow'></span>
                <div class='menu'><div>
                <ul>
                    <li>
                        <a href='gulf_of_mexico_facts.html'>
                            <span>Some Facts About the Gulf of Mexico</span>
                        </a>
                    </li>
                </ul>
                </div></div>
            </li>
            <li><a href="contact_us.html" target="_blank"><span>Contact Us</span></a></li>
            <li><a href="ads.html" target="_blank"><span>Ad Pricing</span></a></li>
            <li class='menu' id='menu-7'>
                <a href='#menu-7'><span>Tides</span></a><span class='arrow'></span>
                <div class='menu'><div>
                <ul>
                    <li>
                        <a href='tides_all.html'>
                            <span>All U.S. Gulf of Mexico</span>
                        </a>
                    </li>
                    <li>
                        <a href='texas_t.html'>
                            <span>Texas Tides</span>
                        </a>
                    </li>
                    <li>
                        <a href='louisiana_t.html'>
                            <span>Louisiana Tides</span>
                        </a>
                    </li>
                    <li>
                        <a href='mississippi_t.html'>
                            <span>Mississippi Tides</span>
                        </a>
                    </li>
                    <li>
                        <a href='alabama_t.html'>
                            <span>Alabama Tides</span>
                        </a>
                    </li>
                    <li>
                        <a href='florida_t.html'>
                            <span>Florida Tides</span>
                        </a>
                    </li>
                </ul>
                </div></div>
            </li>
                </ul>
                </div></div>
            </li>
        </ul>
        </div></div>
</body>
</html>
If you notice I have a type-o in the "text" not the coding. So I either need a way to make the menu import to all pages so I can correct it on one page or correct it on every page. :(
I will be grateful for any good help.

Sammy
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XMLHttpRequest and POST question brookie BOOK: Professional JavaScript for Web Developers 3rd edition 1 May 10th, 2012 04:10 PM
Question on HTTP Post dgrumbli BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 3 December 20th, 2006 01:03 PM
vbscript question (not sure where to post this) interrupt Javascript How-To 0 February 14th, 2006 09:38 AM



All times are GMT -4. The time now is 10:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.