include file not showing on linked page

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default include file not showing on linked page

    i am experimenting with having an include file containing a navigation bar at the top. I assumed that to have a website like this you need to have the include command on every page. So I have tested it out on two pages. I have put the inlude statement into both and using one as the "home" page I have made a link from it to the other page. When I preview both pages separately on IE it shows the nav bar. However when I preview the "home" page, which again shows its nav bar, I then click the link to the other page. The other page displays with no nav bar.
    Would anyone be able to tell me why and what needs to be done to solve this.

    Also, so far I have included only htm files which have displayed ok when previewed in a browser. However I have read peoples messages on this site which say that includes only work with shtml extension. Is this correct?



    bob62 webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Include Files not showing up
      We have a website that has 2 include files (menus) on the left and right side of the page. When I load up the pages in Contribute, I just see the...
    2. #39653 [NEW]: BDB-4.5 include, older BDB linked
      From: vesely at tana dot it Operating system: unix PHP version: 4.4.4 PHP Bug Type: Reproducible crash Bug description: ...
    3. Strange Include problems: Repeat regions will Not workwith include file
      I have a strange problem. I have an Index.asp page and on that page I have a poll that is displays. This poll is located in a sub folder, so to call...
    4. proper way to include constants; as module or include file?
      I am developing a new perl module that uses constants with regular expressions. What is the proper way to offer this file? For example, my perl...
    5. Every time i try to display records on an include page i get repeats of the whole include
      hi guys and ladies, here is my problem and i would be most grateful if any one could shed some light on this please: i have a default.asp page...
  3. #2

    Default Re: include file not showing on linked page

    >
    >
    > Also, so far I have included only htm files which have displayed ok
    > when previewed in a browser. However I have read peoples messages on
    > this site which say that includes only work with shtml extension. Is
    > this correct?
    >
    >
    >
    htm or html files will work as includes but your server needs to be set
    up properly to accomodate them.

    Sounds to me as though you dont yet have the hang of include files. Your
    server needs to be able to support a server side language like php, asp,
    shtml, to be able to use these files.

    The question is does it support any of those?


    osgood Guest

  4. #3

    Default Re: include file not showing on linked page

    Thanks, those answers have been a great help.

    Just one other question about a navigation bar via an include file. I am not able to currently test the pages on a server just yet, so I was wondering:

    I have added typical effects to the nav bar, ie move mouse over it and it indents, click on it and it goes blue, etc. (This has been done using fireworks by the way.)
    So my question is, when you link to another page with the nav bar file included, by clicking on a navigation button; is the navigation bar from the include file found in the new page to be either, "reset" or, carrying the caracteristic of the "button" clicked now being blue.



    bob62 webforumsuser@macromedia.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139