iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-28-2005, 01:12 AM
WebProWorld Member
 
Join Date: Jan 2004
Location: Bangladesh
Posts: 25
Informer45 RepRank 0
Default java script code not working in mozilla

Hello.My prob is:
i have an dhtml menu.It supposed to appaer
when a mouseover action is performed.This works nicely in IE 6 but in Mozilla it doesnt work.
i know it is to do with versions.how do i solve it .

onmouseout="MM_timelinePlay('Timeline1');MM_timeli neGoto('Timeline1','1')"
onmouseover="MM_showHideLayers('document.layers[\'bereiche\']','document.all[\'bereiche\']','show','document.layers[\'unternehmen\']','document.all[\'unternehmen\']','hide','document.layers[\'service\']','document.all[\'service\']','hide','document.layers[\'mitarbeiter\']','document.all[\'mitarbeiter\']','hide','document.layers[\'termine\']','document.all[\'termine\']','hide','document.layers[\'meinsite\']','document.all[\'meinsite\']','hide','document.layers[\'edv\']','document.all[\'edv\']','hide','document.layers[\'personal\']','document.all[\'personal\']','hide','document.layers[\'technik\']','document.all[\'technik\']','hide','document.layers[\'geschaeftsfuehrung\']','document.all[\'geschaeftsfuehrung\']','hide','document.layers[\'betriebsrat\']','document.all[\'betriebsrat\']','hide','document.layers[\'finanzen\']','document.all[\'finanzen\']','hide','document.layers[\'pr\']','document.all[\'pr\']','hide','document.layers[\'entwicklung\']','document.all[\'entwicklung\']','hide','document.layers[\'verwaltung\']','document.all[\'verwaltung\']','hide','document.layers[\'kongresse\']','document.all[\'kongresse\']','hide','document.layers[\'messen\']','document.all[\'messen\']','hide','document.layers[\'marketing\']','document.all[\'marketing\']','hide','document.layers[\'einkauf\']','document.all[\'einkauf\']','hide','document.layers[\'capital\']','document.all[\'capital\']','hide','document.layers[\'capser\']','document.all[\'capser\']','hide','document.layers[\'gremien\']','document.all[\'gremien\']','hide','document.layers[\'internet\']','document.all[\'internet\']','hide');MM_timelineStop()">Assets</a>
</td>
__________________
The impossible doesnot Exist!
Reply With Quote
  #2 (permalink)  
Old 12-28-2005, 05:16 AM
WebProWorld Pro
 
Join Date: Sep 2005
Location: Manchester, UK
Posts: 254
mikesmith76 RepRank 0
Default

your problem is using document.all, its microsoft only so wont work in all cases in other browsers. try replacing the uses of document.all with document.getElementById, this may solve your problem
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

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 On



All times are GMT -4. The time now is 02:08 AM.



Search Engine Optimization by vBSEO 3.3.0