Author: marcus Date: Sat Jul 5 20:12:32 2014 New Revision: 1608122 URL: http://svn.apache.org/r1608122 Log: Updated JS functions and colored boxes
Modified: openoffice/ooo-site/trunk/content/nl/download/index.html Modified: openoffice/ooo-site/trunk/content/nl/download/index.html URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/nl/download/index.html?rev=1608122&r1=1608121&r2=1608122&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/nl/download/index.html (original) +++ openoffice/ooo-site/trunk/content/nl/download/index.html Sat Jul 5 20:12:32 2014 @@ -10,34 +10,36 @@ <meta property="og:image" content="http://www.openoffice.org/images/aoo-logo-100x100.png" /> <meta name="description" content="Officiële Apache OpenOffice download pagina. Doe mee aan de OpenOffice revolutie, het gratis en vrij kantoorpakket met meer dan 100 miljoen aantoonbare downloads." /> <title>Apache OpenOffice Downloads - Officiële Site</title> - <script type="text/javascript" src="/download/globalvars.js"></script> - <script type="text/javascript" src="/download/download.js"></script> - <script type="text/javascript" src="/download/languages.js"></script> - <script type="text/javascript" src="/download/release_matrix.js"></script> - <script type="text/javascript" src="/download/boxed_download.js"></script> + <script type="text/javascript" src="../../download/globalvars.js"></script> <script type="text/javascript" src="msg_prop_l10n_nl.js"></script> + <script type="text/javascript" src="../../download/languages.js"></script> + <script type="text/javascript" src="../../download/release_matrix.js"></script> + <script type="text/javascript" src="../../download/boxed_download.js"></script> + <script type="text/javascript" src="../../download/download.js"></script> <style type="text/css"> /* <![CDATA[ */ /*-------------------- Exceptions on standard css -----------------------*/ - @import "/download/styles.css"; - @import "/download/exceptions.css"; + @import "../../download/styles.css"; + @import "../../download/exceptions.css"; /* ]]> */ </style> <script> - if (window.document.referrer.indexOf("shell.windows.com") != -1) - location.href = "/nl/why/why_odf.html"; - - function shareFacebook() { - _gaq.push(['_trackEvent','social', 'shareDownload', 'facebook']); - window.open('https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325'); - } - function shareTwitter(){ - _gaq.push(['_trackEvent','social', 'shareDownload', 'twitter']); - window.open('https://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+60+million+trusted+downloads.','_blank','toolbar=0,status=0,width=580,height=325'); + if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 ) { + location.href = "../why/why_odf.html"; } - function shareGooglePlus(){ - _gaq.push(['_trackEvent','social', 'shareDownload', 'google+']); - window.open('https://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325'); + + function share( platform ) { + _gaq.push( ['_trackEvent', 'social', 'shareDownload', platform] ); + + if ( platform == 'apacheblog' ) { + window.open( 'http://blogs.apache.org/OOo/', '_blank' ); + } else if ( platform == 'facebook' ) { + window.open( 'http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' ); + } else if ( platform == 'twitter' ) { + window.open( 'http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+100+million+trusted+downloads.', '_blank', 'toolbar=0, status=0, width=580, height=325' ); + } else if ( platform == 'google+' ) { + window.open( 'http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' ); + } } </script> </head> @@ -45,64 +47,77 @@ <body> <div class="optionset"> -<!-- Text above the first colored box --> - <script type="text/javascript"> - <!-- - // The text in the H1 tag is intentionally shown as "display: none" (do not display). - // This is to please accessibility tools like a screen reader. - document.write( "<h1 style='display: none;'>" + l10n_download_headline_text + "</h1>" ); - //--> - </script> - - <!-- Green: Stable release --> - <!-- Download via select boxes --> - <script type="text/javascript"> - <!-- - - // Set a specific language ISO code to force to assemble a certain localized build as download link. - // Changed: The variable can now be found in the "msg_prop_l10n_<ISO_code>.js". - - // Get the download box from a separate file. - createDownloadBox(); + <!-- Text above the first colored box --> + <script type="text/javascript"> + <!-- + // The text in the H1 tag is intentionally shown as "display: none" (do not display). + // This is to please accessibility tools like a screen reader. + document.write( "<h1 style='display: none;'>" + l10n_download_headline_text + "</h1>" ); + //--> + </script> - // Fill the select boxes and wait for the user's choice. - init( 1 ); + <!-- Green: Stable release --> + <!-- Download via select boxes --> + <script type="text/javascript"> + <!-- - entourage.initialize(); + // Set a specific language ISO code to force to assemble a certain localized build as download link. + // Changed: The variable can now be found in the "msg_prop_l10n_<ISO_code>.js". - //--> - </script> + // Get the download box from a separate file. + createDownloadBox(); + // Fill the select boxes and wait for the user's choice. + init( 1 ); + + entourage.initialize(); + + //--> + </script> - <!-- Green: Stable release: No JavaScript enabled --> <noscript> - <div class="first button green" id="optionitem2"> + <div class="first button green-sel" id="optionitem2"> + <div class="green-sel-icon"></div> <h2><a style="cursor: default;">Download Apache OpenOffice</a></h2> <p style="cursor: default;"> - <a style="cursor: default;">Je lijkt niet zal Javascript moeten inschakelen. Klik <a href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/">hier</a> om uw versie van Apache OpenOffice vinden..</a></p> + <a style="cursor: default;">Je lijkt niet zal Javascript moeten inschakelen. Klik + <a href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/">hier</a> + om uw versie van Apache OpenOffice vinden. + </a> + </p> </div> - <div class="sub-green"> - <p><a href="../porting/index.html" - title="Apache OpenOffice software als draagbare USB versie en versies die door derden worden aangeboden"> <b>Draagbare USB versies</b> en door derden aangeboden versies</a> | <a href="../development/releases/index.html" - title="Wat is nieuw, wat is er verbeterd in Apache OpenOffice?">Release Notes</a> | <br /><a href="other-341.html" title="Verkrijg een oudere versie van Apache OpenOffice">Oudere Apache OpenOffice</a> | <a href="legacy/index.html" title="Verkrijg een oudere versie van OpenOffice.org">Oudere OpenOffice.org</a></p> + <div class="sub-green-sel"> + <p> + <a href="../porting/index.html" + title="Apache OpenOffice software als draagbare USB versie en versies die door derden worden aangeboden"> + <b>Draagbare USB versies</b> en door derden aangeboden versies + </a> | + <a href="../development/releases/index.html" title="Wat is nieuw, wat is er verbeterd in Apache OpenOffice?"> + Release Notes + </a> | + <br /> + <a href="other-341.html" title="Verkrijg een oudere versie van Apache OpenOffice">Oudere Apache OpenOffice</a> | + <a href="legacy/index.html" title="Verkrijg een oudere versie van OpenOffice.org">Oudere OpenOffice.org</a> + </p> </div> </noscript> <!-- Light Blue: Share download with social networks --> <div class="button lightblue" id="optionitem4"> + <div class="lightblue-icon"></div> <h2><a style="cursor: default;" title="Zegt het voort en vertel je vrienden over Apache OpenOffice"> Zegt het voort</a></h2> <p style="cursor: default;" id="ShareDownloadLinks"> <a style="cursor: default;" title="Zegt het voort en vertel je vrienden over Apache OpenOffice"> Vertel je vrienden over Apache OpenOffice.</a> - <a style="display: inline; padding: 0 5px 0 30px;" href="javascript:shareFacebook()" + <a style="display: inline; padding: 0 5px 0 30px;" href="javascript:share( \"facebook\" )" title="Vertel je vrienden over Apache OpenOffice via Facebook"> <img src="/images/logo-facebook-32.png" alt="Vertel je vrienden over Apache OpenOffice via Facebook" /></a> - <a style="display: inline; padding: 0 5px;" href="javascript:shareTwitter()" + <a style="display: inline; padding: 0 5px;" href="javascript:share( \"twitter\")" title="Vertel je vrienden over Apache OpenOffice via Twitter"> <img src="/images/logo-twitter-32.png" alt="Vertel je vrienden over Apache OpenOffice via Twitter" /></a> - <a style="display: inline; padding: 0 5px;" href="javascript:shareGooglePlus()" + <a style="display: inline; padding: 0 5px;" href="javascript:share( \"google+\")" title="Vertel je vrienden over Apache OpenOffice via Google+"> <img src="/images/logo-googleplus-32.png" alt="Vertel je vrienden over Apache OpenOffice via Google+" /></a> </p> @@ -111,6 +126,7 @@ <!-- Blue: Extensions --> <div class="button blue" id="optionitem5" onclick="openItem('optionitem3','http://extensions.openoffice.org'); return false;"> + <div class='blue-icon'></div> <h2><a href="http://extensions.openoffice.org" title="Maak een keuze uit een grote hoeveelheid aanvullende en losse functionaliteiten"> Apache OpenOffice Extensies en Woordenboeken</a></h2> @@ -122,6 +138,7 @@ <!-- Blue: Templates --> <div class="button blue" id="optionitem6" onclick="openItem('optionitem3_1','http://templates.openoffice.org'); return false;"> + <div class='blue-icon'></div> <h2><a href="http://templates.openoffice.org" title="Maak een keuze uit een grote hoeveelheid aanvullende en losse documenten"> Apache OpenOffice Sjablonen</a></h2>