Javas and html code dont work Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Javas and html code dont work

    EORGamez
    EORGamez
    New Member


    Posts : 23
    Reputation : 1
    Language : EORGamez

    Javas and html code dont work Empty Javas and html code dont work

    Post by EORGamez January 30th 2012, 11:46 pm

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

    TWITTER
    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.
    avatar
    ProphecyCSS
    Forumember


    Posts : 97
    Reputation : 7
    Language : English

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by ProphecyCSS January 31st 2012, 12:07 am

    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
    EORGamez
    EORGamez
    New Member


    Posts : 23
    Reputation : 1
    Language : EORGamez

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by EORGamez January 31st 2012, 12:14 am

    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.
    avatar
    ProphecyCSS
    Forumember


    Posts : 97
    Reputation : 7
    Language : English

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by ProphecyCSS January 31st 2012, 12:28 am

    did u drag the widgets into the blank white spaces?
    EORGamez
    EORGamez
    New Member


    Posts : 23
    Reputation : 1
    Language : EORGamez

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by EORGamez January 31st 2012, 12:33 am

    yes i did.
    EORGamez
    EORGamez
    New Member


    Posts : 23
    Reputation : 1
    Language : EORGamez

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by EORGamez January 31st 2012, 12:46 am

    ok i got my twitter working but my facebook html code still not working also the java code version.
    EORGamez
    EORGamez
    New Member


    Posts : 23
    Reputation : 1
    Language : EORGamez

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by EORGamez January 31st 2012, 11:56 pm

    it look like this but to dont show up on the website with the html and java code. =(

    Javas and html code dont work Fb10
    avatar
    ProphecyCSS
    Forumember


    Posts : 97
    Reputation : 7
    Language : English

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by ProphecyCSS February 1st 2012, 12:04 am

    neat looking widget can u make me an acc and pm it with a link to ur website sometimes it depends on forum version
    EORGamez
    EORGamez
    New Member


    Posts : 23
    Reputation : 1
    Language : EORGamez

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by EORGamez February 1st 2012, 12:33 am

    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>
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by LGforum February 1st 2012, 12:40 am

    It won't matter what forum version.
    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.
    EORGamez
    EORGamez
    New Member


    Posts : 23
    Reputation : 1
    Language : EORGamez

    Javas and html code dont work Empty Re: Javas and html code dont work

    Post by EORGamez February 1st 2012, 12:58 am

    still dont work but thanks for trying to help me.