homepage Welcome to WebmasterWorld Guest from 54.205.98.35
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Dreamweaver cs3 Flash & Fireworks problems
snablap




msg:4002306
 6:13 pm on Oct 6, 2009 (gmt 0)

Hi all, I'm new here and to web design...I tried out Dreamweaver CS3 to make a website...here's my problem.

Everything seems to work fine on my local PC but when I upload to my customers server and to my ISP's server I get javascript:; errors relating to my Fireworks CS3 created navbar on both servers and my Flash clip doesn't show up at all on my customers server although it does work fine on my ISP's server. Can anyone help, I'm going crazy trying to figure this out!

Thanks...Snablap

[edited by: mack at 7:01 pm (utc) on Oct. 6, 2009]
[edit reason] No urls please [/edit]

 

mack




msg:4002344
 7:08 pm on Oct 6, 2009 (gmt 0)

Hi snablap and welcome to WebmasterWorld.

I had to edit your message because our tos doesn't allow links to specific websites. What we try and do is try and be as general as possible when describing our issue, then hopefuly others will be able to offer some help.

Im sure you will have checked, but is it possibly a file paths issue?

Mack.

snablap




msg:4002348
 7:17 pm on Oct 6, 2009 (gmt 0)

Hi Mack and thanks...like I say I'm really new and learning at this stuff...I think I know what you mean by paths but not sure...is it OK to include the source code like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hoisting Ltd...Media</title>
<style type="text/css">
<!--
@import url("navbar6/navbar6.css");

body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-color: #FFFFFF;
}

/* Tips for Elastic layouts
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.oneColElsCtrHdr #container {
width: 46em; /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #ffcc33;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.oneColElsCtrHdr #header {
padding-top: 0;
padding-right: 5px;
padding-bottom: 0;
padding-left: 5px;
background-color: #FFFFFF;
}
.oneColElsCtrHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.oneColElsCtrHdr #mainContent {
padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
background: #FFFFFF;
}
.oneColElsCtrHdr #footer {
padding: 0 10px;
background-color: #FFFFFF;
}
.oneColElsCtrHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.style1 {font-family: Arial, Helvetica, sans-serif}
.style3 {
font-family: Arial, Helvetica, sans-serif;
color: #FFCC00;
}
.style4 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #FFCC00;
}
a:link {
color: #FFCC00;
}
a:visited {
color: #FFCC00;
}
a:hover {
color: #D43F00;
}

-->
</style>
<script language="JavaScript1.2" type="text/javascript" src="navbar5/mm_css_menu.js"></script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_CheckFlashVersion(reqVerStr,msg){
with(navigator){
var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
if (!isIE ¦¦ !isWin){
var flashVer = -1;
if (plugins && plugins.length > 0){
var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
if (desc == "") flashVer = -1;
else{
var descArr = desc.split(" ");
var tempArrMajor = descArr[2].split(".");
var verMajor = tempArrMajor[0];
var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
flashVer = parseFloat(verMajor + "." + verMinor);
}
}
// WebTV has Flash Player 4 or lower -- too low for video
else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

var verArr = reqVerStr.split(",");
var reqVer = parseFloat(verArr[0] + "." + verArr[2]);

if (flashVer < reqVer){
if (confirm(msg))
window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
}
}
}
}
</script>
</head>

<body class="oneColElsCtrHdr" onload="MM_CheckFlashVersion('8,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">

<div id="container">
<div id="header">
<h1><img src="images/hdbar5.jpg" alt="Hoisting Ltd." width="721" height="134" hspace="2" /><br />
</h1>
<!-- end #header -->
</div>
<div id="FWTableContainer1252245153">
<table border="0" cellpadding="0" cellspacing="0" width="710">
<!-- fwtable fwsrc="navbar6.png" fwpage="Page 1" fwbase="navbar6.gif" fwstyle="Dreamweaver" fwdocid = "1252245153" fwnested="0" -->
<tr>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="6" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="126" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="16" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="126" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="16" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="126" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="16" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="126" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="17" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="126" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="9" height="1" border="0" id="undefined_2" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="1" height="1" border="0" id="undefined_2" /></td>
</tr>
<tr>
<td colspan="11"><img name="navbar6_r1_c1" src="navbar6/navbar6_r1_c1.gif" width="710" height="6" border="0" id="navbar6_r1_c1" alt="" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="1" height="6" border="0" id="undefined_2" /></td>
</tr>
<tr>
<td rowspan="2"><img name="navbar6_r2_c1" src="navbar6/navbar6_r2_c1.gif" width="6" height="31" border="0" id="navbar6_r2_c1" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0617132216_0', 'MMMenu0617132216_0',0,25,'navbar6_r2_c2');"><img name="navbar6_r2_c2" src="navbar6/navbar6_r2_c2.gif" width="126" height="25" border="0" id="navbar6_r2_c2" alt="" /></a></td>
<td rowspan="2"><img name="navbar6_r2_c3" src="navbar6/navbar6_r2_c3.gif" width="16" height="31" border="0" id="navbar6_r2_c3" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0617132216_1', 'MMMenu0617132216_1',0,25,'navbar6_r2_c4');"><img name="navbar6_r2_c4" src="navbar6/navbar6_r2_c4.gif" width="126" height="25" border="0" id="navbar6_r2_c4" alt="" /></a></td>
<td rowspan="2"><img name="navbar6_r2_c5" src="navbar6/navbar6_r2_c5.gif" width="16" height="31" border="0" id="navbar6_r2_c5" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0617132216_2', 'MMMenu0617132216_2',0,25,'navbar6_r2_c6');"><img name="navbar6_r2_c6" src="navbar6/navbar6_r2_c6.gif" width="126" height="25" border="0" id="navbar6_r2_c6" alt="" /></a></td>
<td rowspan="2"><img name="navbar6_r2_c7" src="navbar6/navbar6_r2_c7.gif" width="16" height="31" border="0" id="navbar6_r2_c7" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0617132216_3', 'MMMenu0617132216_3',0,25,'navbar6_r2_c8');"><img name="navbar6_r2_c8" src="navbar6/navbar6_r2_c8.gif" width="126" height="25" border="0" id="navbar6_r2_c8" alt="" /></a></td>
<td rowspan="2"><img name="navbar6_r2_c9" src="navbar6/navbar6_r2_c9.gif" width="17" height="31" border="0" id="navbar6_r2_c9" alt="" /></td>
<td><a href="javascript:;" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0617132216_4', 'MMMenu0617132216_4',0,25,'navbar6_r2_c10');"><img name="navbar6_r2_c10" src="navbar6/navbar6_r2_c10.gif" width="126" height="25" border="0" id="navbar6_r2_c10" alt="" /></a></td>
<td rowspan="2"><img name="navbar6_r2_c11" src="navbar6/navbar6_r2_c11.gif" width="9" height="31" border="0" id="navbar6_r2_c11" alt="" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="1" height="25" border="0" id="undefined_2" /></td>
</tr>
<tr>
<td><img name="navbar6_r3_c2" src="navbar6/navbar6_r3_c2.gif" width="126" height="6" border="0" id="navbar6_r3_c2" alt="" /></td>
<td><img name="navbar6_r3_c4" src="navbar6/navbar6_r3_c4.gif" width="126" height="6" border="0" id="navbar6_r3_c4" alt="" /></td>
<td><img name="navbar6_r3_c6" src="navbar6/navbar6_r3_c6.gif" width="126" height="6" border="0" id="navbar6_r3_c6" alt="" /></td>
<td><img name="navbar6_r3_c8" src="navbar6/navbar6_r3_c8.gif" width="126" height="6" border="0" id="navbar6_r3_c8" alt="" /></td>
<td><img name="navbar6_r3_c10" src="navbar6/navbar6_r3_c10.gif" width="126" height="6" border="0" id="navbar6_r3_c10" alt="" /></td>
<td><img src="navbar6/spacer.gif" alt="" name="undefined_2" width="1" height="6" border="0" id="undefined_2" /></td>
</tr>
</table>
<div id="MMMenuContainer0617132216_0">
<div id="MMMenu0617132216_0" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"> <a href="index.htm" id="MMMenu0617132216_0_Item_0" class="MMMIFVStyleMMMenu0617132216_0" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_0');"> HOME </a> <a href="info.htm" id="MMMenu0617132216_0_Item_1" class="MMMIVStyleMMMenu0617132216_0" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_0');"> COMPANY&nbsp;INFO </a> <a href="careers.htm" id="MMMenu0617132216_0_Item_2" class="MMMIVStyleMMMenu0617132216_0" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_0');"> CAREERS </a> <a href="media.htm" id="MMMenu0617132216_0_Item_3" class="MMMIVStyleMMMenu0617132216_0" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_0');"> MEDIA </a> </div>
</div>
<div id="MMMenuContainer0617132216_1">
<div id="MMMenu0617132216_1" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"> <a href="service.htm" id="MMMenu0617132216_1_Item_0" class="MMMIFVStyleMMMenu0617132216_1" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_1');"> SERVICE </a> <a href="inspect.htm" id="MMMenu0617132216_1_Item_1" class="MMMIVStyleMMMenu0617132216_1" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_1');"> SERVICE&nbsp;&amp;&nbsp;INSPECTION </a> </div>
</div>
<div id="MMMenuContainer0617132216_2">
<div id="MMMenu0617132216_2" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"> <a href="products.htm" id="MMMenu0617132216_2_Item_0" class="MMMIFVStyleMMMenu0617132216_2" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_2');"> PRODUCTS </a> <a href="parts.htm" id="MMMenu0617132216_2_Item_1" class="MMMIVStyleMMMenu0617132216_2" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_2');"> PARTS </a> </div>
</div>
<div id="MMMenuContainer0617132216_3">
<div id="MMMenu0617132216_3" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"> <a href="rentals.htm" id="MMMenu0617132216_3_Item_0" class="MMMIFVStyleMMMenu0617132216_3" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_3');"> RENTALS </a> <a href="used.htm" id="MMMenu0617132216_3_Item_1" class="MMMIVStyleMMMenu0617132216_3" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_3');"> USED&nbsp;EQUIPMENT </a> </div>
</div>
<div id="MMMenuContainer0617132216_4">
<div id="MMMenu0617132216_4" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();"> <a href="contact.htm" id="MMMenu0617132216_4_Item_0" class="MMMIFVStyleMMMenu0617132216_4" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_4');"> CONTACT&nbsp;US </a> <a href="links.htm" id="MMMenu0617132216_4_Item_1" class="MMMIVStyleMMMenu0617132216_4" onmouseover="MM_menuOverMenuItem('MMMenu0617132216_4');"> LINKS </a> </div>
</div>
</div>
<div id="mainContent">
<h2 class="style3">Media</h2>
<p class="style1">We can help you be more cost effective.</p>
<p class="style1">Our focus is on <em>customers</em> first.</p>
<p class="style4"><a href="tiltviewer/index.html" target="_blank">Click For Photo Gallery</a> </p>
<p class="style4">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=flash2/Doors&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="240" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=flash2/Doors&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=flash2/Doors&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="320" height="240" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object></noscript>
</p>
<p class="style4">&nbsp;</p>
<!-- end #mainContent --></div>
<div id="footer">
<p><img src="images/footer1.gif" alt="Hoisting Ltd." width="695" height="43" /></p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>

rocknbil




msg:4003079
 5:05 pm on Oct 7, 2009 (gmt 0)

Welcome aboard snablap.

Are the two files here uploaded with the project?

<script language="JavaScript1.2" type="text/javascript" src="navbar5/mm_css_menu.js"></script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

Check for case sensitivity of the directory and file names too, AC_RunActiveContent.js is NOT the same as ac_runactivecontent.js on most systems; Scripts and scripts are also not the same thing.

If they ARE uploaded with the project, make sure any path references in them are correct. When we say path, we mean the system path, the indication of directories, to files. So in the above example,

navbar5/mm_css_menu.js

the "path" is: start at domain root, descend into the directory/folder "navbar5" and locate the file mm_css_menu.js. That is the relative path to that file.

[rant]Good grief I detest what DW does to code. Good luck with your project.[/rant]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved