javascript code doesn't work in firefox - help

  • firedog
  • Born
  • Born
  • firedog
  • Posts: 2
  • Loc: Israel

Post 3+ Months Ago

Hi-

This is from an old, but still in use webpage. I don't think firefox was considered when the page was written. What should I do to get it to work both in IE and Firefox?
Quote:
<SCRIPT>
<!--
function F_doLoaded() {
document.main = new F_cMain();
document.objectModel = new Object();
F_OM('Layout','LayoutLYR', 'doc', '', new Array());
F_OM('private' , '', 'rad', 'Layout',new Array(
'Clicked','corporate events','Hide','',0,
'Clicked','private events','Show','',0),'Text5FORM',0,'event type','Private');
F_OM('event type coporate' , '', 'rad', 'Layout',new Array(
'Clicked','private events','Hide','',0,
'Clicked','corporate events','Show','',0),'Text5FORM',0,'event type','Corporate');
F_OM('private events' , 'private eventsLYR', 'lyr', 'Layout',null,'',0);
F_OM('FormsButton1' , '', 'btn', 'private events',new Array(
'Clicked','Layout','Go To URL',F_Parm('URL','./wedding_planner.html','Target Frame','Other','Other Target','_parent'),0),'Text5FORM',0,'weddingsbutton');
F_OM('FormsButton3' , '', 'btn', 'private events',new Array(
'Clicked','Layout','Go To URL',F_Parm('URL','./bar_bat_mitzvah_planner.html','Target Frame','Other','Other Target','_parent'),0),'Text5FORM',0,'barmitzvahbutton');
F_OM('FormsButton4' , '', 'btn', 'private events',new Array(
'Clicked','Layout','Go To URL',F_Parm('URL','./bar_bat_mitzvah_planner.html','Target Frame','Other','Other Target','_parent'),0),'Text5FORM',0,'batmitzvahbutton');
F_OM('corporate events' , 'corporate eventsLYR', 'lyr', 'Layout',null,'',0);
F_OM('FormsButton5' , '', 'btn', 'corporate events',new Array(
'Clicked','Layout','Go To URL',F_Parm('URL','./corporate_planner.html','Target Frame','Other','Other Target','_parent'),0),'Text5FORM',0,'seminarbutton');
F_OM('FormsButton7' , '', 'btn', 'corporate events',new Array(
'Clicked','Layout','Go To URL',F_Parm('URL','./corporate_planner.html','Target Frame','Other','Other Target','_parent'),0),'Text5FORM',0,'confbutton');
F_OM('FormsButton8' , '', 'btn', 'corporate events',new Array(
'Clicked','Layout','Go To URL',F_Parm('URL','./corporate_planner.html','Target Frame','Other','Other Target','_parent'),0),'Text5FORM',0,'launchbutton');
F_pageLoaded('Layout');
}
//-->
</SCRIPT>


Thanks to anyone who helps
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Oy, that makes my brain hurt. F_OM, F_Parm...very descriptive. Must be an old Dreamweaver special or something. Anywho, there's not enough here to tell us what's going on.
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Posts: 481

Post 3+ Months Ago

Can you look for and post the code that defines F_OM and other functions?
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Oop, correction - it's not Dreamweaver, it's Fusion-generated code, apparently.
  • firedog
  • Born
  • Born
  • firedog
  • Posts: 2
  • Loc: Israel

Post 3+ Months Ago

Hi-

Thanks for your responses. I found the scripts that define the functions, but they are rather long for a forum post. If one of you is willing to give them a quick glance at the attachments and let me know what kind of changes I have to make, I'd appreciate it.

I'm not a great coder, but if you clue me in on what needs to be done, I'll figure it out.
Attachments:
scriptstoupload.zip

(16.39 KiB) Downloaded 193 times

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 76 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.