Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > The difference between preview and real.

Reply
Thread Tools

The difference between preview and real.

 
 
Jason
Guest
Posts: n/a
 
      04-01-2004
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


 
Reply With Quote
 
 
 
 
Randy Webb
Guest
Posts: n/a
 
      04-01-2004
Jason wrote:
> 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.


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.javascript FAQ - http://jibbering.com/faq/
 
Reply With Quote
 
 
 
 
Jason
Guest
Posts: n/a
 
      04-08-2004
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" <> ???
news:z-OdnfqUPK4-kPHdRVn- ???...
> Jason wrote:
> > 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.

>
> 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.javascript FAQ - http://jibbering.com/faq/



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 04-15-2011 04:00 AM
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 01-06-2011 05:00 PM
Preview: Dystopia Preview Silverstrand Front Page News 0 02-05-2006 03:15 AM
Difference between bin and obj directories and difference between project references and dll references jakk ASP .Net 4 03-22-2005 09:23 PM
Exact difference between 'const char *' and 'char *', also diff between 'const' and 'static' Santa C Programming 1 07-17-2003 02:10 PM



Advertisments
 



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