Ask a Question related to Macromedia Fireworks, Design and Development.
-
Murray *TMM* #1
Re: two sets of javascript?
mello:
I would need to see the code to comment.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
ANSWERS
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"mellocello" <webforumsuser@macromedia.com> wrote in message
news:bhj1k8$iha$1@forums.macromedia.com...using roundtrip editing from DWMX to FWMX and back to DWMX.> I have pages that were created using FW4 and now are updated and revisedbe two versions of JavaScript (one for NN4 and one for IE) to control the>
> When examining the JavaScript inside of the HTML document there seems to
images and rollovers imported from FW.update correctly.> When I update the images via updating PNG file the javascript does not> One set of javascript code updates and the other doesn't.
>
> Why is there two sets of script? Am I missing something?
>
>
>
>
>
>
Murray *TMM* Guest
-
Converting between character sets
If I have a column with the word Dürer in it can I use the Convert function to convert it to Durer by down-shifting into a 7 bit character set?! --... -
Why did Photoshop CS quit suddenly in the middle of making sets? Action sets
G4/450/dual/OSX33/1gigRAM/45gigHD/Photoshop CS Does anyone know why Photoshop CS quit suddenly in the middle of making Action sets, saying I had... -
CS quit suddenly in the middle of making Action sets Action sets,
G4/450/dual/OSX33/1gigRAM/45gigHD/Photoshop CS Does anyone know why Photoshop CS quit suddenly in the middle of making Action sets, saying I had... -
Array subtraction, like sets
Hey there, what is a nice way of doing what this looks like it should do: @a=(,,); @b=(,); @c=@a-@b; and have @c == (); Is there a good... -
merging found sets????
Hi all I'm hoping you can help out... I've got 2 databases - each containg list of people going to various events one database is members... -
mellocello webforumsuser@macromedia.com #2
Re: two sets of javascript?
The code is attached
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>haha noard</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
<!--
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
function mmLoadMenus() {
if (window.mm_menu_0314114643_0) return;
window.mm_menu_0314114643_0 = new Menu("root",228,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314114643_0.addMenuItem("P to B (Text)","window.open('../Shuttle%20Bus%20Schedule7apr.doc', '_blank');");
mm_menu_0314114643_0.addMenuItem("P to R ","window.open('../flash/Rosslynbus.exe', '_blank');");
mm_menu_0314114643_0.addMenuItem("Printable B us Schedules","window.open('../transit/bus_Apr02.pdf', '_blank');");
mm_menu_0314114643_0.addMenuItem("Metrobus Re placement Route","window.open('../temp/Mass Transit Route Map.ppt', '_blank');");
mm_menu_0314114643_0.addMenuItem("Metrobus Re placement Route Schedule","window.open(' ../temp/Metro Shuttle.xls', '_blank');");
mm_menu_0314114643_0.hideOnMouseOut=true;
mm_menu_0314114643_0.menuBorder=1;
mm_menu_0314114643_0.menuLiteBgColor='#ffffff';
mm_menu_0314114643_0.menuBorderBgColor='#2c2c69';
mm_menu_0314114643_0.bgColor='#555555';
window.mm_menu_0314120057_1 = new Menu("root",195,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314120057_1.addMenuItem("A F Ai m Points","window.open('../MsgBoard/AimPoints0303.doc', '_blank');");
mm_menu_0314120057_1.addMenuItem("Bldg Evacuation Procedures","window.open('..Evacua tionProcedures.doc', '_blank');");
mm_menu_0314120057_1.addMenuItem("Safe Room&n bsp;Procedures","window.open('../SafeRoomproc.htm', '_blank');");
mm_menu_0314120057_1.hideOnMouseOut=true;
mm_menu_0314120057_1.menuBorder=1;
mm_menu_0314120057_1.menuLiteBgColor='#ffffff';
mm_menu_0314120057_1.menuBorderBgColor='#2c2c69';
mm_menu_0314120057_1.bgColor='#555555';
window.mm_menu_0314115458_1 = new Menu("root",80,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314115458_1.addMenuItem("View Events ","window.open('../Msgboard/msglist.asp', '_blank');");
mm_menu_0314115458_1.addMenuItem("Add An  ;Event","window.open('../Msgboard/msgfill.asp', '_blank');");
mm_menu_0314115458_1.hideOnMouseOut=true;
mm_menu_0314115458_1.menuBorder=1;
mm_menu_0314115458_1.menuLiteBgColor='#ffffff';
mm_menu_0314115458_1.menuBorderBgColor='#2c2c69';
mm_menu_0314115458_1.bgColor='#555555';
window.mm_menu_0314120532_2 = new Menu("root",132,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314120532_2.addMenuItem("BBQ Grill&n bsp;Safety","window.open('../BBQGrillSafety.htm', '_blank');");
mm_menu_0314120532_2.addMenuItem("Safety Day& nbsp;2002","window.open('../safetydaypackage.doc', '_blank');");
mm_menu_0314120532_2.addMenuItem("Fire Preven tion","window.open('../fireprevention.ppt', '_blank');");
mm_menu_0314120532_2.addMenuItem("Other Safet y Recalls","window.open('http://www.cpsc.gov/cpscpub/prerel/prerel.html', '_blank');");
mm_menu_0314120532_2.hideOnMouseOut=true;
mm_menu_0314120532_2.menuBorder=1;
mm_menu_0314120532_2.menuLiteBgColor='#ffffff';
mm_menu_0314120532_2.menuBorderBgColor='#2c2c69';
mm_menu_0314120532_2.bgColor='#555555';
mm_menu_0314120532_2.writeMenus();
} // mmLoadMenus()
//-->
</script>
<script language="JavaScript1.2" src="images/mm_menu.js"></script>
<script language="JavaScript1.2" src="mm_menu.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
function mmLoadMenus() {
if (window.mm_menu_0314114643_0) return;
window.mm_menu_0314114643_0 = new Menu("root",145,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314114643_0.addMenuItem("P to B ","window.open('../Msgboard/shuttle0403.htm', '_blank');");
mm_menu_0314114643_0.addMenuItem("P to R ","window.open('../Flash/Rosslynbus.exe', '_blank');");
mm_menu_0314114643_0.addMenuItem("Printable B us Schedules","window.open('../transit/bus-may01.pdf', '_blank');");
mm_menu_0314114643_0.hideOnMouseOut=true;
mm_menu_0314114643_0.menuBorder=1;
mm_menu_0314114643_0.menuLiteBgColor='#ffffff';
mm_menu_0314114643_0.menuBorderBgColor='#2c2c69';
mm_menu_0314114643_0.bgColor='#555555';
window.mm_menu_0314120057_1 = new Menu("root",195,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314120057_1.addMenuItem("A F Ai m Points","window.open('../MsgBoard/AimPoints0303.doc', '_blank');");
mm_menu_0314120057_1.addMenuItem("Bldg Evacuation Procedures","window.open('../EvacuationProcedures.doc', '_blank');");
mm_menu_0314120057_1.addMenuItem("Safe Room&n bsp;Procedures","window.open('../SafeRoomproc.htm', '_blank');");
mm_menu_0314120057_1.hideOnMouseOut=true;
mm_menu_0314120057_1.menuBorder=1;
mm_menu_0314120057_1.menuLiteBgColor='#ffffff';
mm_menu_0314120057_1.menuBorderBgColor='#2c2c69';
mm_menu_0314120057_1.bgColor='#555555';
window.mm_menu_0314115458_1 = new Menu("root",80,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314115458_1.addMenuItem("View Events ","window.open(../Msgboard/msglist.asp', '_blank');");
mm_menu_0314115458_1.addMenuItem("Add An  ;Event","window.open('../Msgboard/msgfill.asp', '_blank');");
mm_menu_0314115458_1.hideOnMouseOut=true;
mm_menu_0314115458_1.menuBorder=1;
mm_menu_0314115458_1.menuLiteBgColor='#ffffff';
mm_menu_0314115458_1.menuBorderBgColor='#2c2c69';
mm_menu_0314115458_1.bgColor='#555555';
window.mm_menu_0314120532_2 = new Menu("root",132,18,"Arial, Helvetica, sans-serif",12,"#2c2c69","#e1e1f2","#e1e1f2","#2c2c69", "left","middle",3,0,800,-5,7,true,true,true,0,true,true);
mm_menu_0314120532_2.addMenuItem("BBQ Grill&n bsp;Safety","window.open('../BBQGrillSafety.htm', '_blank');");
mm_menu_0314120532_2.addMenuItem("Safety Day& nbsp;2002","window.open('../safetydaypackage.doc', '_blank');");
mm_menu_0314120532_2.addMenuItem("Fire Preven tion","window.open('../temp/fireprevention.ppt', '_blank');");
mm_menu_0314120532_2.addMenuItem("Other Safet y Recalls","window.open('http://www.cpsc.gov/cpscpub/prerel/prerel.html', '_blank');");
mm_menu_0314120532_2.hideOnMouseOut=true;
mm_menu_0314120532_2.menuBorder=1;
mm_menu_0314120532_2.menuLiteBgColor='#ffffff';
mm_menu_0314120532_2.menuBorderBgColor='#2c2c69';
mm_menu_0314120532_2.bgColor='#555555';
mm_menu_0314120532_2.writeMenus();
} // mmLoadMenus()
//-->
MM_reloadPage(true);
//-->
</script>
mellocello webforumsuser@macromedia.com Guest



Reply With Quote

