Forum:About complex Navbox

Hello,

Is there a reason why the Navbox code is not working on gaia wiki, yet works perfectly on Vocaloid wiki see w:c:vocaloid:Template:Nav Mainbox. Copy the nav mainbox and test it on the gaia sandbox to see what I mean.
 * w:c:gaia:Template:Navbox‎‎
 * w:c:gaia:Template:Navbar
 * w:c:gaia:Template:Transclude

-- Bunai82 (talk) 17:18, July 24, 2011 (UTC)


 * Im not sure but you should ask Uberfuzzy or go to Special:Contact to report this problem. TheBen10Mazter  (Talk -Blog -Contribs)  17:23, July 24, 2011 (UTC)


 * Special:Contact isn't really meant to be used for this. Anyway, you could try using the same Javascript code as used on the vocaloid wiki. You currently import a script from the dev wiki to do it, but I don't know if it's compatible with that navbox template. - Tjcool007 (Talk) 17:59, July 24, 2011 (UTC)


 * Thanks, I'll try it. I hope it isn't too code heavy, though I've seen this style of Navbox on other wiki and it seems very clean and loads fast. -- Bunai82 (talk) 19:55, July 24, 2011 (UTC) EDIT Also, is there a Wikia specific alternative I can use? I am planning to link to multipages and want to do line brakes and such. -- Bunai82 (talk) 20:01, July 24, 2011 (UTC)
 * Ugh, on second thought, I might contact staff to help. I see the code but I am unsure what will happen if I place it on the page. -- Bunai82 (talk) 21:47, July 24, 2011 (UTC)

Update, through a series of odd MediaWiki pasting. I managed to get the Navbox to visually appear, along with a subgroup. Now comes the "show / hide" thing. I removed it because it seemed to be interfering with the new js coding, but now... all the boxes are expanded =_= do I need to add it back and change the names or something?

See here js History with collapse import. -- Bunai82 (talk) 20:27, July 26, 2011 (UTC)

EDIT update. I seemed to have fixed it. Wooo!

Though I am questioning my methods, I actually created a subpage off the Common.js, linked it back to Common.js by @import then took scriptimport to the Wikia.css... which I believe is wrong, but so far nothing broke. -- Bunai82 (talk) 20:51, July 26, 2011 (UTC)