[Incubator] Re: OSGeo Portal Project Tailoring
Daniel Brookshier
dbrookshier at collab.net
Tue Mar 14 11:23:23 EST 2006
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 Brookshier
Community Manager
Office: 972-422-5261
Cell: 214-207-6614
On Mar 14, 2006, at 8:12 AM, Frank Warmerdam wrote:
> Daniel Brookshier wrote:
>> You can blow away the summary/category/owner with the script.
>> Another alternative to page renewal is to use the nonav reference:
>> https://gdal.osgeo.org/nonav/index.html
>
> Daniel,
>
> I don't think the "nonav" is the right solution, since as you note
> all the
> OSGeo stuff is lost which isn't my objective.
>
> I'm afraid I have no idea what "script" you are referring to that
> would allow
> me to get rid of the summary/category/owner stuff.
>
> I notice that http://gdal.osgeo.org/index.html gives me what I
> would like for
> a project hope page, while http://gdal.osgeo.org/ give me the extra
> stuff.
>
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: incubator-unsubscribe at incubator.osgeo.org
> For additional commands, e-mail: incubator-help at incubator.osgeo.org
>
More information about the Incubator
mailing list