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
<context-param> | |
<param-name>webAppRootKey</param-name> | |
<param-value>myVeryOwnWebApp</param-value> | |
</context-param> |
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
<bean id="myBean" class="com.iamkristian.MyBean" factory-method="instance" /> | |
<bean class="org.springframework.jmx.export.MBeanExporter" lazy-init="false"> | |
<property name="beans"> | |
<map> | |
<entry key="bean:name=myBean" value-ref="myBean"/> | |
</map> | |
</property> | |
</bean> |
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
<?php | |
// $Id: node.tpl.php,v 1.7 2007/08/07 08:39:36 goba Exp $ | |
?> | |
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>"> | |
<?php if ($picture) { | |
print $picture; | |
}?> | |
<?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?> | |
<span class="submitted"><?php print $submitted?></span> | |
<div class="taxonomy"><?php print $terms?></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
var request:URLRequest = new URLRequest("content.swf"); | |
var loader:Loader = new Loader(); | |
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress); | |
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); | |
function loadProgress(event:ProgressEvent):void { | |
var percentLoaded:Number = event.bytesLoaded/event.bytesTotal; | |
percentLoaded = Math.round(percentLoaded * 100); | |
trace("Loading: "+percentLoaded+"%"); |
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
siteLoader.loadMovie("mysite.swf"); | |
loadingBar._xscale = 1; | |
loadingBar.onEnterFrame = function() { | |
kBytesLoaded = this._parent.siteLoader.getBytesLoaded() / 1024; | |
kBytesTotal = this._parent.siteLoader.getBytesTotal() / 1024; | |
percentage = Math.round(kBytesLoaded / kBytesTotal * 100); | |
this._xscale = percentage; | |
if (percentage == 99) { | |
delete this.onEnterFrame; | |
} |
NewerOlder