January 30th, 2013LWTB: When I am trying to use external page in a tab it breaks
Knowledge Base support case for Likno Web Tabs Builder, abstracted and stripped of all user’s private info.
Initial Email From: Bill
Initial Email Subject: external pages in tabs
Support Case Month: July 2012
Why does this code
<script type="text/javascript" src="http://www.foxmls.com/slideshowJS.php">
</script>cause the following to break? http://www.foxmls.com/defaultTest.aspx
I am trying to use tabs with internal code
Reply From: Likno Customer Support
Hello,
This happens because the script you are trying to load is amending the page. The DIVs that you use for Tabs are detached from the page and inserted back into it depending on the needs of the Tab control. If you have script code in there, it can cause this to run more than once. When you try to run a page-altering script after a page has fully loaded, the page breaks.
If you want to use the result of this script as a content for your Tab, then you need to first run your script and then somehow use the generated HTML. Is it possible to have the script produce its HTML into a specific target DIV for example? If not, then I am afraid you may not be able to combine the two.
Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter
Tags: break, content, div, external page, html, internal code, jquery, load, page, script, tab, website