[Incubator] Re: OSGeo Portal Project Tailoring
Daniel Brookshier
dbrookshier at collab.net
Tue Mar 14 15:49:47 EST 2006
You would do something very similar. What specifically do you want
and what should point where. It will take me a while, but I can hack
this up for you.
Daniel Brookshier
Community Manager
Office: 972-422-5261
Cell: 214-207-6614
On Mar 14, 2006, at 1:38 PM, Frank Warmerdam wrote:
> 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
>
>
> ---------------------------------------------------------------------
> 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