Talk:Create a Drop-Down list using JavaScript and CSS

does not work

edit

Did eveyrhing but the result is not a drop-down list but just a list of links. I am using Mediawiki 1.13.3

not matching up

edit

I am using Mediawiki 1.19. I am quite afraid to implement this guide because of above comment and also because the required skills... I must not have. I cannot even find files named common.js and monobook.css. There are (and I did find) folders for both common and monobook under skins. There I find a config.js (for common) and a main.css (for monobook). But stopped after this initial investigation as the guide was not matching up (and didn't want to break anything). Edit: so I just made a common.js and monobook.css in mediawiki's root folder and added sample code... doesn't drop down.. looks like bulleted list instead.

Is not working at all

edit

JavaScript is in LocalSettings enbled
The JavaScript part is copied to MadiaWiki:Common.js
The CCS part is copied to MediaWiki:vector.css
The only thing I get is what the other guys described - A normal <UL> List
needs to be reviewed

The CSS part contains a unmatching closing </UL>

--Zuul (talk)

Guys, script fixed

edit

Page updated

edit

At the bottom of the Code / Menu / Listing Used in Wiki Example section, the following link is dead:

http://www.mwusers.com/forums/attachment.php?attachmentid=131&d=1234407968

Same results here

edit

I am also getting a list of links instead of a dropdown.
Says code fixed, but not for me.
I am also using vector instead of monobook and I added the CSS to both Monobook.css and Vector.css. I wonder if using Vector is an issue.


Minor Errors Corrected

edit

There were some minor errors in the CSS. Cleaned up the CSS and HTML to be easier to read. The only issue I have is that the category title link itself cannot be selected. (in the example the Shortcuts cannot be selected as a link) Otherwise the code works when loaded into JSFIDDLE and on my own wiki.

Return to "Create a Drop-Down list using JavaScript and CSS" page.