Problem with script ?

Posted in: Newspaper
Post count: 3

Hello,

i’ve create a custom page template to use with CPT but i have a problem.

I need to create e table to see days of week and display tab on current day week.

I’ve insert this

<div id="tabs">

On my page template and this on custom javascript (withoude <script></script> code on theme panel but not load the code javascript. Is a problem of theme?

<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>

<script>
window.onload = function () {
$('#tabs').tabs();
$('#tabs').tabs('select', ((new Date().getDay() || 7) - 1));
$('#tabs .ui-state-active a').text('Today');
}
</script>

Post count: 7909

Hi,

I’m not really sure what custom modifications you have, but you could try to load your script direct into the code. Usually the scripts are load in header or footer – http://screencast.com/t/opAOK11Uyi7
Please note that we cannot provide any type of custom services, we provide only technical support for the theme related issues based on envato support policy – https://themeforest.net/page/item_support_policy

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.