Hi Group,
After installing geonetwork in tomcat, I found out that a few links at the top of the page don't work.
In the page source I can see that the function "doBannerButton" doesn't seem to work as when I click a link nothing happens.
Anyone has experienced this problem ?
Thanks
Found out that in geonetwork.js, the signature of the function is not the same as the one used in the web page :
00553: function doBannerButton(url, title, modal, width, height)00554: {00555: if (modal == '1') {00556: if (height != null && height > 0) {00557: Modalbox.show(url,{ params: { modal: ''}, title: title, height: height, width: width});00558: } else {00559: Modalbox.show(url,{ params: { modal: ''}, title: title, width: width});00560: }00561: } else {00562: location.replace(url);00563: }00564: return true;00565: }
In the webpage :
<a class="banner" onclick="doBannerButton('/geonetwork/srv/eng/feedback','Contact us','0',600)" href="javascript:void(0);">Contact us</a>
I don't if this is why the links aren't working but it seems that a parameter (width) is missing in the call ...
From: mcnolii@anonymised.com
To: geonetwork-users@lists.sourceforge.net
Date: Wed, 27 Mar 2013 10:50:09 -0400
Subject: [GeoNetwork-users] Main page LinksHi Group,
After installing geonetwork in tomcat, I found out that a few links at the top of the page don't work.
In the page source I can see that the function "doBannerButton" doesn't seem to work as when I click a link nothing happens.
Anyone has experienced this problem ?
Thanks
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork