Current status of the Ning Platform is always available on the Ning Status Blog.

Hello NCs,

I have a code installed at the very top of the page in  an IFRAME here:
http://www.glam-express.com/page/tester-halloween-page

 

*Note, this is how the bottom code is also supposed to be displayed, note the tabs at the top.*

 



BELOW this iframe i have the same code but it's not in the iframe this time and the css and javascript external sources are linked in the CUSTOM CODE box as:


*************************************************************************************
<link rel="stylesheet" href="http://cdn.glam-express.com/cdn/2018HalloweenFullWidthTabs/css/component.css">

<script src="http://cdn.glam-express.com/cdn/2018HalloweenFullWidthTabs/js/cbpFWTabs.js"></script>

<script type="text/javascript">
new CBPFWTabs( document.getElementById( "tabs" ) );
</script>
*************************************************************************************

For some reason the CSS got applied but NOT the javascript (text in bold above). The tabs aren't being displayed correctly. 



Is there any way you can help me?
I know this is a very simple fix and I probably just typed in something incorrect in the custom code but I can't seem to wrap my head around what I'm doing wrong.

Appreciate any help/suggestions.

Thanks.
Mandy

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • I wonder if you remove the iframe, if any other type of code would display as a test?

    • Hi Amber. Yes I'm trying to display the code without the iframe just having a few display issues probably due to the source files. Appreciate the reply.

      • If your site is https and the file you are trying to embed is not, https cannot embed http as the browser tends to reject it. therefore the iframe would display an about:blank page.

        Having said that, there is a way to make the iframe invisible. Add CSS styling with display:none !important tags in your code. This should make the javascript work invisibly if that's what you want.

        • Hi Amber.

          Thanks for the reply again ;)

          Although I appreciate your reply I am trying to GET RID of the iframe altogether and have the actual code under the html part and external sources (css + javascript) in the custom code box.

          Linking the external souces correctly is what I need help with.

          Thanks.

          • So what happens if you don't iframe it. Does it just not show up at all where you want it to?

            • Yes, it displays a bit differently that's all. Appreciate your time and help again.

  • Hello Mandy, nice to see you again.

    I believe you can just remove the word "new" frome the bottom code.. :) Let me know if it doesn't work..

    <script type="text/javascript">
    CBPFWTabs( document.getElementById( "tabs" ) );
    </script>

    • This reply was deleted.
      • This reply was deleted.
        • Hello George, 

          Wow thanks for all of the recommendation; they are very much appreciated!!!

          I've tried all of them but unforunately no luck =/

          Although I think you're right, I have an inkling it has to do with this line of code:

          <script type="text/javascript">
          CBPFWTabs( document.getElementById( "tabs" ) );
          </script>

          This is exactly how it's written in the index.html file which is working via the iframe.

          I think the custom code doesn't like how it's written or formatted.

          I'll keep trying....thanks again.

  • 97747428?profile=RESIZE_930xThis css will fix your tabs.

    /* design studio CSS section */

    .tabs {
    text-align: center;
    }

    .tabs ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
    }

    .tabs ul li {
    border: 1px solid #e80970;
    border-bottom: none;
    margin: 0 0.25em;
    display: block;
    float: left;
    position: relative;
    }

    .tabs li.tab-current {
    border: 1px solid #e80970;
    box-shadow: inset 0 2px #e80970;
    border-bottom: none;
    z-index: 100;
    }

    .tabs li.tab-current:before,
    .tabs li.tab-current:after {
    content: '';
    position: absolute;
    height: 1px;
    right: 100%;
    bottom: 0;
    width: 1000px;
    background: #e80970;
    }

    .tabs li.tab-current:after {
    right: auto;
    left: 100%;
    width: 4000px;
    }

    .tabs a {
    color: #becbd2;
    display: block;
    font-size: 1.45em;
    line-height: 2.5;
    padding: 0 1.25em;
    white-space: nowrap;
    }

    .tabs a:hover {
    color: #768e9d;
    }

    .tabs li.tab-current a {
    color: #e80970;
    }

    /* Icons */
    .tabs a:before {
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    font-weight: normal;
    font-variant: normal;
    font-family: 'icomoon';
    line-height: 1;
    speak: none;
    -webkit-font-smoothing: antialiased;
    margin: -0.25em 0.4em 0 0;
    }

     

    • WOW George, this is awesome, I'll give it a go and appreciate your time and huge efforts, here! You've always been so kind and helpful! Thanks so much, again!!! You're awesome!

       

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Eva liked ⚡JFarrow⌁'s discussion What is going on with Ning? What Do We have to Look Forward To?
yesterday
Eva liked Suave's discussion I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
yesterday
Alex - Rosas † Negras posted a discussion
Sunday
Alex - Rosas † Negras posted a discussion
May 28
Alex - Rosas † Negras replied to Suave's discussion
I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
"if you need I'm here, if you look in my discussions you will also find the playstil"
May 23
Alex - Rosas † Negras replied to ⚡JFarrow⌁'s discussion
What is going on with Ning? What Do We have to Look Forward To?
"Bizz ⚡JFarrow⌁ 
I'm sorry that many like us have worked so hard and given up, but at least I'm…"
May 23
⚡JFarrow⌁ posted a discussion
Back in the day, this community was jumping with activity.   But since the Ukraine war broke out we…
May 22
⚡JFarrow⌁ and Truebook are now friends
May 22
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I want to thank JOHN BIZLEY ( BIZZ) for his invaluable help, active icons on the Ning bar,CODES ADDED
"A thousand thanks"
May 20
Alex - Rosas † Negras replied to Pam Givens's discussion
Landing Page
"Pam Givens this is an example i created of an old 3.0 site"
May 20
Alex - Rosas † Negras replied to Pam Givens's discussion
Landing Page
""
May 20
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
Sorry for my absence
"Pam Givens hi my friend, yes everything is ok a big hug"
May 19
More…

Meanwhile, you can check our social media channels