New Posts  All Forums:Forum Nav:

image hyperlink

post #1 of 8
Thread Starter 
how would you make a image hyperlink? i want the same thing for my website as OCN has where you click the top header and it takes you back to the main page but i can't figure out how to do it, i have the code :
Code:
<a href="index.php"><img src="../images/header.gif" border="0" /></a>
is this correct? if so, where would i put it?

if anyone has anything to help me out please do. thanks
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
post #2 of 8
That's correct

You'll need to find the index template in the forum files - look for a reference to the header image. Then put the a href tags around that
Main Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2D E6700 Asus P5KPL-AM mATX Palit GTS250 2 x 2GB OCZ PC2-8500 
Hard DriveOptical DriveOSMonitor
Western Digital 500GB Pioneer DVD-RW Windows 7 Ultimate 64-bit Viewsonic VA2213w 
KeyboardPowerCaseMouse
Logitech Media Keyboard Deluxe 750W Thermaltake Toughpower Antec NSW4400 Logitech MX510 
  hide details  
Reply
Main Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2D E6700 Asus P5KPL-AM mATX Palit GTS250 2 x 2GB OCZ PC2-8500 
Hard DriveOptical DriveOSMonitor
Western Digital 500GB Pioneer DVD-RW Windows 7 Ultimate 64-bit Viewsonic VA2213w 
KeyboardPowerCaseMouse
Logitech Media Keyboard Deluxe 750W Thermaltake Toughpower Antec NSW4400 Logitech MX510 
  hide details  
Reply
post #3 of 8
Thread Starter 
Quote:
Originally Posted by prosser13 View Post
That's correct

You'll need to find the index template in the forum files - look for a reference to the header image. Then put the a href tags around that
would you mind telling me what to look for in the code? im not that good at it, it's joomla based and alot of it is php..
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
post #4 of 8
You'll need to find the actual forum template files, then just do a search for the name of your header image
Main Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2D E6700 Asus P5KPL-AM mATX Palit GTS250 2 x 2GB OCZ PC2-8500 
Hard DriveOptical DriveOSMonitor
Western Digital 500GB Pioneer DVD-RW Windows 7 Ultimate 64-bit Viewsonic VA2213w 
KeyboardPowerCaseMouse
Logitech Media Keyboard Deluxe 750W Thermaltake Toughpower Antec NSW4400 Logitech MX510 
  hide details  
Reply
Main Rig
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2D E6700 Asus P5KPL-AM mATX Palit GTS250 2 x 2GB OCZ PC2-8500 
Hard DriveOptical DriveOSMonitor
Western Digital 500GB Pioneer DVD-RW Windows 7 Ultimate 64-bit Viewsonic VA2213w 
KeyboardPowerCaseMouse
Logitech Media Keyboard Deluxe 750W Thermaltake Toughpower Antec NSW4400 Logitech MX510 
  hide details  
Reply
post #5 of 8
Thread Starter 
yeah mean the index.php file?
or this?
Code:
#header {
height : 140px;
float : left;
width : 100%;
padding : 0;
margin : 0;
background-color : #333333;
background-image : url(../images/header.gif);
background-repeat : repeat-fixed;
background-position : center 0;

Edited by kamil234 - 5/22/08 at 3:21pm
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
post #6 of 8
Yea, you'll need to access the CSS page for the template you're using, and modify the #header property. When you call that header property (usually in the page.tpl.php file), the assigned image becomes the background.

Code:
<div id="header"></div>
R'lyeh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 (4.03GHz) Gigabyte EP45-UD3P EVGA GTX285 4GB (2x2) Corsair Dominator (5-5-5-15, 2.1v) 
Hard DriveOptical DriveOSMonitor
300GB WD VelociRaptor, 320GB WD Caviar 7200 Lite-On 20X DVD+R Ubuntu 10.04 x64 / Vista Home Premium x64 Samsung 226BW 
KeyboardPowerCaseMouse
Generic P/S2 Corsair HX750W Lian-Li V2000 Logitech G3 
  hide details  
Reply
R'lyeh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 (4.03GHz) Gigabyte EP45-UD3P EVGA GTX285 4GB (2x2) Corsair Dominator (5-5-5-15, 2.1v) 
Hard DriveOptical DriveOSMonitor
300GB WD VelociRaptor, 320GB WD Caviar 7200 Lite-On 20X DVD+R Ubuntu 10.04 x64 / Vista Home Premium x64 Samsung 226BW 
KeyboardPowerCaseMouse
Generic P/S2 Corsair HX750W Lian-Li V2000 Logitech G3 
  hide details  
Reply
post #7 of 8
Thread Starter 
i still can't figure out how to do it
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
post #8 of 8
Thread Starter 
i got it thanks for the help
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
My System
(14 items)
 
  
CPUMotherboardGraphicsRAM
intel i5 3570K Asus z77 EVGA 1080 GTX 16gb venegence ddr-3 1600 
Hard DriveOptical DriveOSMonitor
1x60GB SSD OCZ Vetrex 3, 1x256GB SSD Crucial MX... DVD-RW LiteScribe Windows 10 Pro BENQ XL2411Z 144hz 
KeyboardPowerMouseMouse Pad
Ducky Shine 3 Red LED / brown cherry MX switches 750W Corsair CX Gold razer deathadder chroma steelseries qck heavy 
Audio
Steelseries siberia V2 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming