Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Javascript menu not working properly in Opera

Javascript menu not working properly in Opera

Scheduled Pinned Locked Moved Web Development
javascript
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Martin31088
    wrote on last edited by
    #1

    Hi guys, I'm having difficulty displaying my navigation bar in Opera. It's a menu bar with rollover buttons and drop down menu. When a drop down item is clicked it changes the src of the iframe below. It's working perfectly in IE, Firefox and Chrome but not in Opera. The 6 parent menu items display, with working rollovers, but i get no dropdowns from any of them. I've looked through my opera settings and can't seem to find anything. If anyone has any suggestions as to why this would happen I would be very grateful to hear them. Best regards Martin

    M 1 Reply Last reply
    0
    • M Martin31088

      Hi guys, I'm having difficulty displaying my navigation bar in Opera. It's a menu bar with rollover buttons and drop down menu. When a drop down item is clicked it changes the src of the iframe below. It's working perfectly in IE, Firefox and Chrome but not in Opera. The 6 parent menu items display, with working rollovers, but i get no dropdowns from any of them. I've looked through my opera settings and can't seem to find anything. If anyone has any suggestions as to why this would happen I would be very grateful to hear them. Best regards Martin

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      post code and maybe we can help - its probably a styles issue

      Neonlight

      M 1 Reply Last reply
      0
      • M Marc Firth

        post code and maybe we can help - its probably a styles issue

        Neonlight

        M Offline
        M Offline
        Martin31088
        wrote on last edited by
        #3

        In the Head <script type="text/javascript"> <!-- function F_loadRollover(){} function F_roll(){} //--> </script> <script type="text/javascript" src="./assets/rollover.js"></script> <style type="text/css" title="NOF_STYLE_SHEET"> <!-- DIV#NavigationBar3_1LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_2LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_3LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_4LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_5LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_6LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } --> </style> In the body to display the parent menu items <code> <td width="139">                                                 <a href="javascript:void(0)" style="cursor:default; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton1','',0);F_roll('NavigationButton1',1)" onMouseOut="F_roll('NavigationButton1',0)">                                                       <img id="NavigationButton1" name="NavigationButton1" height="20" width="139" src="./assets/images/autogen/Core_Nbutton1_1.gif" onmouseover="F_loadRollover(this,'Core_NRbutton2_1.gif',new Array('NavigationBar3_1', 'vertical', 'fadeBottom', 0, 20))" border="0" alt="Core" title="Core" />                                                 </a>                                           </td>                                           <td width="139"> &nb

        M 1 Reply Last reply
        0
        • M Martin31088

          In the Head <script type="text/javascript"> <!-- function F_loadRollover(){} function F_roll(){} //--> </script> <script type="text/javascript" src="./assets/rollover.js"></script> <style type="text/css" title="NOF_STYLE_SHEET"> <!-- DIV#NavigationBar3_1LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_2LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_3LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_4LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_5LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } DIV#NavigationBar3_6LYR { position:absolute; visibility:hidden; top: 0; left: 0; z-index:1; } --> </style> In the body to display the parent menu items <code> <td width="139">                                                 <a href="javascript:void(0)" style="cursor:default; text-decoration:none;" onMouseOver="F_loadRollover('NavigationButton1','',0);F_roll('NavigationButton1',1)" onMouseOut="F_roll('NavigationButton1',0)">                                                       <img id="NavigationButton1" name="NavigationButton1" height="20" width="139" src="./assets/images/autogen/Core_Nbutton1_1.gif" onmouseover="F_loadRollover(this,'Core_NRbutton2_1.gif',new Array('NavigationBar3_1', 'vertical', 'fadeBottom', 0, 20))" border="0" alt="Core" title="Core" />                                                 </a>                                           </td>                                           <td width="139"> &nb

          M Offline
          M Offline
          Marc Firth
          wrote on last edited by
          #4

          well your rollover images look fine. but thats   not the problem here is it? is the site online?

          Neonlight

          M 1 Reply Last reply
          0
          • M Marc Firth

            well your rollover images look fine. but thats   not the problem here is it? is the site online?

            Neonlight

            M Offline
            M Offline
            Martin31088
            wrote on last edited by
            #5

            Afraid not, this is just development on our existing site.

            M 1 Reply Last reply
            0
            • M Martin31088

              Afraid not, this is just development on our existing site.

              M Offline
              M Offline
              Marc Firth
              wrote on last edited by
              #6

              Well I suggest you do a search on google for "opera css issues" or similar and find out if ur dropdowns use any of the problematic css. there are usually hacks to stop certain browsers doing certain things - but unfortunately, I don't tend to support opera because of how few people use it - so I can't give you examples. You could try looking in Firefox's error log (Tools > error console) - that might point you in the right direction with warnings. And better still, if Opera has a similar log, do the same.

              Neonlight

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups