[Incubator] Re: OSGeo Portal Project Tailoring
Frank Warmerdam
warmerdam at pobox.com
Tue Mar 14 14:38:49 EST 2006
Daniel Brookshier wrote:
> Here is the script:
>
> <script type="text/javascript">
> // This code removes the project page title and information. It
> may need to change when
> // the CEE platform is upgraded.
>
> function replaceLinks() {
> try {
> var apphead = document.getElementById("apphead");
> if (apphead != null) {
> apphead.innerHTML = "";
> }
> var projecthome = document.getElementById("projecthome");
> if (projecthome != null) {
> var tableCollection =
> projecthome.getElementsByTagName("table");
> if (tableCollection[0] != null) {
> rowCount = tableCollection[0].rows.length;
> for (i = 0; i < rowCount; i++) {
> tableCollection[0].deleteRow(0);
> }
> }
> }
> } catch (e) {
> }
> }
> window.onload=replaceLinks;
> </script>
Daniel,
OK, I applied that script and it did the job for removing the main
page extras. Is there some mechanism to influence the items in
the left nav bar?
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org
More information about the Incubator
mailing list