PageRenderTime 60ms CodeModel.GetById 12ms app.highlight 41ms RepoModel.GetById 1ms app.codeStats 0ms

/webportal/src/main/webapp/wrapper.html

http://alageospatialportal.googlecode.com/
HTML | 290 lines | 252 code | 31 blank | 7 comment | 0 complexity | 2601e641f33eff7f68b8c9ae9b4a9d5a MD5 | raw file
  1<!DOCTYPE html>
  2<html dir="ltr" lang="en-US">
  3
  4    <head profile="http://gmpg.org/xfn/11">
  5        <meta name="google-site-verification" content="MdnA79C1YfZ6Yx2qYOXWi_TYFfUvEJOQAmHNaeEWIts" />
  6        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7        <meta name="description" content="The Atlas of Living Australia provides tools to enable users of biodiversity information to find, access, combine and visualise data on Australian plants and animals"/>
  8        <title>Species Maps |  Atlas of Living Australia</title>
  9
 10        <link rel="stylesheet" href="http://www.ala.org.au/wp-content/themes/ala/style.css" type="text/css" media="screen" />
 11        <link rel="icon" type="image/x-icon" href="http://www.ala.org.au/wp-content/themes/ala/images/favicon.ico" />
 12        <link rel="shortcut icon" type="image/x-icon" href="http://www.ala.org.au/wp-content/themes/ala/images/favicon.ico" />
 13
 14        <link rel="stylesheet" type="text/css" media="screen" href="http://www.ala.org.au/wp-content/themes/ala/css/sf.css" />
 15        <link rel="stylesheet" type="text/css" media="screen" href="http://www.ala.org.au/wp-content/themes/ala/css/highlights.css" />
 16
 17        <link rel="stylesheet" type="text/css" media="screen" href="http://www.ala.org.au/wp-content/themes/ala/css/jquery.autocomplete.css" />
 18        <link rel="stylesheet" type="text/css" media="screen" href="http://www.ala.org.au/wp-content/themes/ala/css/search.css" />
 19        <link rel="stylesheet" type="text/css" media="screen" href="http://www.ala.org.au/wp-content/themes/ala/css/skin.css" />
 20        <script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/iframe.js"></script>
 21        <link rel="alternate" type="application/rss+xml" title="Atlas of Living Australia &raquo; Feed" href="http://www.ala.org.au/feed/" />
 22        <link rel="alternate" type="application/rss+xml" title="Atlas of Living Australia &raquo; Comments Feed" href="http://www.ala.org.au/comments/feed/" />
 23        <link rel='stylesheet' id='commentvalidation-css'  href='http://www.ala.org.au/wp-content/plugins/comment-validation/comment-validation.css?ver=3.1.3' type='text/css' media='all' />
 24        <link rel='stylesheet' id='contact-form-7-css'  href='http://www.ala.org.au/wp-content/plugins/contact-form-7/styles.css?ver=2.3.1' type='text/css' media='all' />
 25        <link rel='stylesheet' id='jquery.lightbox.min.css-css'  href='http://www.ala.org.au/wp-content/plugins/wp-jquery-lightbox/lightbox.min.css?ver=1.2' type='text/css' media='all' />
 26        <script type='text/javascript' src='http://www.ala.org.au/wp-includes/js/l10n.js?ver=20101110'></script>
 27
 28        <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=3.1.3'></script>
 29        <script type='text/javascript' src='http://www.ala.org.au/wp-content/plugins/comment-validation/jquery.validate.pack.js?ver=3.1.3'></script>
 30        <script type='text/javascript' src='http://www.ala.org.au/wp-content/plugins/comment-validation/comment-validation.js?ver=3.1.3'></script>
 31        <script type='text/javascript' src='http://www.ala.org.au/wp-content/plugins/menubar-templates/Superfish/superfish.js?ver=3.1.3'></script>
 32        <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.ala.org.au/xmlrpc.php?rsd" />
 33        <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.ala.org.au/wp-includes/wlwmanifest.xml" />
 34        <link rel='index' title='Atlas of Living Australia' href='http://www.ala.org.au/' />
 35        <link rel='up' title='Explore' href='http://www.ala.org.au/explore/' />
 36        <link rel='prev' title='Share Photos' href='http://www.ala.org.au/share-images/' />
 37        <link rel='next' title='Species Maps Help' href='http://www.ala.org.au/explore/species-maps/species-maps-help/' />
 38        <meta name="generator" content="WordPress 3.1.3" />
 39        <link rel='canonical' href='http://www.ala.org.au/explore/species-maps/' />
 40        <script type="text/javascript">
 41            //<![CDATA[
 42            var _wpcf7 = { cached: 1 };
 43            //]]>
 44
 45        </script>
 46
 47        <!-- WP Menubar 4.8: start CSS -->
 48        <!-- WP Menubar 4.8: end CSS -->
 49        <style type="text/css">.broken_link, a.broken_link {
 50                text-decoration: line-through;
 51            }</style>	<script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/jquery.dimensions.js"></script>
 52        <script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/jquery.mousewheel.min.js"></script>
 53        <script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/hoverintent-min.js"></script>
 54        <script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/superfish/superfish.js"></script>
 55
 56        <script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/jquery.autocomplete.js"></script>
 57        <script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/uservoice.js"></script>
 58        <script language="JavaScript" type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/jquery.jcarousel.min.js"></script>
 59        <link rel="stylesheet" type="text/css" href="http://www.ala.org.au/wp-content/themes/ala/scripts/fancybox/jquery.fancybox-1.3.1.css" media="screen" />
 60        <script type="text/javascript" src="http://www.ala.org.au/wp-content/themes/ala/scripts/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
 61
 62        <script type="text/javascript">
 63            jQuery(document).ready(function($){
 64                $("a#asterisk").fancybox({
 65                    'hideOnContentClick' : false,
 66                    'titleShow' : false,
 67                    'autoDimensions' : false,
 68                    'width' : 600,
 69                    'height' : 350
 70                });
 71                $("a.pop-up").fancybox({
 72                    'hideOnContentClick' : false,
 73                    'titleShow' : false,
 74                    'autoDimensions' : false,
 75                    'width' : 550,
 76                    'height' : 100
 77                });
 78            });
 79        </script>
 80
 81        <script type="text/javascript">
 82
 83            // initialise plugins
 84            jQuery(function(){
 85                jQuery('ul.sf').superfish( {
 86                    delay:500,
 87                    autoArrows:false,
 88                    dropShadows:false
 89                });
 90                /**
 91                 * We use the initCallback callback
 92                 * to assign functionality to the controls
 93                 */
 94                function mycarousel_initCallback(carousel) {
 95                    jQuery('.jcarousel-control a').bind('click', function() {
 96                        carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
 97                        return false;
 98                    });
 99
100                    jQuery('#mycarousel-next').bind('click', function() {
101                        carousel.next();
102                        return false;
103                    });
104
105                    jQuery('#mycarousel-prev').bind('click', function() {
106                        carousel.prev();
107                        return false;
108                    });
109                };
110
111                // Ride the carousel...
112                jQuery(document).ready(function() {
113                    jQuery("#mycarousel").jcarousel({
114                        scroll: 6,
115                        initCallback: mycarousel_initCallback
116                        // This tells jCarousel NOT to autobuild prev/next buttons
117                        //buttonNextHTML: null,
118                        //buttonPrevHTML: null
119                    });
120                });
121
122                jQuery("form#search-form input#search").autocomplete('http://bie.ala.org.au/search/auto.jsonp', {
123                    extraParams: {limit: 100},
124                    dataType: 'jsonp',
125                    parse: function(data) {
126                        var rows = new Array();
127                        data = data.autoCompleteList;
128                        for(var i=0; i<data.length; i++){
129                            rows[i] = {
130                                data:data[i],
131                                value: data[i].matchedNames[0],
132                                result: data[i].matchedNames[0]
133                            };
134                        }
135                        return rows;
136                    },
137                    matchSubset: false,
138                    formatItem: function(row, i, n) {
139                        return row.matchedNames[0];
140                    },
141                    cacheLength: 10,
142                    minChars: 3,
143                    scroll: false,
144                    max: 10,
145                    selectFirst: false
146                });
147                jQuery("form#search-inpage input#search").autocomplete('http://bie.ala.org.au/search/auto.jsonp', {
148                    extraParams: {limit: 100},
149                    dataType: 'jsonp',
150                    parse: function(data) {
151                        var rows = new Array();
152                        data = data.autoCompleteList;
153                        for(var i=0; i<data.length; i++){
154                            rows[i] = {
155                                data:data[i],
156                                value: data[i].matchedNames[0],
157                                result: data[i].matchedNames[0]
158                            };
159                        }
160                        return rows;
161                    },
162                    matchSubset: false,
163                    formatItem: function(row, i, n) {
164                        return row.matchedNames[0];
165                    },
166                    cacheLength: 10,
167                    minChars: 3,
168                    scroll: false,
169                    max: 10,
170                    selectFirst: false
171                });
172            });
173        </script>
174    <body id="page-883" class="page page-id-3079 page-parent page-child parent-pageid-883 page-template page-template-default liquid">
175        <div id="wrapper">
176            <div id="banner">
177                <div id="logo">
178                    <a href="http://www.ala.org.au" title="Atlas of Living Australia home"><img src="http://www.ala.org.au/wp-content/themes/ala/images/ala_logo.png" width="215" height="80" alt="Atlas of Living Australia logo" /></a>
179                </div><!--close logo-->
180                <div id="nav">
181                    <!-- WP Menubar 4.8: start menu nav-site-loggedout, template Superfish, CSS  -->
182
183
184                    <ul class="sf"><li class="nav-home"><a href="http://www.ala.org.au/" ><span>Home</span></a></li><li class="nav-explore selected"><a href="http://www.ala.org.au/explore/" ><span>Explore</span></a><ul><li><a href="http://biocache.ala.org.au/explore/your-area" ><span>Your Area</span></a></li><li><a href="http://bie.ala.org.au/regions/" ><span>Regions</span></a></li><li class="selected"><a href="http://www.ala.org.au/explore/species-maps/" ><span>Species Maps</span></a></li><li><a href="http://collections.ala.org.au/public/map" ><span>Natural History Collections</span></a></li><li><a href="http://www.ala.org.au/explore/themes/" ><span>Themes & Case Studies</span></a></li></ul></li><li class="nav-tools"><a href="http://www.ala.org.au/tools-services/" ><span>Tools</span></a><ul><li><a href="http://www.ala.org.au/tools-services/citizen-science/" ><span>Citizen Science</span></a></li><li><a href="http://www.ala.org.au/tools-services/imaging/" ><span>Imaging</span></a></li><li><a href="http://www.ala.org.au/tools-services/identification-tools/" ><span>Identification Tools</span></a></li><li><a href="http://www.ala.org.au/tools-services/sds/" ><span>Sensitive Data Service</span></a></li><li><a href="http://www.ala.org.au/tools-services/spatial-analysis/" ><span>Spatial Analysis</span></a></li><li><a href="http://www.ala.org.au/tools-services/species-name-services/" ><span>Taxon Web Services</span></a></li><li><a href="http://www.ala.org.au/tools-services/onlinedesktop-tools-review/" ><span>Online & Desktop Tools Review </span></a></li><li><a href="http://www.ala.org.au/tools-services/ala-web-services-list/" ><span>ALA - Web Services List</span></a></li></ul></li><li class="nav-share"><a href="http://www.ala.org.au/share/" title="Share - links, images, images, literature, your time"><span>Share</span></a><ul><li><a href="http://www.ala.org.au/share/share-links/" ><span>Share links, ideas, information</span></a></li><li><a href="http://www.ala.org.au/share/share-data/" ><span>Share Datasets</span></a></li><li><a href="http://www.ala.org.au/share/about-sharing/" ><span>About Sharing</span></a></li></ul></li><li class="nav-support"><a href="http://www.ala.org.au/support/" ><span>Support</span></a><ul><li><a href="http://www.ala.org.au/support/contact-us/" ><span>Contact Us</span></a></li><li><a href="http://www.ala.org.au/support/get-started/" ><span>Get Started</span></a></li><li><a href="http://www.ala.org.au/support/user-feedback/" ><span>User Feedback</span></a></li><li><a href="http://www.ala.org.au/support/faq/" ><span>Frequently Asked Questions</span></a></li></ul></li><li class="nav-contact"><a href="http://www.ala.org.au/support/contact-us/" ><span>Contact Us</span></a></li><li class="nav-about"><a href="http://www.ala.org.au/about/" ><span>About the Atlas</span></a><ul><li><a href="http://www.ala.org.au/about/progress/" ><span>A Work In Progress</span></a></li><li><a href="http://www.ala.org.au/about/people/" ><span>Working Together</span></a></li><li><a href="http://www.ala.org.au/about/contributors/" ><span>Atlas Contributors</span></a></li><li><a href="http://www.ala.org.au/about/program-of-projects/" ><span>Atlas Projects</span></a></li><li><a href="http://www.ala.org.au/about/international-collaborations/" ><span>Associated Projects</span></a></li><li><a href="http://www.ala.org.au/about/communications-centre/" ><span>Communications Centre</span></a></li><li><a href="http://www.ala.org.au/about/governance/" ><span>Atlas Governance</span></a></li><li><a href="http://www.ala.org.au/about/terms-of-use/" ><span>Terms of Use</span></a></li></ul></li><li class="nav-myprofile nav-right"><a href="https://auth.ala.org.au/cas/login?service=http://www.ala.org.au/wp-login.php?redirect_to=http://www.ala.org.au/my-profile/" ><span>My Profile</span></a></li><li class="nav-login nav-right"><a href="https://auth.ala.org.au/cas/login?service=http://www.ala.org.au/wp-login.php?redirect_to=http://www.ala.org.au/" ><span>Log in</span></a></li></ul>
185
186                    <!-- WP Menubar 4.8: end menu nav-site-loggedout, template Superfish, CSS  -->
187                </div><!--close nav-->
188                <div id="wrapper_search">
189                    <form id="search-form" action="http://bie.ala.org.au/search" method="get" name="search-form">
190                        <label for="search">Search</label>
191                        <input type="text" class="filled" id="search" name="q" title="Search the Atlas" placeholder="Search the Atlas" />
192                        <span class="search-button-wrapper"><input type="submit" class="search-button" id="search-button" alt="Search" value="Search" /></span>
193                    </form>
194
195                </div><!--close wrapper_search-->
196            </div><!--close banner-->
197            <div id="loginId" class="hide"></div>
198            <div style="display:none; text-align: left;">
199                <div id="search_record" style="text-align: left;">
200                    <h3>Enter the species' scientific or common name</h3>
201                    <div id="inpage_search">
202                        <form id="search-inpage" action="http://bie.ala.org.au/search" method="get" name="search-form">
203
204                            <label for="search">Search</label>
205                            <input type="text" class="filled" id="search" name="q" placeholder="e.g. Ornithorhynchus anatinus" />
206                            <span class="search-button-wrapper"><input type="submit" class="search-button" alt="Search" value="Search" /></span>
207                        </form>
208                    </div><!--close wrapper_search-->
209                </div>
210            </div><!--close lightbox-->
211            <div id="content">
212
213                <script language='javascript'>
214
215                    //var srchost = "http://spatial-dev.ala.org.au/index.zul";
216                    var srchost = "http://localhost:8080/webportal/index.zul";
217
218                    var currhost = window.location.hostname;
219                    if (currhost == "localhost") {
220                        srchost = "http://localhost:8080/webportal/index.zul";
221                    } else {
222                        srchost = "http://"+currhost+"/index.zul"; 
223                    }
224
225                    function writeIframeDev() {
226                        var pagesrc = parseTaxaDev();
227                        var pagesize = getPageSize();
228                        var y = pagesize[1];
229                        var iframeHTML = "<div style='height:"+y+";'><iframe id='portal' src ='" +pagesrc + "' frameborder='0' height='" + y + "' marginheight='0' marginwidth='0' name='portal' scrolling='auto' width='100%'></iframe></div>";
230                        document.write(iframeHTML);
231                    }
232                    function parseTaxaDev() {
233                        var url = window.location.href;
234                        var taxa = url.split("?");
235                        if (taxa.length > 1) {
236                            var rightSide = taxa[1];
237                            var src = srchost+"?" + rightSide;
238                            return src;
239                        } else {
240                            var src = srchost;
241                            return src;
242                        }
243                    }
244                    // for production
245                    // writeIframe();
246
247                    // for dev
248                    writeIframeDev();
249                </script>
250
251
252            </div><!--close content-->
253            <div id="footer">
254                <div id="footer-nav">
255                    <ul id="menu-footer-site" class=""><li id="menu-item-1046" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1046"><a href="http://www.ala.org.au/">Home</a></li>
256                        <li id="menu-item-8090" class="menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor menu-item-8090"><a href="http://www.ala.org.au/explore/">Explore</a></li>
257                        <li id="menu-item-1051" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1051"><a href="http://www.ala.org.au/tools-services/">Tools</a></li>
258                        <li id="menu-item-8091" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8091"><a href="http://www.ala.org.au/share/">Share</a></li>
259
260                        <li id="menu-item-1050" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1050"><a href="http://www.ala.org.au/support/">Support</a></li>
261                        <li id="menu-item-1048" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1048"><a href="http://www.ala.org.au/support/contact-us/">Contact Us</a></li>
262                        <li id="menu-item-1047" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1047"><a href="http://www.ala.org.au/about/">About the Atlas</a></li>
263                        <li id="menu-item-1052" class="last menu-item menu-item-type-custom menu-item-object-custom menu-item-1052"><a href="http://www.ala.org.au/wp-login.php">Log in</a></li>
264                    </ul>		<ul id="menu-footer-legal" class=""><li id="menu-item-1045" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1045"><a href="http://www.ala.org.au/about/terms-of-use/">Terms of Use</a></li>
265                        <li id="menu-item-1042" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1042"><a href="http://www.ala.org.au/about/terms-of-use/citing-the-atlas/">Citing the Atlas</a></li>
266                        <li id="menu-item-12256" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-12256"><a href="http://www.ala.org.au/about/terms-of-use/privacy-policy/">Privacy Policy</a></li>
267                        <li id="menu-item-3090" class="last menu-item menu-item-type-post_type menu-item-object-page menu-item-3090"><a href="http://www.ala.org.au/site-map/">Site Map</a></li>
268
269                    </ul>		</div>
270                <div class="copyright"><p><a href="http://creativecommons.org/licenses/by/3.0/au/" title="External link to Creative Commons" class="left no-pipe"><img src="http://www.ala.org.au/wp-content/themes/ala/images/creativecommons.png" width="88" height="31" alt="" /></a>This site is licensed under a <a href="http://creativecommons.org/licenses/by/3.0/au/" title="External link to Creative Commons">Creative Commons Attribution 3.0 Australia License</a></p><p>Provider content may be covered by other <span class="asterisk-container"><a href="http://www.ala.org.au/about/terms-of-use/" title="Terms of Use">Terms of Use</a>.</span></p></div>
271            </div><!--close footer-->
272        </div><!--close wrapper-->
273        <script type='text/javascript' src='http://www.ala.org.au/wp-includes/js/jquery/jquery.form.js?ver=2.02m'></script>
274        <script type='text/javascript' src='http://www.ala.org.au/wp-content/plugins/contact-form-7/scripts.js?ver=2.3.1'></script>
275
276        <script type='text/javascript'>
277            /* <![CDATA[ */
278            var JQLBSettings = {
279                fitToScreen: "1",
280                resizeSpeed: "250"
281            };
282            /* ]]> */
283        </script>
284        <script type='text/javascript' src='http://www.ala.org.au/wp-content/plugins/wp-jquery-lightbox/jquery.lightbox.min.js?ver=1.2'></script>
285    </body>
286</html>
287
288<!-- Dynamic page generated in 0.559 seconds. -->
289<!-- Cached page generated by WP-Super-Cache on 2011-10-19 18:02:11 -->
290<!-- super cache -->