Sidebar for wordpress page

//to include the sidebar on your page
<?php include(TEMPLATEPATH . '/sidebar-contact.php'); ?>

//for the sidebar-test.php file
<div id="sidebar">

<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar( 2 ) ) : ?>

<?php endif; ?>

</div><!-- /sidebar -->

Move Native Window

//drag air window movie clip=myMovieClip

myMovieClip.addEventListener(MouseEvent.MOUSE_DOWN, moveApp);

function moveApp(evt:MouseEvent):void

Html Select Dropdown

<label class="job_label">Select Field</label><br />

<select class="select_field" name="select field">

<option value="Default Value" selected="selected">Default Value</option>

<option value="Next Choice">Next Choice</option>
<option value="Final Choice">Final Choice</option>


Dynamic form input field value

<select class="select_field" name="select field" onchange="changeValue(this)">

<option value="Default Value" selected="selected">Default Value</option>

<option value="first">first</option>
<option value="second">second</option>


<input id="input_field1" value="" name="field1" type="text" />

<!--On Change Function for Select Field-->
<script type="text/javascript">

function changeValue(field){

inputField1 = document.getElementById("input_field1");

if (field.value != "Default Value"){
inputField1.value = "Changed It";
else {
inputField1 = "";


For Each Loop

private var theArray:Array = ["part1","part2","part3"];


function traceArray(element:*, index:int, a:Array):void

Webkit specific rules

#secondary { background:url(../images/bg-sidebar.png) repeat-y; margin-top:-93px; position:relative; padding-bottom:100px; }

@media screen and (-webkit-min-device-pixel-ratio:0) { #secondary { margin-top:-92px; } }

Pseudo Class Selectors