This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Facebook --> | |
| <a href="https://www.facebook.com/dialog/feed?app_id=XXXXXXXXXXXXXXX&link=https://developers.facebook.com/docs/reference/dialogs/&picture=http://cdn.www.liferay.com/osb-community-theme/images/custom/facebook_link.png&name=Title%20Name&caption=Caption%20phrase&description=This%20is%20the%20description.&redirect_uri=http://www.liferay.com/about-us/careers" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=600');return false;">Facebook</a> | |
| <a href="https://www.facebook.com/sharer/sharer.php?u=http://www.liferay.com/careers/north-america" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=600');return false;">Share on Facebook</a><br /> | |
| <!-- Twitter --> | |
| <a href="http://www.twitter.com/share?url=http://www.liferay.com/careers/north-america&text=Here%20is%20some%20text" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Facebook --> | |
| <script src='http://connect.facebook.net/en_US/all.js'></script> | |
| <script> | |
| FB.init({appId: "XXXXXXXXXXXXXXX", status: true, cookie: true}); | |
| function postToFeed(redirectUri, link, name, caption, description) { | |
| // calling the API ... | |
| var obj = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="section"> | |
| <img datasrc="http://www.liferay.com/image/image_gallery?uuid=a9d9003c-017f-487e-9b2b-db7c15a2d4e0&groupId=14&t=1355426234988" class="lazy-load" alt="an image with lazy load" /> | |
| <div class="lazy-load">A div with Lazy Load</div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pop click examples: | |
| <div class="pop-click"> | |
| <span class="pop-click-content"\>popped!\</span\> | |
| </div> | |
| or | |
| <ul> | |
| <li class="pop-click"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUI().use( | |
| 'aui-base', | |
| function(A) { | |
| var popClicks = A.all('.pop-click'); | |
| var popClickHandle; | |
| var togglePopClick = function(event) { | |
| event.stopPropagation(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUI().use( | |
| 'aui-base', | |
| function(A) { | |
| var WIN = A.getWin(); | |
| var onScreenHelperNode = A.all('.on-screen-helper'); | |
| var updateOnScreen = function() { | |
| var currentScrollPos = WIN.get('docScrollY'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUI().use( | |
| 'aui-base', | |
| function(A) { | |
| var WIN = A.getWin(); | |
| var lazyLoadNode = A.all('.lazy-load'); | |
| var lazyLoad = function() { | |
| var currentScrollPos = WIN.get('docScrollY'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUI().use( | |
| 'liferay-hudcrumbs', | |
| function(A) { | |
| var navigation = A.one('#navigation'); | |
| if (navigation) { | |
| navigation.plug(A.Hudcrumbs); | |
| } | |
| } | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUI().use( | |
| 'aui-base', | |
| 'event-base', | |
| 'transition', | |
| function(A) { | |
| var body = A.getBody(); | |
| var WIN = A.getWin(); | |
| var toggle = A.one('#toggle'); | |
| var topNav = A.one('#topNavigation'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #set ($ns = $request.portlet-namespace) | |
| #set ($companyId = $getterUtil.getLong($request.theme-display.company-id)) | |
| #set ($scopeGroupId = $getterUtil.getLong($request.theme-display.scope-group-id)) | |
| #set ($jsLogging = $getterUtil.getBoolean($javascript-logging-enabled.data)) | |
| #set ($defaultEventType = $getterUtil.getString($default-event-type.data, 'All')) | |
| #set ($pathThemeImages = $request.theme-display.path-theme-images) | |
| #set ($languageId = $request.theme-display.language-id) | |
| #set ($defaultRegion = $getterUtil.getString($httpUtil.getParameter(${request.attributes.CURRENT_URL}, 'wcd-region', false), 'All')) |