HTML on Sub forum
3 posters
Page 1 of 1
HTML on Sub forum
I've added background music to a homepage by entering HTML code in the Homepage message section. It also worked for me by entering it as the description for one of my sub forums. Is it possible to add it so that music will play in one sub forum only? I tried putting it in the sub forum rules section but it just displays the code.
Gerard- New Member
- Posts : 1
Reputation : 1
Language : English
Re: HTML on Sub forum
Do you mean just 1 section? I think you would need a new Javascript code.Gerard wrote:I've added background music to a homepage by entering HTML code in the Homepage message section. It also worked for me by entering it as the description for one of my sub forums. Is it possible to add it so that music will play in one sub forum only? I tried putting it in the sub forum rules section but it just displays the code.
Re: HTML on Sub forum
You should use Javascript. So, go to specific sub-forum & from URL of the sub-forum copy just part which begins with f and ends with -. Example: https://help.forumotion.com/f43-scripts-coding-problems only copy this: f43-
- Code:
var url=document.URL;
if(url.indexOf('part of subforum url')!=-1) {
$('body').append('Background music code');
}
BubbleDreams- New Member
- Posts : 2
Reputation : 1
Language : Serbian, English, Deutsch
Similar topics
» [help] how to make a forum/topic with html [how to allow html?]
» html for forum
» How to make a advertise in my forum html page in my forum??
» pop up html or html on the forum
» Way to put html over forum?
» html for forum
» How to make a advertise in my forum html page in my forum??
» pop up html or html on the forum
» Way to put html over forum?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum