One of last week’s challenges on the side was to take this Connections wiki page and make it readable on a small screen – if you drag the right hand side over to the left you will see that the right navigation menu overlays the non-wrapping text. The main section is forced to a 980px width !
A very brute force approach to this is to remove all the classes from all the elements on the page
In jQuery you would do this:
$('*').removeClass()
in dojo (which the page is written in) it takes slightly longer
dojo.forEach(dojo.query('*'), function(item, i){ item.className="" })
It would be relatively simple to turn this into a bookmarklet to run for yourself
Here is a bookmarklet you can add to do it for you – this will also work on other IBM wiki pages
Create any link on your bookmark bar and then edit it. Copy and paste the following as your URL
javascript: dojo.forEach(dojo.query(‘*’), function(item, i){ item.className=”; })
When you go to the wiki page click the bookmarklet and all classes will be removed – this is only work on pages which have dojo on them already (which IBM documentation does).
