Return to Snippet

Revision: 51547
at September 28, 2011 03:16 by kbrown


Initial Code
<?php
if (isset($_GET["project"])) {
$finalProj = $_GET["project"];	
} else {
$finalProj = 'kalakaua-garden';	
}
?>
 
<script type="text/javascript"> 

$(document).ready(function() {

currentProj = "<?php echo($finalProj);?>";

if (currentProj == 'kalakaua-garden') {
	$('#projectPhotos').cycle(0);
	$("#projectInfo").html("<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vitae gravida lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam scelerisque auctor velit mattis tempor. Vivamus sit amet velit eu arcu luctus lacinia ut accumsan nulla. Morbi et lacus sapien. Vestibulum viverra, erat vitae tincidunt pretium, nunc risus tristique est, a aliquam urna purus a ipsum. Integer non lorem lorem.</p>");
	clearLinks();
	$('#pLink1').addClass("active");
} else if (currentProj == 'adam-way') {
	$('#projectPhotos').cycle(1);
	$("#projectInfo").html("<p>81 Adam Way, Dizon Residence, is a 8,500 sq. ft. French Chateau styled custom house. It includes 4 BR, 4 BA, Guest Room with bathroom, powder room, cabana, 3-car garage, luxurious kitchen, wine room, library, gallery, game room, hobby room, red oak hardwood floor with walnut accent, fireplace with marble tile surround, granite and marble slabs, elegant curved stairs, and a custom built 15' x 7'6\" skylight. This finely detailed Atherton, CA estate home features traditional style moulding details interior and exterior of the house and was completed in 1999.</p>");
	clearLinks();
	$('#pLink2').addClass("active");
}


});

</script>

Initial URL
http://snipplr.com/users/kbrown/

Initial Description


Initial Title
Url String - Plan Start

Initial Tags


Initial Language
PHP