one for the mods or a one of u geeks

All your computer hardware and software questions in here please.

Moderator: Moderators

Post Reply
User avatar
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

Post by gasspark »

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
wrinx
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

Post by wrinx »

When you say "script" do you mean a simple link, possibly using a clickable picture?

wrinx
User avatar
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

Post by gasspark »

was more thinking full script with link would like the logo
User avatar
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

Post by gasspark »

wrinx wrote:When you say "script" do you mean a simple link, possibly using a clickable picture?

wrinx
the clickable pic would that be the UHM logo if so yes
User avatar
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

Post by thescruff »

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
User avatar
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

Post by Colour Republic »

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>
Of course you can change the alt text to whatever you like
User avatar
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

Post by gasspark »

Colour exactly what I wanted thanks :salute:
User avatar
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

Post by Colour Republic »

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

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 :thumbleft:
wrinx
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

Post by wrinx »

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
User avatar
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

Post by Colour Republic »

ohh Wrinx makes a good point

add

Code: Select all

target="_blank"
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 :thumbleft:
User avatar
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

Post by gasspark »

Ok thanks I understand and will add the script from wrinx
Post Reply

Return to “Computers”