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

Joven left a comment on Ning Networks en español
"Zzz..."
3 hours ago
Ron updated their profile
yesterday
Ron updated their profile photo
Monday
Mark Thorpe posted a discussion
I've run networks based on this platform in the past and never have I seen it in such dissarray as…
Nov 20
⚡JFarrow⌁ liked Bizz ( John )'s discussion How To Create Unlinked Pages In Groups Easily
Nov 15
Suave liked Suave's profile
Nov 15
Suave updated their profile photo
Nov 14
Suave updated their profile
Nov 14
Suave liked Suave's discussion I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
Nov 14
Suave is now a member of Ning Creators Social Network
Nov 14
Chaz is now friends with Kathleen (SunKat) and Margarida Maria Madruga
Nov 13
Mark Thorpe posted a discussion
Hi there,Just setting up a network and wondering how I can get the links that new mmebers fill out…
Nov 13
More…

Meanwhile, you can check our social media channels