get('theme', 'light'); $width = $params->get('width', 500); $tabs = $params->get('tabs_count', 3); $tabs_position = $params->get('tabs_position', 'top'); $tabs_event = $params->get('tabs_event', 'click'); $tabs_incremental = $params->get('tabs_incremental', 'Tab '); $linksMargins = $params->get('linksMargins', 0); $duration = $params->get('duration', 600); $transition_type = $params->get('transition_type', 'scrolling'); $transition_fx = $params->get('transition_fx', 'Quad.easeInOut'); $autoplay = $params->get('autoplay', 0); $autoplay_delay = $params->get('autoplay_delay', 2000); $navscrolling = $params->get('navscrolling', 1); if (intval($tabs) > $count) $tabs = $count; else if (intval($tabs) == 0) $tabs = $count; if (strlen($tabs_incremental) <= 0) $tabs_incremental = "Tab "; $style_css = $path . $style . '/roktabs.css'; $css = $uri_path . $style . '/roktabs.css'; if (file_exists($style_css)) $document->addStyleSheet($css); if (!defined('ROKTABS_JS')) { $document->addScript($uri_path . 'roktabs' . modRokTabsHelper::_getJSVersion() . '.js'); define('ROKTABS_JS', 1); } $write_tabs = modRokTabsHelper::write_tabs($tabs, $tabs_position, $list, null, $tabs_incremental, null, $params); ?>