Hi,
Back again, thanks for your previous help.
Jump to highlight is not working for me.
I got the highlight.js script from the extras folder and put it in the site's root directory.
My header.php file includes the style and script lines within the <head> and I added the body on load line immediately below the body class line. Is this correct? :
<head>
<?php tha_head_top(); ?>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php tha_head_bottom(); ?>
<?php wp_head(); ?>
<style type="text/css">.highlight { background: #FFFF40; }</style>
<script type="text/javascript" src="/highlight.js"></script>
</head>
<body <?php body_class(); ?>>
<body onload="highlight();">
thnx!
phil
Back again, thanks for your previous help.
Jump to highlight is not working for me.
I got the highlight.js script from the extras folder and put it in the site's root directory.
My header.php file includes the style and script lines within the <head> and I added the body on load line immediately below the body class line. Is this correct? :
<head>
<?php tha_head_top(); ?>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php tha_head_bottom(); ?>
<?php wp_head(); ?>
<style type="text/css">.highlight { background: #FFFF40; }</style>
<script type="text/javascript" src="/highlight.js"></script>
</head>
<body <?php body_class(); ?>>
<body onload="highlight();">
thnx!
phil
Comment