<script type="text/javascript"> $(document).ajaxStart(function(){ $("#core-loader").show(); }); $(document).ajaxSuccess(function(){ $("#core-loader").fadeOut(); }); <?php LOAD_TAGS("JAVASCRIPT"); ?> $.tagArray = tags; // tags is a variable generated by LOAD_TAGS("JAVASCRIPT"); $(".tag-all").click(function(){ $.tagAll(); }); //Config $.contentTarget = $("#load-content"); // into which element you want to load new content $.firstLoad("<?php echo $first_load; ?> "); $.historyInit($.sendRequest); var http = "<?php echo $http;
<img src="<?php echo $loadingImg; ?> " alt="loader" /> </p> </div> <div id="entries"> <?php LOAD_MENU(); ?> <?php LOAD_ENTRIES("LIST"); ?> <?php LOAD_TAGS("LIST"); ?> <p class="tag-link tag-all"><a href="#">all</a></p> </div> </div> <p class="clear-margin"></p> <div id="load-content"></div> <div id="thumbs"><?php LOAD_ENTRIES("THUMBS"); ?> </div> <div id="footer">—<a href="http://weareastronauts.org/core-cms/" target="_blank">Core v1.2</a></div>