Forum:List

How can I make an id with JavaScript a div id called "new-pages" which displays the same style as the info box here of "New Pages"; another id called "recent-edits" which displays like the infowidgets in Dev Wiki (has been linked previously). And lastly, using the same way as above, do one called "new-files" which displays the newest files (this is not in the infobox-demo).

I don't quite want the dropdown and the background, I only want the information in it. If you don't understand it, then please reply &mdash;  S a m  Wang  01:03, April 5, 2012 (UTC)


 * I hate to break it to you, but most people don't have a clue what you are talking about when you make posts like this. You're better off stating exactly what you're wanting... images or links to pages really help. Most people don't want to go and find what you're referring to when there isn't a link here. So, yes, please reply and explain exactly what you are asking about. It really does help you to get a favorable response. Rappy 02:25, April 5, 2012 (UTC)


 * Just display the newest ten links to the pages of the articles, files, and newest edits. For the edits, just link to the page of where the edit was made, and the edit should only display if it is in namespace main, user, message wall, file, or talk &mdash;  S a m  Wang  03:06, April 5, 2012 (UTC)


 * Have you looked into ? Read up about it here. Rappy 04:38, April 5, 2012 (UTC)

How about when I only need the new pages or only the new files? &mdash;  S a m  Wang  05:22, April 5, 2012 (UTC)


 * There really isn't a way to do what you are wanting that I am aware of. You can't really JS a list of only new images or new pages unless you AJAX Special:NewFiles or Special:NewPages... Then one would wonder why you just didn't just use the Special page itself. Rappy 05:34, April 5, 2012 (UTC)


 * The dropdown isn't part of the InfoWidgets. Neither is the throbber. By default they're completely unstyled lists. The design is up to you. I made a little demo for you: w:c:pecoes:Widgets. --
 * Pecoes, the link you gave is very useful, but instead of having to use {| and |} tags, is it possible to do it with ? &mdash;  S a m  Wang  09:52, April 5, 2012 (UTC)


 * You don't have to use a table. That was only an example. A tabber should work just as well. It doesn't really matter how you place them on the page. All that matters is that you provide some sort of container for each of the three InfoWidgets. --

As you can see here, it doesn't work &mdash;  S a m  Wang  10:54, April 5, 2012 (UTC)


 * You copypasted a little too much. :) Also: There's an error in this line of your Common.js:


 * The InfoWidgets won't run until you fix that. I have no idea what this is, but it looks like there's a { missing between "slider(" and "min". --