This file contains 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
function compare(a,b) { | |
if (a.PARAM1 < b.PARAM2) | |
return -1; | |
if (a.PARAM1 > b.PARAM2) | |
return 1; | |
return 0; | |
} | |
ARRAY_OBJECTS.sort(compare); |
This file contains 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
@media screen and (max-width: 1024px) /*iPad Landscpae*/ { | |
// CSS styles | |
} | |
@media screen and (max-width: 770px) /*iPad Portrait */ { | |
// CSS styles | |
} | |
@media screen and (max-width: 480px) /*iPhone Landscape */ { | |
// CSS styles |
This file contains 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
{ | |
"app": "BMW App", | |
"cards":[ | |
{ | |
"card": "landingCard", | |
"title": "BMW", | |
"elements": [ | |
{ |
This file contains 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
new joContainer([ | |
new joLandingImg(landingTiles).selectEvent.subscribe(function (id, list) { | |
var card = joCache.get("videoCard"); | |
card.setVidMeta(list.getNodeData(id)); | |
App.stack.push(card); | |
}) | |
]) |
This file contains 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
new joContainer([ | |
tabContent = new joContainer([ | |
new joTitle("Hello from tab1").setStyle({ | |
display: 'none' | |
}), new joTitle("Hello from tab2").setStyle({ | |
display: 'none' | |
})]), | |
new joFlexrow( |
This file contains 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
pre { | |
background: #efefef; | |
-webkit-box-shadow: 1px 1px 0 #cfcfcf, | |
2px 2px 0 #cfcfcf, | |
3px 3px 0 #cfcfcf, | |
4px 4px 0 #cfcfcf, | |
5px 5px 0 #cfcfcf; | |
-webkit-transition: all 0.1s linear; | |
padding: 20px; | |
} |
This file contains 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
//init new element | |
new joHeaderImg("http://scdev.gizmo.com/images/pepsi_faceoff_bold.png","50","50") |
This file contains 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
<?php | |
$data="12.30 Conservative Policy Forum | |
Manchester Central : Exchange Auditorium | |
CPF Lecture | |
Open to Party members only | |
12.30 Demos in partnership with Pears Foundation | |
Midland Hotel : The French | |
Best Of British: Reflections on patriotism's place in policy |
This file contains 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
<?php | |
if(!empty($GLOBALS['social_dialog'])): //Step 4: Ok, was anything generated during that pages/element loop? | |
echo $GLOBALS['social_dialog']; //print out the html string generated if so... | |
endif; | |
?> |
NewerOlder