On Thu, Mar 12, 2009 at 19:41, Scott Newson <[email protected]> wrote:
> Is there some way to do similar things for a specific page on WE?
> Or, preferably, a page and any subpages of it?

Yes.  It is just Javascript.    Base whatever you want to happen on
the window.location.pathname property.  For example:

function cleanPages() {
  var pages = ["/Online_manual", "/Training_resource_development_for_eXe",];
  for (var i in pages) {
    if (window.location.pathname.indexOf(pages[i]) == 0) {
      document.getElementById("p-logo").innerHTML='<a
href="http://eXeLearning.org/";><img
src="/images/thumb/4/4a/Exe_RGB_72dpi.jpg/120px-Exe_RGB_72dpi.jpg"></a>';
    }
  }
}

Invoke that in the runOnloadHook() and it will replace the
WikiEducator logo with the eXe logo when you are reading the eXe
manual (/Online_manual and its subpages, etc.) at WikiEducator.

Think of this as the same sort of thing you do with Greasemonkey, only
it will be available regardless of which browser you are using when
you are logged in to WikiEducator.
  http://wikieducator.org/User:JimTittsler/monobook.js

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "WikiEducator" group.
To visit wikieducator: http://www.wikieducator.org
To visit the discussion forum: http://groups.google.com/group/wikieducator
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to