
03-03-2014, 10:26 AM
|
 |
Ecwid Team
|
|
Join Date: Feb 2010
Location: Ecwid headquarter
Posts: 5,876
|
|
Quote:
Originally Posted by afourcustom
|
Hello,
Most probably, the ability add scripts inside Joomla articles were disable for your site. That is why tabs script that you have added in source code of store page doesn't work.
In order to enable scripts on your site you should go to Extensions -> Plugin Manager page and click "Editor - TinyMCE" in the list to open this extension settings. Find "Prohibited Elements" option there and delete "script" element from it. Save changes.
Once you do this, you will be able to add jQuery script into the source code of your page, where your store is installed.
Use following script:
Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<script>/
Ecwid.OnPageLoaded.add(function(page){
if (page.type == "PRODUCT") {
jQuery( "#tabs" ).tabs();
}
})
</script>
__________________
Maya N., Ecwid Team
------------------
Welcome to our new Help Center!
|