how to reference an html page from another html page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chuck [Sbc\)

    how to reference an html page from another html page

    I am new to html programming. I have created a web with 17 different pages.
    On each page is a button menu which allow the user to switch to another page
    without returning to the home page . The button menu is 40 lines long.
    What I would like to do is make a new file "ButtonSub. html " which the
    button menu code. I would then remove all of the button codes from each
    form . Instead , I would insert a statement that would call ButtonSub.html
    to create the button menu on each html.page

    Clear as mud???.


  • Jonathan N. Little

    #2
    Re: how to reference an html page from another html page

    Chuck [Sbc) wrote:
    Ed
    I tried but I don't understand what I am to put in ("/styles/menu.txt") My
    menu is contained in "ButtonSub.html "
    Then Google is your friend:


    php includes tutorial - Google Search

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO

    Comment

    • Beauregard T. Shagnasty

      #3
      Re: how to reference an html page from another html page

      Chuck [Sbc) wrote:
      I tried but I don't understand what I am to put in ("/styles/menu.txt") My
      menu is contained in "ButtonSub.html "
      <div id="doc_header" >
      <!-- start menu HTML import-->
      <?php include("./path/to/ButtonSub.html" ); ?>
      <!-- END menu HTML import-->
      </div>

      A URL for your site would help with any further answers.

      Please don't top-post.

      --
      -bts
      -Friends don't let friends drive Vista

      Comment

      • Chuck [Sbc\)

        #4
        Re: how to reference an html page from another html page

        Jonathan
        Thanks - your suggested site was perfect. I made changes to all my pages
        (17) and the master menu file in just over 3 hours.
        I reduced my file storage by 65%.
        Thanks Again
        Chuck


        "Jonathan N. Little" <lws4art@centra l.netwrote in message
        news:61d56$47d1 988f$40cba7a4$6 366@NAXS.COM...
        Chuck [Sbc) wrote:
        >Ed
        >I tried but I don't understand what I am to put in ("/styles/menu.txt")
        >My menu is contained in "ButtonSub.html "
        >
        Then Google is your friend:
        >

        php includes tutorial - Google Search
        >
        --
        Take care,
        >
        Jonathan
        -------------------
        LITTLE WORKS STUDIO
        http://www.LittleWorksStudio.com

        Comment

        • Chuck [Sbc\)

          #5
          Re: how to reference an html page from another html page

          I don't know "Please don't top-post"
          Elucidate
          ..



          "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalidwr ote in message
          news:fthAj.2879 06$MJ6.273264@b gtnsc05-news.ops.worldn et.att.net...
          Chuck [Sbc) wrote:
          >
          >I tried but I don't understand what I am to put in ("/styles/menu.txt")
          >My
          >menu is contained in "ButtonSub.html "
          >
          <div id="doc_header" >
          <!-- start menu HTML import-->
          <?php include("./path/to/ButtonSub.html" ); ?>
          <!-- END menu HTML import-->
          </div>
          >
          A URL for your site would help with any further answers.
          >
          Please don't top-post.
          >
          --
          -bts
          -Friends don't let friends drive Vista

          Comment

          • Blinky the Shark

            #6
            Re: how to reference an html page from another html page

            Chuck [Sbc) wrote:
            I don't know "Please don't top-post"
            Don't POST on TOP of what you're responding to.


            --
            Blinky
            Killing all posts from Google Groups
            The Usenet Improvement Project: http://improve-usenet.org
            Blinky: http://blinkynet.net

            Comment

            • Chuck [Sbc\)

              #7
              Re: how to reference an html page from another html page

              I'm new to this Group stuff...
              I have no idea what the heck you are talking about.
              what does Don't POST on TOP of what you're responding to. < mean???
              >

              "Blinky the Shark" <no.spam@box.in validwrote in message
              news:pan.2008.0 3.09.03.31.08.5 26358@thurston. blinkynet.net.. .
              Chuck [Sbc) wrote:
              >
              >I don't know "Please don't top-post"
              >
              Don't POST on TOP of what you're responding to.
              >
              >
              --
              Blinky
              Killing all posts from Google Groups
              The Usenet Improvement Project: http://improve-usenet.org
              Blinky: http://blinkynet.net
              >

              Comment

              • Blinky the Shark

                #8
                Re: how to reference an html page from another html page

                Chuck [Sbc) wrote:
                I'm new to this Group stuff...
                I have no idea what the heck you are talking about.
                what does Don't POST on TOP of what you're responding to. < mean???
                It means STOP REPLYING AT THE TOP OF THE POST. You know what "top" means,
                right? You know what "post" means, right? If so, put them together and
                use your head just a *little*. If not, look them up.


                --
                Blinky
                Killing all posts from Google Groups
                The Usenet Improvement Project: http://improve-usenet.org
                Blinky: http://blinkynet.net

                Comment

                • rf

                  #9
                  Re: how to reference an html page from another html page


                  "Chuck [Sbc)" <Cfolkes@sbcglo bal.netwrote in message
                  news:EDLAj.1508 3$0o7.2492@news svr13.news.prod igy.net...
                  I'm new to this Group stuff...
                  I have no idea what the heck you are talking about.
                  what does Don't POST on TOP of what you're responding to. < mean???
                  Forgotten how to use google?



                  The first hit defines it, the rest complain about it.

                  --
                  Richard.


                  Comment

                  • Blinky the Shark

                    #10
                    Re: how to reference an html page from another html page

                    rf wrote:
                    >
                    "Chuck [Sbc)" <Cfolkes@sbcglo bal.netwrote in message
                    news:EDLAj.1508 3$0o7.2492@news svr13.news.prod igy.net...
                    >I'm new to this Group stuff...
                    >I have no idea what the heck you are talking about.
                    >what does Don't POST on TOP of what you're responding to. < mean???
                    >
                    Forgotten how to use google?
                    >

                    >
                    The first hit defines it, the rest complain about it.
                    And there's this: http://blinkynet.net/comp/toppost.html


                    --
                    Blinky
                    Killing all posts from Google Groups
                    The Usenet Improvement Project: http://improve-usenet.org
                    Blinky: http://blinkynet.net

                    Comment

                    Working...