View Single Post
Old 27-07-06, 10:07 PM   #8
TSM
The Sick Man
Mega Poster
 
TSM's Avatar
 
Join Date: Nov 2004
Location: Peckham.SE.LDN
Posts: 4,768
Default

Quote:
Originally Posted by MattTheLoony
Secondly, try taking the / off your links. So for example it's just "banner.html" instead of "/banner.html".
Yep, adding a / means get file from base dir of site, also absolute link. So if the url of the page was http://xxx/dir1/mypage.htm and you had /image.jpg as your image link code then it would try and find it at http://xxx/image.jpg, this is called absolute links. You also got relitive links which are dir2/image.jpg or ./dir2/image.jpg, if you used this the url it would go and try to find the image would be http://xxx/dir1/dir2/image.jpg. You can also extend it to ./../dir2/image.jpg which would get the image from http://xxx/dir2/image.jpg, the .. making it travel back through the directory structure and the . telling it to start traversing folders starting from its current location.

See all simple now.
__________________
OTR: KTM 690 Duke R 2015 Full Akro
SIDELINE: Kwak ZX636 A1P 2002, Red, R&G's, Yoshi, Double Bubble Screen
GONE: Kwak ZX-7R P1, Full Akro, Undertray, Screen
GONE: SV650S K2 Very Bruised & Without Fairing, Motovation Frame Sliders, R&G Ally Sprocket Toe Protector, HEL 2 Line Setup, GSXR K1 600 RWU Forks, Barnett Clutch & Springs, Penske 8981 Shock, Gilles Ti Rearsets, Steel Barends, Scottoiler, AFAM Chain & Sprockets, Twin FIAMM Horns, Skidmarx Bellypan, Full Micron Zeta Steel System, Cut down undertay.

Forum Problems & Information / Site Suggestions
TSM is offline   Reply With Quote