The difference between preview and real.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason

    #1

    The difference between preview and real.

    Hi,

    I want to have a special layer show up on all my pages, the layer page is
    Layer.htm. So I have this line in MyPage.htm,
    <!--#include file="Layer.htm "-->
    and the preview is fine, with the layer show up on the top of the
    MyPage.htm.
    However, in real world, when I browse to my website and point to MyPage.htm,
    the layer just disappear.
    Would anyone tell me how to fix thsi problem? I am using DreamWeaver.
    Any help will be appreciated.

    Jason


  • Randy Webb

    #2
    Re: The difference between preview and real.

    Jason wrote:[color=blue]
    > Hi,
    >
    > I want to have a special layer show up on all my pages, the layer page is
    > Layer.htm. So I have this line in MyPage.htm,
    > <!--#include file="Layer.htm "-->
    > and the preview is fine, with the layer show up on the top of the
    > MyPage.htm.
    > However, in real world, when I browse to my website and point to MyPage.htm,
    > the layer just disappear.
    > Would anyone tell me how to fix thsi problem? I am using DreamWeaver.
    > Any help will be appreciated.[/color]

    This has nothing to do with client-side javascript. Open the real page,
    view the source and see if its actually including the file Layer.htm in
    the source code.

    If its not showing in the source, figure out why (probably a path problem).

    If its showing in the source, then see what else in the page might be
    preventing it from displaying on the page.


    --
    Randy
    Chance Favors The Prepared Mind
    comp.lang.javas cript FAQ - http://jibbering.com/faq/

    Comment

    • Jason

      #3
      Re: The difference between preview and real.

      Then include .html file method is not working 'cuase I'm using Tomcat,
      and in the Tomcat I have to modify some little things such as
      1.renaming servlets-ssi.renametojar to servlets-ssi.jar.
      2.Uncomment some tags in the web.xml file.
      Now the ontop layer is showing fine, however I have to adjust some space for
      a nicer view.
      Thanks.


      "Randy Webb" <hikksnotathome @aol.com> ???
      news:z-OdnfqUPK4-kPHdRVn-sA@comcast.com ???...[color=blue]
      > Jason wrote:[color=green]
      > > Hi,
      > >
      > > I want to have a special layer show up on all my pages, the layer page[/color][/color]
      is[color=blue][color=green]
      > > Layer.htm. So I have this line in MyPage.htm,
      > > <!--#include file="Layer.htm "-->
      > > and the preview is fine, with the layer show up on the top of the
      > > MyPage.htm.
      > > However, in real world, when I browse to my website and point to[/color][/color]
      MyPage.htm,[color=blue][color=green]
      > > the layer just disappear.
      > > Would anyone tell me how to fix thsi problem? I am using DreamWeaver.
      > > Any help will be appreciated.[/color]
      >
      > This has nothing to do with client-side javascript. Open the real page,
      > view the source and see if its actually including the file Layer.htm in
      > the source code.
      >
      > If its not showing in the source, figure out why (probably a path[/color]
      problem).[color=blue]
      >
      > If its showing in the source, then see what else in the page might be
      > preventing it from displaying on the page.
      >
      >
      > --
      > Randy
      > Chance Favors The Prepared Mind
      > comp.lang.javas cript FAQ - http://jibbering.com/faq/[/color]


      Comment

      Working...