Support » Themes and Templates » onclick header, open in top frame / new window?

  • PAGE IN QUESTION

    Using…

    <div id="header" onclick="window.location.href='http://famreflections.com/'" style="cursor: pointer;"></div>
    
    	<div id="headerimg">
    		<h1>
                       <a href="<?php echo get_option('home'); ?>/">
                         <?php bloginfo('name'); ?></a>
                     </h1>
    		<div class="description">
                       <?php bloginfo('description'); ?>
    		</div>
    	</div>

    …to make my header clickable. I would like it to open the link in the top frame and / or new window. Where would I add the code for that and what would the code be?

    thank you

  • The topic ‘onclick header, open in top frame / new window?’ is closed to new replies.