It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Need help making making banner link back to the home page

Need help making making banner link back to the home page

Postby donuts3 on Tue Mar 06, 2007 8:41 pm

everytime you click on the banner it makes a new page of the home page but i just it to link back to the page itself. can anyone help me figure it out?


www.lollertees.com is my site


the html code is

<?php /* Don't remove this line. */ require(ABSPATH . 'wp-blog-header.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<script src="<?php bloginfo('template_directory'); ?>/js_quicktags-mini.js" type="text/javascript"></script>
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>

<body>
<a name = "top"></a>
<div id="hnav">
<div id="hmenu">
<ul id="top">
<li><a href="#bottom" title="search in previous posts">search</a></li>
<li><?php wp_loginout(); ?></li>
</ul>
</div>

<div id="header">
<h1 id="blogtitle">
<a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?>
</a>
</h1>
</div>
</div> <!-- Closes the hnav div-->
<a href="http://lollertees.com" target="_blank"><img src="http://img339.imageshack.us/img339/9612/mastheaderag5.jpg" border="0" alt="Photobucket - Video and Image Hosting"></a>
</div>


the bold is where the image is located

thanks for reading and for the help if any.
donuts3
 
Posts: 5
Joined: Mon Mar 05, 2007 6:01 am

Postby mwa103 on Tue Mar 06, 2007 9:59 pm

If you remove target="_blank" the page will open in the current window.

-Mike
mwa103
100+ Club
 
Posts: 206
Joined: Mon Mar 07, 2005 10:55 pm

Postby donuts3 on Wed Mar 07, 2007 5:30 am

thank you so much
donuts3
 
Posts: 5
Joined: Mon Mar 05, 2007 6:01 am


Who is online

Users browsing this forum: No registered users and 6 guests