* Noman <nom...@gmail.com> [Tue, 3 Aug 2010 10:04:47 +0500]: > Hi, > i've installed mediawiki for a wiki project. > now we have 4 sections on main page . like there are on wikipedia main > page. > > Now as its done in wikipedia these 4 boxes are tables and update on date > criteria. > > Now i want to do is to give some kind a navigation bar like drop down or > paging. > so when user selects page from drop down the all 4 pages are updated > with > relevant articles. > to clear more. how the for parts of table can be updated . and how to > put > combo box ( which is already filled with page numbers / article topics) > and > which user selects any page from drop down all the 4 table rows are > updated. > > > any body help me . > im new to media wiki searched alot. but didnot get any thing. or > material or > example. > if i ve to made my extension then how ill write . means what is will the > flow. how it will be pluged in the mediawiki and runs smoothly > > any article example. e-book from where i can read step by step. > The simpliest (although not the prettiest) way is to use a set of iframes and to load their src from select option value onchange event handler: http://lab.artlung.com/dropdown/ scroll down to "Dropdown Navigation to iFrame" example. One might choose to pass "&printable=yes" to not recusrively include menus and user interface into iframes. Although I am not sure that iframe is not stripped by parser.
The harder (yet more proper) way would be to develop an extension which will load the content of selected pages into div's via API AJAX calls. I don't know whether such extension already exists. Dmitriy _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l