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

FORUM

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

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.

  • This 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.

Announcements

 

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

Marly posted a discussion
With ning we can create our own profile questions, however, is there a way to remove or change the…
1 hour ago
Scott Bishop posted a discussion
Does anyone have a good hack to create endless scrolling on our photo and video pages? I had a grea…
6 hours ago
Scott Bishop replied to George H. Compton IV's discussion
(TIP) Ning 2.0 responsive fullwidth network at any screen resolution. :O Cellphones to TV's ;)
"Hi George, 
Thank you for this update. My site was finally updated with SSL today and it broke your…"
9 hours ago
Anastasiia_NING support posted discussions in NING BUSINESS CLUB
12 hours ago
Harald Bornebroek replied to Harald Bornebroek's discussion
Sign in via LinkedIn, Twitter , Yahoo etc.

Hi Anasatsia,
Thanks but I can not find the LinkedIn one.  How do I get that one?
How do I get th…"
16 hours ago
Anastasia_Ning_Support replied to Harald Bornebroek's discussion
Sign in via LinkedIn, Twitter , Yahoo etc.
"Hello! 
To enable social sign up/in open your Member Managment menu, switch to the Sign up & Sign i…"
16 hours ago
Louie St Clair, Shane Mecklenburger, Louis Mimouni and 5 more joined Ning Creators Social Network
22 hours ago
Scott Bishop replied to Scott Bishop's discussion
Photo Slide Show Not Working
"Now that you mention it, no. The items that have been taged are still searchable but they are not v…"
yesterday
Harald Bornebroek posted a discussion
This Ning powerd site: http://homeenergypros.org/ ;; has the cabaility to sign in via LinkedIn, Yaho…
yesterday
Anna_Ning_Support replied to Scott Bishop's discussion
Photo Slide Show Not Working
" Hello, Scott!
The issue with the photos is connected to the Flash Player that we stopped to suppor…"
yesterday
Anna_Ning_Support replied to Kyryl_Ning_Support's discussion
It's time to say goodbye to Flash player
"Hello, Scott!
We investigated the issue on your site and found out that this is connected to the te…"
yesterday
Anna_Ning_Support replied to Kyryl_Ning_Support's discussion
SSL certificate feature release
"Hello, Scott!
We reported your request to the Technical Team and will inform you of the updates reg…"
yesterday
More…

Meanwhile, you can check our social media channels