Exemple #1
0
function facebox_plugin()
{
    ?>
		<link rel="stylesheet" type="text/css" href="<?php 
    the_recource_url('/facebox.css');
    ?>
" media="screen" />
		<script type="text/javascript" src="<?php 
    the_recource_url('/facebox.js');
    ?>
"></script>
		<script type="text/javascript">$(function() {$.facebox.settings.loadingImage='<?php 
    the_recource_url('/pix/loading.gif');
    ?>
';$.facebox.settings.closeImage='<?php 
    the_recource_url('/pix/closelabel.png');
    ?>
';$('a.faceboxImg').facebox();});</script>
	<?php 
}
Exemple #2
0
if (is_singular()) {
    ?>
<script type="text/javascript">loadJS("<?php 
    the_recource_url('/comments-ajax.js');
    ?>
");</script>
<?php 
}
if (is_makeitup_comment_enable()) {
    ?>
<link rel="stylesheet" type="text/css" href="<?php 
    the_recource_url('/markitup/style.css');
    ?>
" />
<script type="text/javascript">loadJS("<?php 
    the_recource_url('/markitup/jquery.markitup.js');
    ?>
");</script>
<?php 
}
the_google_analytics_if_enable();
?>
</head>
<body>
<div id="container">
<ul id="topMnu">
  <?php 
wp_register();
?>
  <li>
    <?php