Commit 511b3ae4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Remove layout helper

parent 52dbd147
<?php
/* Motto statements */
function motto( $title, $array ) {
echo '<div id="project_statement">'.
'<h1 id="motto">'.$title.'</h1>'.
'<table class="fixed_table"><tr>';
foreach( $array as $ar ) {
echo '<td class="highlight"><h2>'.$ar['title']."</h2>\n";
echo $ar['text'];
echo '</td>';
}
echo '</tr></table></div>';
echo
'<script type="text/javascript">
function dimPanels(){
$(".highlight").each(function() {
$(this).mouseout (function() { $(this).children( "p" ).css("color", "#888"); } );
$(this).mouseover(function() { $(this).children( "p" ).css("color", "#444"); } );
} );
$("#project_statement p").each( function() { $(this).css("color", "#888"); } );
}
dimPanels();
</script>';
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment