[Wikia-l] Please tell me a good tip to make a dynamic menu on sidebar
Shun Fukuzawa
shfukuzawa at jcom.home.ne.jp
Sat Dec 8 18:07:17 UTC 2007
sorry for the delay.
DanTMan wrote:
> Erm... found an issue...
> TreeView isn't actually loaded.
> Could you poke one of the techs to get [
> http://images.wikia.com/common/skins/common/yui/treeview/treeview-min.js
> ] to be loaded with allinone.js?
>
I see. I'll try.
> BTW... While that's added... There are one or two more I could use:
> http://developer.yahoo.com/yui/button/ : The Button appears to be
> something far more viable to use for JS created forms and stuff than
> normal input buttons do. It would vastly simplify creating scrips for
> users, and help with adding new features.
> http://developer.yahoo.com/yui/animation/ : Animation is part of YUI's
> basic functions. I'm kinda surprised that it hasn't been added. There
> are a number of things I could use it to do.
> http://developer.yahoo.com/yui/get/ : Ok, I know it's beta... But users
> all over Wikia are using various methods of attempting to load new JS
> and CSS pages. But most of them are either badly built, or don't work
> good in some browsers. Using the one inside of YUI would eliminate both
> of those and possibly give a better way for us to load our JS scripts.
>
> ~Daniel Friesen(Dantman) of:
> -The Gaiapedia (http://gaia.wikia.com)
> -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
> -and Wiki-Tools.com (http://wiki-tools.com)
>
> DanTMan wrote:
>> Don't worry, I'm doing a bit of the coding at the moment, but I
>> probably won't finish today (Should probably sleep soon). I'll get
>> back onto it at some point.
>> When it's done it'll just be a simple @include and define some
>> variable like "wgTreeviewSidebar = (false|true|#|Array)" Where
>> basically, false/undefined would leave the sidebar alone. True would
>> turn the entire sidebar into a Treeview, # would determine the level
>> of depth you want the system to start at, or an array could determine
>> what id's treeviews should be started at.
>>
>> I'll try to remember to mail the list when I'm complete.
>>
>> ~Daniel Friesen(Dantman) of:
>> -The Gaiapedia (http://gaia.wikia.com)
>> -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
>> -and Wiki-Tools.com (http://wiki-tools.com)
>>
>> Shun Fukuzawa wrote:
>>
>>> DanTMan, thanks! This is great.
>>>
>>> But I'm not good at JavaScript programming. Can you make a simple
>>> example for tree view on sidebar?
>>>
>>> DanTMan wrote:
>>>
>>>> YUI has it's own TreeView stuff, and it'll probably work more
>>>> universally than the TreeView extension. So since it's already
>>>> loaded on all pages on Wikia it would probably be a good thing to use.
>>>>
>>>> Here's the TreeView information:
>>>> http://developer.yahoo.com/yui/treeview/
>>>>
>>>> This is the code I used to get YUI's TabView working on the Wikia
>>>> ACG wiki:
>>>> http://en.anime.wikia.com/wiki/MediaWiki:TabView.js
>>>>
>>>> If anyone wants to they can crack at it. E-Mail the list if you do.
>>>> If you don't I'll probably modify the code to setup a TreeView
>>>> system that'll work with a <ul/> or a surrounding <div/>, and give
>>>> it a variable option to enable that to work on certain levels of the
>>>> sidebar in addition to that.
>>>>
>>>> ~Daniel Friesen(Dantman) of:
>>>> -The Gaiapedia (http://gaia.wikia.com)
>>>> -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
>>>> -and Wiki-Tools.com (http://wiki-tools.com)
>>>>
>>>> Shun Fukuzawa wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm Shun, Japanese Wikia staff.
>>>>>
>>>>> Japanese user wants to make a dynamic menu on wikia like
>>>>> http://mabinogi.wikiwiki.jp/index.php. Clicking + icon on the
>>>>> sidebar at
>>>>> left, submenu opens. Can we make a such menu on wikia? How do we make
>>>>> it? If JavaScript expert is in this list, please tell me a good tip.
>>>>>
>>>>> I know we can make it to install Treeview extention
>>>>> http://www.mediawiki.org/wiki/Extension:Treeview, but it is not
>>>>> installed now.
>>>>>
>>>>> Thanks.
>>>>> _______________________________________________
>>>>> Wikia-l mailing list
>>>>> Wikia-l at wikia.com
>>>>> http://lists.wikia.com/mailman/listinfo/wikia-l
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Wikia-l mailing list
>>>> Wikia-l at wikia.com
>>>> http://lists.wikia.com/mailman/listinfo/wikia-l
>>>>
>>>>
>>> _______________________________________________
>>> Wikia-l mailing list
>>> Wikia-l at wikia.com
>>> http://lists.wikia.com/mailman/listinfo/wikia-l
>>>
>>>
>> _______________________________________________
>> Wikia-l mailing list
>> Wikia-l at wikia.com
>> http://lists.wikia.com/mailman/listinfo/wikia-l
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wikia-l mailing list
> Wikia-l at wikia.com
> http://lists.wikia.com/mailman/listinfo/wikia-l
More information about the Wikia-l
mailing list