Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1373002
    dkaya888
    Participant

    Hi,

    I’m using a slider revolution slider in a custom facebook tab found here

    http://www.facebook.com/schoolofhairandbeauty

    The tab that is iframed from my website is the ‘Apply Now’ tab. When I click on this tab it redirect me to the original location of the slider. How do I stop this redirect?

    Apparently this code is what makes the redirect happen,

    <script type=”text/javascript”>if (top !=self) { top.location=self.location;}</script>

    …calling it an ‘iFrame Buster’. I want to disable the iFrame Buster so I can embed my website content in Facebook. Where do I find this javascript line so I can remove it.

    #1373003
    dkaya888
    Participant

    Also the page i’m linking to the facebook tab is

    https://auss-one-trainingeducation.edu.au/facebook-tab-apply-now

    #1373197
    Paul R
    Moderator

    Hi,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1378864
    dkaya888
    Participant

    Is there a way you can help without getting my login credentials. I have to get approval first before I allow you access?

    #1379351
    Lely
    Moderator

    Hi There,

    Upon checking, you have the following code on Cornerstone > Settings Tab >Custom JS:
    <script;type='text/javascript'>if(top!=self){top.location=top.location};</script>
    Please remove that.

    #1380660
    dkaya888
    Participant

    I added that to try and fix it but it still breaks out. If you have a look at this page and click ‘Apple Now”, it breaks out into the website. 🙁

    http://www.facebook.com/schoolofhairandbeauty

    #1380661
    dkaya888
    Participant

    So yeah I removed that line of code but it’s still breaking out

    #1381064
    Lely
    Moderator

    Hello There,

    This might be you Facebook tab setup now. There no more code that will do that when I check the source code of that page.

    *To Open Web Page in Same iFrame or New Page Using the Target Attribute*
    Add the target attribute into your anchor (a) element to control how a new page is loaded when the link is clicked. { and } are used in place of the correct so you can view the code, please use in place of these when coding:
    {a target=’_top’ href=’url.com’}Click here{/a} will open in the same window, and
    {a target=’_blank’ href=’url.com’}Click here{/a} will open in a new tab or window.
    Opening within the same iframe (target=”_top”) is generally the most used, since it keeps the user within the comfort of Facebook while still viewing the new page.

    Make sure you have chosen the last option.

    #1387101
    dkaya888
    Participant

    This doesn’t help as the facebook tab is generated within a facebook developer app which only allows you to insert a link, with html markup. I don’t know how to fix this 🙁

    #1387133
    Christian
    Moderator

    We’re sorry but we could not investigate further on this since this is not an issue with X. We cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thank you for your understanding.

  • <script> jQuery(function($){ $("#no-reply-1373002 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>