0
Welcome Guest! Login
0 items Join Now

topmenu-mod in replicant2, roktopmenu.js

  • topmenu-mod in replicant2, roktopmenu.js

    Posted 16 years 5 days ago
    • Does anyone know how to have 2 of these menus on a page? It looks like the code to produce the actual menu is wrapped up in roktopmenu.js, but it's compressed. Anyone have a hint or have roktopmenu.js uncompressed? I've duplicated all of the CSS for a new menu and I'm pretty sure all that's left is the compressed code...Thanks in advance!
    • Roeland_A!'s Avatar
    • Roeland_A!
    • Preeminent Rocketeer
    • Posts: 10193
    • Thanks: 71

    Re: topmenu-mod in replicant2, roktopmenu.js

    Posted 16 years 4 days ago
    • The javascripts are copyrighted by RT, that is why they are packed and compressed.
      You do not need it to create two instances on the same page either. You just have to create two instances of the js menu code that is already contained within the index page itself if I am not mistaken. However, you just need to give the second instance a different name and do some work on the css as well, you will have to hardcode that though, the second menu will not be available as a joomla menu though, you thus lose the functionality of adding links through the admin area.
    • *Karma comes in many forms, my personal favourite is the random saucepan from the sky* J.Spencer 17-02-2009

Time to create page: 0.057 seconds