Bounty Posted July 6, 2010 Share Posted July 6, 2010 Okay ive had this forum running very well but i missed 6monthly payment and they shut my host down, luckily i have backup with this cool dynamic theme..i hosted new forum with same theme on byethost so u can see what i want... Anyways what i want to do (with your help ). In this theme there is included dynamic navigation bar (or menu) witch you can see here,i want to use that menu on the new site im making now..as i looked through smf source code i found that this nav bar is powered from the javascript file named "menu.js" and some more files...so can this scripts be pulled out from smf pages and codes so i can use it on the page of my own??? Sorry for my bad English i hope you understand what i mean with all this :/ Thanks.. Quote Link to comment https://forums.phpfreaks.com/topic/206832-smf-theme-navbar/ Share on other sites More sharing options...
trq Posted July 7, 2010 Share Posted July 7, 2010 Doesn't look to difficult. Its done using Mootools so you'll need that as well, then you'll just need whatever css it requires. Quote Link to comment https://forums.phpfreaks.com/topic/206832-smf-theme-navbar/#findComment-1082466 Share on other sites More sharing options...
Mchl Posted July 7, 2010 Share Posted July 7, 2010 It looks like this menu is buid using mootools library, so you'll need that too. It might be wise asking here: http://www.mooforum.net/ for more guidance. Quote Link to comment https://forums.phpfreaks.com/topic/206832-smf-theme-navbar/#findComment-1082469 Share on other sites More sharing options...
Bounty Posted July 7, 2010 Author Share Posted July 7, 2010 Ok so i need mootols.js and menu.js got them...now where to find code that can import the menu in my page? Quote Link to comment https://forums.phpfreaks.com/topic/206832-smf-theme-navbar/#findComment-1082491 Share on other sites More sharing options...
Mchl Posted July 7, 2010 Share Posted July 7, 2010 http://getfirebug.com/ Learn to use it. Will come in handy. Quote Link to comment https://forums.phpfreaks.com/topic/206832-smf-theme-navbar/#findComment-1082516 Share on other sites More sharing options...
trq Posted July 7, 2010 Share Posted July 7, 2010 Ok so i need mootols.js and menu.js got them...now where to find code that can import the menu in my page? That code is within main.js. Mootools uses selectors much the same as jQuery does so there's no need to mix your code with your markup. Quote Link to comment https://forums.phpfreaks.com/topic/206832-smf-theme-navbar/#findComment-1082752 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.