Javas and html code dont work
3 posters
Page 1 of 1
Javas and html code dont work
I'm trying to put a twitter widget and facebook like box on my website on forumotion. But, everytime I put the html code in the html box in forumotion widget and save it it dont show up.
Here are the html for my facebook page and twitter:
FACEBOOK
TWITTER
Can someone help me because I believe you guy need to update your html and java code pages here at forumotion.
Here are the html for my facebook page and twitter:
- Code:
<div class="fb-like-box" data-href="http://www.facebook.com/eorgamez" data-width="292" data-colorscheme="dark" data-show-faces="true" data-stream="true" data-header="true"></div>
- Code:
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 6,
interval: 30000,
width: 'auto',
height: 300,
theme: {
shell: {
background: '#a80000',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#a60303'
}
},
features: {
scrollbar: true,
loop: false,
live: true,
behavior: 'all'
}
}).render().setUser('EORGamez').start();
</script>
Can someone help me because I believe you guy need to update your html and java code pages here at forumotion.
EORGamez- New Member
- Posts : 23
Reputation : 1
Language : EORGamez
Re: Javas and html code dont work
well it depends on the code and how u insert it did u insert both in the same box or diffrent boxes?
tell me how u inserted it
tell me how u inserted it
ProphecyCSS- Forumember
- Posts : 97
Reputation : 7
Language : English
Re: Javas and html code dont work
I put them in different boxs, then put them in the box in html code mode, and save it. Once I got done with that I when to my portal page to check to see if the widgets are working and nothing shows.
EORGamez- New Member
- Posts : 23
Reputation : 1
Language : EORGamez
Re: Javas and html code dont work
did u drag the widgets into the blank white spaces?
ProphecyCSS- Forumember
- Posts : 97
Reputation : 7
Language : English
Re: Javas and html code dont work
yes i did.
EORGamez- New Member
- Posts : 23
Reputation : 1
Language : EORGamez
Re: Javas and html code dont work
ok i got my twitter working but my facebook html code still not working also the java code version.
EORGamez- New Member
- Posts : 23
Reputation : 1
Language : EORGamez
Re: Javas and html code dont work
neat looking widget can u make me an acc and pm it with a link to ur website sometimes it depends on forum version
ProphecyCSS- Forumember
- Posts : 97
Reputation : 7
Language : English
Re: Javas and html code dont work
I'm using the phpbb 2 verison so it should show up i believe that forumotion need to update their html and java code pages. But here the java code verison for my website:
- Code:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
EORGamez- New Member
- Posts : 23
Reputation : 1
Language : EORGamez
Re: Javas and html code dont work
It won't matter what forum version.
It also has nothing to do with forumotion.
Try changing the script to this:
Also, it needs to go where HTML is alowed, not in a javascript file.
And finally, Java is not Javascript.
It also has nothing to do with forumotion.
Try changing the script to this:
- Code:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Also, it needs to go where HTML is alowed, not in a javascript file.
And finally, Java is not Javascript.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Javas and html code dont work
still dont work but thanks for trying to help me.
EORGamez- New Member
- Posts : 23
Reputation : 1
Language : EORGamez
Similar topics
» im think html dont work on my templates orr i dont know because im new in forumotion
» Submit buttons dont work: Problems: Modules
» i Dont Want To Creat HTML Page But Edit Forums HTML
» How can I put a navigation interface of my site in heder of my forum?
» Can the presence of code to work Html fund like this?
» Submit buttons dont work: Problems: Modules
» i Dont Want To Creat HTML Page But Edit Forums HTML
» How can I put a navigation interface of my site in heder of my forum?
» Can the presence of code to work Html fund like this?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum