I would like to put a small banner at the bottom of my forum and this Banner is clickable , you click on it and it goes to another site . Is this possible with a Widget and if so how ? or is there another way to do this and how ? Thanks
3 posters
Possible Widget help
Stephen-- Hyperactive
- Posts : 2542
Reputation : 326
Language :
- Post n°2
Re: Possible Widget help
Hello,
Try to use this code:
Try to use this code:
- Code:
<a href="www.yoursite.com"><img src="image link here">
Geezer- Forumember
- Posts : 191
Reputation : 0
Language : English
- Post n°3
Re: Possible Widget help
Thanks and where would I place this ?
Stephen-- Hyperactive
- Posts : 2542
Reputation : 326
Language :
- Post n°4
Re: Possible Widget help
Click the edit On your forum's widget then put the codes there.
Geezer- Forumember
- Posts : 191
Reputation : 0
Language : English
- Post n°5
Re: Possible Widget help
You will have to lead me through it dude , I,m new to this
Guest- Guest
- Post n°6
Re: Possible Widget help
Hi!
Replace that code to:
So, where you want to show the banner? In a widget?
Replace that code to:
- Code:
<a href="www.yoursite.com"><img src="image link here" /></a>
So, where you want to show the banner? In a widget?
Geezer- Forumember
- Posts : 191
Reputation : 0
Language : English
- Post n°7
Re: Possible Widget help
I want it at the bottom of my Forum under Statistics ,cheers
Guest- Guest
- Post n°8
Re: Possible Widget help
Add this code to Javascript codes management:
- Code:
$(function(){
$('#fo_stat').after('<br />
<center>
<a href="FIRST_SITE"><img src="FIRST_IMAGE" /></a><div style="width: 2px;">
<a href="SECOND_SITE"><img src="SECOND_IMAGE" /></a><div style="width: 2px;">
<a href="THIRD_SITE"><img src="THIRD_IMAGE" /></a><div style="width: 2px;">
</center>');
});
Geezer- Forumember
- Posts : 191
Reputation : 0
Language : English
- Post n°9
Re: Possible Widget help
Thanks Coddy , I will give it a go and get back to you if it dont work
Geezer- Forumember
- Posts : 191
Reputation : 0
Language : English
- Post n°10
Re: Possible Widget help
It worked perfectly but , how do you get it to open a new page instead of using the Forum page ?
Guest- Guest
- Post n°11
Re: Possible Widget help
- Code:
$(function(){
$('#fo_stat').after('<br />
<center>
<a href="FIRST_SITE" target="_blank"><img src="FIRST_IMAGE" /></a><div style="width: 2px;">
<a href="SECOND_SITE" target="_blank"><img src="SECOND_IMAGE" /></a><div style="width: 2px;">
<a href="THIRD_SITE" target="_blank"><img src="THIRD_IMAGE" /></a><div style="width: 2px;">
</center>');
});
Geezer- Forumember
- Posts : 191
Reputation : 0
Language : English
- Post n°12
Re: Possible Widget help
Thanks Coddy just what I wanted , cheers for your help mate
This is now complete
This is now complete
Base- Forumaster
- Posts : 10383
Reputation : 1695
Language : English and French
Location : United Kingdom, England
- Post n°14
Re: Possible Widget help
Use the 'solved' icon and not the 'complete' icon here.
Topic Solved & Locked |