Clickable header? Clickable header?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Clickable header?

Started by Spid, December 01, 2006, 10:41:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Spid

Appologies if I've missed this on the boards.

My problem is I want to make the header I've got in my theme to be clickable. I have the header as a background in the H1 css. I've tried using
Quote<div id="header" onclick="location.href='http://siteaddress/';" style="cursor: pointer;">
but that didn't work. How can I go about getting it right?

Thanks in advance.

Spid

Appologies again for the double post, but you can ignore this question. I know what I've done wrong and it was a stupid mistake.

dke

always appriciated if you post how you solved it

Joachim Müller

<h1><a href="yourlink">your text</a></h1>should do the trick.