The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Main Forum Logo Q

3 posters

Go down

Solved Main Forum Logo Q

Post by GregoryBaskin April 8th 2015, 4:52 am

Technical Details

Forum version : phpBB3
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : http://goldenbay.forumotion.co.nz/

Description of problem

Is there a way to assign a clickable, off-site URL to my main forum logo image?
GregoryBaskin
GregoryBaskin
New Member

Posts : 20
Reputation : 1
Language : English

http://goldenbay.forumotion.co.nz/

Back to top Go down

Solved Re: Main Forum Logo Q

Post by Niko April 9th 2015, 4:59 pm

Hello @GregoryBaskin,

basically you want to go to another page than the /forum one if you click on the banner, right?

if so, just to go ACP > Modules > HTML & Javascript > Javascript codes management and  Add create a new javascript code:

  • Title: as you prefer
  • Where: in all pages
  • Code:
    $(function() {

      var external_link = 'PASTEHERE';
    $("#logo-desc #logo").attr("href", external_link);

    });



You just have to change PASTEHERE with the link you want to be redirected to when you click on the banner Razz Razz
Niko
Niko
Helper
Helper

Male Posts : 3100
Reputation : 244
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

Solved Re: Main Forum Logo Q

Post by GregoryBaskin April 15th 2015, 10:41 am

Fantastic! Thank you, Niko!
GregoryBaskin
GregoryBaskin
New Member

Posts : 20
Reputation : 1
Language : English

http://goldenbay.forumotion.co.nz/

Back to top Go down

Solved Re: Main Forum Logo Q

Post by SLGray April 15th 2015, 11:30 pm

Topic solved and archived


Main Forum Logo Q Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum