Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Wynnefield #1
Not able to preview javascript results in browser
i have inherited a web site with several -- <script language="Javascript"
src="../scripts/xxxx.js"></script> -- statements in each page, and i cannot see
the images or navigation bars these scripts are building when i preview in any
browser. not having much experience with javascript, i assume this means they
are "server side" and i need to set up a test server with some sort of
interpreter installed on my laptop to see their results in preview mode? ...
please help
thank you ... wynne
Wynnefield Guest
-
PDF Preview in Browser
I am trying to figure out how I can obtain partial PDF content for browser display via JSP. The idea is that I have an existing directory of PDF... -
Browser preview
Can anybody help a complete beginner in ColdFusion MX7.? I have downloaded the trial version and have set up my site according to the "Getting... -
Movie won't preview in browser!
Windows XP Dreamweaver Flash 5 In Dreamweaver I have inserted an .swf file into an html file. When I F12(preview in browser) the page comes up... -
Preview In Browser
Hi, I am having a problem previewing my page in a NEW browser window. If IE is not open, it will open a new window, but if a webpage is already... -
Question about Preview in Browser
"expedite!" webforumsuser@macromedia.com wrote: for the most part. My question is about previewing a web page in the browser. My website (that... -
Nancy Gill #2
Re: Not able to preview javascript results in browser
Actually .. JavaScript is usually client side .. at least navigational type
scripts. You should be able to see them .. is JavaScript turned on in your
browser? I also notice that you are going up a level to find the script ..
do you have the site set up correctly so the script is being found?
The kind of JavaScript that is server side is ASP/JS.
--
Nancy Gill
Team Macromedia Volunteer for Dreamweaver MX/UltraDev
[url]http://www.macromedia.com/go/team/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
"Wynnefield" <webforumsuser@macromedia.com> wrote in message
news:d5892e$6fg$1@forums.macromedia.com...cannot see> i have inherited a web site with several -- <script language="Javascript"
> src="../scripts/xxxx.js"></script> -- statements in each page, and iany> the images or navigation bars these scripts are building when i preview inthey> browser. not having much experience with javascript, i assume this means....> are "server side" and i need to set up a test server with some sort of
> interpreter installed on my laptop to see their results in preview mode?> please help
>
> thank you ... wynne
>
Nancy Gill Guest
-
Wynnefield #3
Re: Not able to preview javascript results in browser
hi nancy ... thank you for the rapid response.
the scripts are being "found", as the browser preview is formatted correctly;
however, the images the scripts build on the navigation bar only show the alt
text, instead of the images, and none of the text links show on the left menu
structure built by the javascript below. the strange thing is this exact same
code works just fine on our test and production web servers ... my preview
results are the same in IE, Firefox and Netscape ... missing images and text
links described by the javascripts. perhaps if i showed you some code??
press.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META http-equiv=imagetoolbar content=no>
<META content=J.C. name=author>
<STYLE type=text/css>
BODY {
FONT-SIZE: 12px;
COLOR: black;
FONT-FAMILY: verdana;
background-image: url(../images/bg_steel.jpg);
}
TD {
FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana
}
INPUT {
FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana
}
.style1 {color: #0000FF}
</STYLE>
<script language="JavaScript" src="../scripts/menuStructure.js"></script>
<script language="JavaScript" src="../scripts/dncpIncludes.js"></script>
<script language="JavaScript"></script>
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
</HEAD>
<BODY bgColor=#e2e2e2 leftMargin=0 topMargin=0 marginheight="0"
marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle>
<SCRIPT language=JavaScript>
setTopNavigation();
frameTopPortion();
</SCRIPT>
</TD>
<TD vAlign=top width=500><!-- document content begin -->
<TABLE cellSpacing=0 cellPadding=0 width=495 border=0>
<TBODY>
<TR>
<TD colSpan=3><IMG src="../images/s.gif" width="45" height=45></TD>
</TR>
<TR>
<TD width=6 background=../images/border/inner_top_left.gif><IMG
height=38 src="../images/s.gif" width=6></TD>
<TD width=483 background=../images/border/inner_top.gif><IMG
src="../images/press/pr_inq_blbl.gif" alt=Press width=390
height=10 hspace=26
title=Company></TD>
<TD width=6 background=../images/border/inner_top_right.gif><IMG
height=38 src="../images/s.gif" width=6></TD>
</TR>
<TR>
<TD colSpan=3><TABLE height=500 cellSpacing=0 cellPadding=0
width=495 border=0>
<TBODY>
<TR>
<TD width=1 bgColor=#596a84></TD>
<TD vAlign=top align=middle><!-- inner content begin -->
<TABLE cellSpacing=0 cellPadding=0 width=389 border=0>
<TBODY>
<TR>
<TD><IMG height=15 src="../images/s.gif"
width=1><IMG height=177
src="../images/customers/cust_map.jpg" width=428
vspace=7><BR>
<BR>
<p><a href="nigeria_airport.htm"><strong>DynCorp Begins Work on West
Africa?s Most Advanced Airport</strong></a><br>
<strong>IRVING, TEXAS</strong> – <strong>May 2, 2005</strong> –
DynCorp International, a major provider of aviation services worldwide, is
designing and building the most modern and comprehensive airport facility in
West Africa.</p>
<p><a href="veritas.htm"><strong>Veritas Capital Acquires DynCorp
International</strong></a><br>
<strong>NEW YORK</strong> – <strong>December 12, 2004</strong> –
Veritas Capital, a leading private equity firm based in New York, announced
today it has reached a definitive agreement with Computer Sciences Corporation
(NYSE: CSC) to purchase its DynCorp International LLC (“DynCorp
International” or the “Company”) subsidiary for $850 million.
The acquisition is expected to be completed in the first quarter of
2005.</p></TD>
</TR>
</TBODY>
</TABLE>
<!-- inner content end --></TD>
<TD width=1 bgColor=#596a84></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD background=../images/border/inner_bottom_left.gif><IMG
height=5
src="../images/s.gif" width=6></TD>
<TD background=../images/border/inner_bottom.gif></TD>
<TD background=../images/border/inner_bottom_right.gif><IMG
height=5
src="../images/s.gif" width=6></TD>
</TR>
</TBODY>
</TABLE>
<!-- document content end -->
<SCRIPT language=JavaScript>
frameBottomPortion();
dncpfooter();
initPage();
</SCRIPT>
</TR></TBODY></TABLE></BODY></HTML>
menuStructure.js:
titleAddon=function(t){
var ta="<br><div
style=\"font-size:10px;margin-left:24px;color:#ababab;margin-bottom:5px;\">";
ta+=t+"</div>";
return ta;
}
var siteMenu=[
{text:"Home",url:"",pid:"0.0.0.0.0",width:71},
{text:"Overview",url:"dyncorp/",pid:"1.0.1.0.0",width:89,
sub:[
{text:"Standards of Conduct",url:"standards.htm",pid:"1.1.3.0.0"},
{text:"Chronology of Events",url:"events.htm",pid:"1.1.4.0.0"},
{text:"Contact Us",url:"contact.htm",pid:"1.1.5.0.0"}
]
},
{text:"Overview",url:"capabilities/",pid:"2.0.2.0.0",width:104,
sub:[
{text:"Aviation Services",url:"as.htm",pid:"2.2.29.0.0"},
{text:"Aviation Engineering",url:"ae.htm",pid:"2.2.30.0.0"},
{text:"Facilities Operations ",url:"fos.htm",pid:"2.2.31.0.0"},
{text:"Contingency Support",url:"cs.htm",pid:"2.2.32.0.0"},
{text:"Program Management",url:"ipm.htm",pid:"2.2.33.0.0"},
{text:"Information Technology",url:"ict.htm",pid:"2.2.34.0.0"},
{text:"Logistics Support ",url:"lss.htm",pid:"2.2.35.0.0"},
{text:"Range Technical Services",url:"rts.htm",pid:"2.2.36.0.0"},
{text:"Personal Physical Security",url:"pps.htm",pid:"2.2.37.0.0"},
{text:"Marine Services",url:"ms.htm",pid:"2.2.38.0.0"}
]
},
{text:"Customers",url:"customers/",pid:"3.0.3.0.0",width:105},
{text:"Careers",url:"jobs/",pid:"4.0.4.0.0",width:88},
{text:"Overview",url:"press/",pid:"5.0.5.0.0",width:71,
sub:[
{text:"Press Releases",url:"veritas.htm",pid:"5.5.9.0.0",
sub:[
{text:"Veritas Capital",url:"veritas.htm",pid:"5.9.10.0.0"}
]
},
{text:"Events",url:"dihad2005.htm",pid:"5.5.12.0.0 ",
sub:[
{text:"IDEX 2005",url:"idex2005.htm",pid:"5.12.13.0.0"}
]
}
]
}
];
... thank you for your assistance ... wynne
Wynnefield Guest
-
Wynnefield #4
Re: Not able to preview javascript results in browser
after looking at some of the "Cannot find" messages, i.e.
file:///c:/document.htm, file:///c:/termsofuse/htm, i am thinking i might have
mucked up the linking structure by moving the web site files to my standard
site format, i.e. c:/company/website/, and these javascripts are expecting
things in the c: root directory?? what do ya think??
Wynnefield Guest
-
Unregistered #5
Not able to preview javascript results in browser
I think you must check the URL, it is bad since is not uploading your images
Unregistered Guest



Reply With Quote

