Firefox and drop down menu problem

Discussion in 'HTML & Website Design' started by mauroed79, Feb 26, 2005.

  1. #1
    Hi everybody. I have big problems to make my site accessible through Firefox browser, while it works fine on I.E. and Opera. Could you please tell me why the horizontal drop-down menu at this page http://stefanstennis.free.fr/photos/template/default/header.htm doesn't display at all in Firefox? Please help, 'cause i'm getting mad....
    thanks, Mauro
     
    mauroed79, Feb 26, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    MM_findObj does something wrong. If you replace it with document.getElementById, it will work:

    function MM_showHideLayers() { //v3.0
      var i,p,v,obj,args=MM_showHideLayers.arguments;
      for (i=0; i< (args.length-2); i+=3) 
    	if ((obj=[b]document.getElementById(args[i]))[/b]!=null) { 
    		v=args[i+2];
        		if (obj.style) { 
    			obj=obj.style; 
    			v=(v=='show')?'visible':(v='hide')?'hidden':v; 
    		}
        		obj.visibility=v; 
    	}
    }
    Code (markup):
    J.D.
     
    J.D., Feb 27, 2005 IP
  3. mauroed79

    mauroed79 Active Member

    Messages:
    56
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Ehy J.D.
    Are you a genius or what? I solved in less than 5 seconds what I thought was a big trouble... I don't know how to thank you!
    Mauro
     
    mauroed79, Feb 28, 2005 IP
  4. AnakNiAmin

    AnakNiAmin Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    take a look at this site: http://www.worldpartner.com/test/html/hjem.htm

    it works in IE but "no show" in firefox...

    pls need help
     
    AnakNiAmin, Oct 11, 2005 IP
  5. Mendota18

    Mendota18 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Could someone help me with procedure suggested by JD? I am retired professor of EE, so don't need "for dummies" explanation, but do I compile source code or can I find object code and if so, where?

    Thanks, Stephen G. Margolis, Senior citizen
     
    Mendota18, Jun 13, 2007 IP