-
DOM problems transfering a script to MediaWiki
Firstly here is what I am trying to add to my mediawiki skin. http://www.urbanvintner.co.nz/books/ It's a quick and dirty hack of Simple Modal using Google's Book Preview and Dynamic Link APIs. Problem being I can't for the life of me figure out how to address the elements within the mediawiki installation. At least I'm assuming thats the problem. Here are the same links in wiki http://www.urbanvintner.co.nz/GBooks_Widget and here is the js in my skins directory http://www.urbanvintner.co.nz/skins/...dblue/js/gb.js
Unless I can figure out how to stop Mediawiki stripping attribute tags I am going to have to alter this code anyway, to re-enable page numbers and linking, but right now it isn't even running the first loop, because - and I'm guessing - $('span.gb') is returning an empty object array. I have to say DOM architecture confuses me considerably
-
-
You will probably get better help for this at a forum specifically for mediawiki support. This isn't a "general HTML" question, so many users here will have no information or relevant experience.
I have used mediawiki, but I found it to be very awkward to modify and gave up. In fact, I then wrote my own wiki software instead. So at least I can say that I understand the frustration at trying to add components to the software. Good luck.
(Note: I'm not suggesting that it's impossible someone will have an answer for you, but I do think it is not very likely.)
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks