View Full Version : Making header.jpg a link?
volitian
03-09-2008, 09:35 PM
Hiya, does anyone know how to make header.jpg a link?
Im not sure if I can just href the link in my header template?
<td width="510" height="164"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="" /></td>
Like This?
<td width="510" height="164"><a href="http://volitianforums.co.uk/volitian/home.php"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="" /></a></td>
Thanks if anyone can help :)
snakes1100
03-09-2008, 09:41 PM
<a href="linktowereuwantittogo"><td width="510" height="164"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="" /></a></td>
volitian
03-09-2008, 09:44 PM
Excellent, my version worked, but it makes sence to have the URL first, thanks again Snakes1100! :D
--------------- Added 1205103213 at 1205103213 ---------------
hmm, I tryed the link before the tabe and it's not clickable but when you hover over it, you can see the URL in the bottom left of IE.
The one I did included the URL after the tabe and some table properties it works but looks untidy lol! not sure why it needs to be after <td to make it clickable, cheers tho mate I shud av just played with it really lol (gulps)..
[Edit]
I added target="_self" and alt text, looks better now ;)
<td width="510" height="164"><a href="http://volitianforums.co.uk/volitian/home.php" target="_self"><img width="510" height="164" border="0" src="$stylevar[imgdir_misc]/header.jpg" alt="Volitian Home" /></a></td>
Sea Shepherd
11-15-2008, 02:15 PM
Guys, im a total PHP noob.
I want to alter the link in my Forum Header Logo Image. Its incorrect.
How do i do this? From Scratch?
I can see the FTP folders on the server...where do i find the right file/php to alter the link that the logo goes to?
DO i change it via FTP or AdminCP?
Cheers, its late here and my brain is switche doff, ive been trying to work it out for hours.
Thanks
T
iNRoC
11-15-2008, 02:22 PM
Guys, im a total PHP noob.
I want to alter the link in my Forum Header Logo Image. Its incorrect.
How do i do this? From Scratch?
I can see the FTP folders on the server...where do i find the right file/php to alter the link that the logo goes to?
DO i change it via FTP or AdminCP?
Cheers, its late here and my brain is switche doff, ive been trying to work it out for hours.
Thanks
T
This is my logo code. It contains a link and the img.
<TR>
<a href="http://www.WebdevPros.net">
<img src="ub/logo.jpg" width="266" height="77" border="0" alt="WebDevPros.Net - Home"></a>
</tr>
Replace
<a href="http://www.WebdevPros.net"> with your desired link.
Replace
<img src="ub/logo.jpg" with the Image link.
Replace
alt="WebDevPros - Home" with your Rollover text
And then it should work. Do this in either ur header template or "Style Options".
Sea Shepherd
11-15-2008, 02:38 PM
Where do i find the Header Template?
EDIT: Cancel that! FOUND IT!
Thanks!!!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.