one for the mods or a one of u geeks
Moderator: Moderators
- gasspark
- Senior Member
- Posts: 599
- Joined: Sun Dec 30, 2007 12:14 pm
- Location: Liverpool
- Has thanked: 4 times
- Been thanked: 37 times
one for the mods or a one of u geeks
have a good website and would like to add a script for UHM so can divert them who would like to have a go them selfs but alas not good with code, so a script I can copy and paste would be good, if its been posted before just say were
thanks
John
gasspark
thanks
John
gasspark
-
- Senior Member
- Posts: 731
- Joined: Mon Nov 23, 2009 8:57 pm
- Has thanked: 63 times
- Been thanked: 59 times
Re: one for the mods or a one of u geeks
When you say "script" do you mean a simple link, possibly using a clickable picture?
wrinx
wrinx
- gasspark
- Senior Member
- Posts: 599
- Joined: Sun Dec 30, 2007 12:14 pm
- Location: Liverpool
- Has thanked: 4 times
- Been thanked: 37 times
Re: one for the mods or a one of u geeks
the clickable pic would that be the UHM logo if so yeswrinx wrote:When you say "script" do you mean a simple link, possibly using a clickable picture?
wrinx
- thescruff
- Senior Member
- Posts: 49685
- Joined: Mon Mar 10, 2008 12:46 am
- Location: Bath
- Has thanked: 360 times
- Been thanked: 3735 times
Re: one for the mods or a one of u geeks
If you open the page and copy the http:www code you can put the url code as I posted, ad it should open as as a clickable link
- Colour Republic
- Senior Member
- Posts: 3372
- Joined: Thu Jul 29, 2010 1:08 am
- Location: Brighton & Hove
- Has thanked: 263 times
- Been thanked: 544 times
Re: one for the mods or a one of u geeks
Code: Select all
<a href="http://www.ultimatehandyman.co.uk"><img src="http://www.ultimatehandyman.co.uk/forum1/styles/subsilver2/imageset/uhm_logo.gif" alt="Visit UltimateHandyman's website"/></a>
- Colour Republic
- Senior Member
- Posts: 3372
- Joined: Thu Jul 29, 2010 1:08 am
- Location: Brighton & Hove
- Has thanked: 263 times
- Been thanked: 544 times
Re: one for the mods or a one of u geeks
The code i've given you uses the logo from this website off their servers so everytime somebody opens tyour page on your website it uses a tiny amount of UHM bandwidth.
You could save a copy of the logo on to your own server to stop that happening. You would then need to change that part of the code to
assuming you put the file in a folder called 'images' on your server.
I'm sure UHM would be greatful of the link and the use on the logo but it's always best to ask first
You could save a copy of the logo on to your own server to stop that happening. You would then need to change that part of the code to
Code: Select all
<img src="images/uhm_logo.gif"
assuming you put the file in a folder called 'images' on your server.
I'm sure UHM would be greatful of the link and the use on the logo but it's always best to ask first
-
- Senior Member
- Posts: 731
- Joined: Mon Nov 23, 2009 8:57 pm
- Has thanked: 63 times
- Been thanked: 59 times
Re: one for the mods or a one of u geeks
Picture is very easy to do but without knowing the folder name and locations it's hard to give you code to copy and paste...and if you're not very good with code writing those bits in might be hard.
If you save the picture from the header here to a file, place the file name where I've put *path to image file*
Using "hotspot" picture:
<img src="file:*path to image file*/uhm_logo.gif" width="250" height="125" usemap="#Map" border="0">
<map name="Map">
<area shape="rect" coords="1,0,250,124" href="http://www.ultimatehandyman.co.uk" target="_blank">
</map>
Just text
<a href="http://www.ultimatehandyman.co.uk" target="_blank">Ultimate Handyman
</a>
Edit: Yes, ask permission to use images first :)
wrinx
If you save the picture from the header here to a file, place the file name where I've put *path to image file*
Using "hotspot" picture:
<img src="file:*path to image file*/uhm_logo.gif" width="250" height="125" usemap="#Map" border="0">
<map name="Map">
<area shape="rect" coords="1,0,250,124" href="http://www.ultimatehandyman.co.uk" target="_blank">
</map>
Just text
<a href="http://www.ultimatehandyman.co.uk" target="_blank">Ultimate Handyman
</a>
Edit: Yes, ask permission to use images first :)
wrinx
- Colour Republic
- Senior Member
- Posts: 3372
- Joined: Thu Jul 29, 2010 1:08 am
- Location: Brighton & Hove
- Has thanked: 263 times
- Been thanked: 544 times
Re: one for the mods or a one of u geeks
ohh Wrinx makes a good point
add to the code so that when people click on it, it opens a new tab/page that why your website is still running as well as UHM in their browser and you haven't diverted traffic away from your website
add
Code: Select all
target="_blank"