<?php require_once '../include/header.php'; require_once '../lib/Kendo/Autoload.php'; ?> <?php $tabstrip = new \Kendo\UI\TabStrip('tabstrip'); $tabstrip->attr("style", "margin-right: 220px;"); // attach events $tabstrip->select("onSelect")->activate("onActivate")->contentLoad("onContentLoad")->error("onError"); // add items $item = new \Kendo\UI\TabStripItem(); $item->text("First Tab")->selected(true)->startContent(); ?> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer felis libero, lobortis ac rutrum quis, varius a velit. Donec lacus erat, cursus sed porta quis, adipiscing et ligula. Duis volutpat, sem pharetra accumsan pharetra, mi ligula cursus felis, ac aliquet leo diam eget risus. Integer facilisis, justo cursus venenatis vehicula, massa nisl tempor sem, in ullamcorper neque mauris in orci.</p> <?php $item->endContent(); $tabstrip->addItem($item); $item = new \Kendo\UI\TabStripItem(); $item->text("Second Tab")->startContent(); ?> <p>Ut orci ligula, varius ac consequat in, rhoncus in dolor. Mauris pulvinar molestie accumsan. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean velit ligula, pharetra quis aliquam sed, scelerisque sed sapien. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam dui mi, vulputate vitae pulvinar ac, condimentum sed eros.</p> <?php $item->endContent(); $tabstrip->addItem($item); $item = new \Kendo\UI\TabStripItem(); $item->text("Third Tab")->startContent(); ?> <p>Aliquam at nisl quis est adipiscing bibendum. Nam malesuada eros facilisis arcu vulputate at aliquam nunc tempor. In commodo scelerisque enim, eget sodales lorem condimentum rutrum. Phasellus sem metus, ultricies at commodo in, tristique non est. Morbi vel mauris eget mauris commodo elementum. Nam eget libero lacus, ut sollicitudin ante. Nam odio quam, suscipit a fringilla eget, dignissim nec arcu. Donec tristique arcu ut sapien elementum pellentesque.</p> <?php
<?php require_once '../include/header.php'; require_once '../lib/Kendo/Autoload.php'; ?> <div id="forecast"> <?php $tabstrip = new \Kendo\UI\TabStrip('tabstrip'); $tabstrip->attr('accesskey', 'w'); // set items $paris = new \Kendo\UI\TabStripItem(); $paris->text("Paris")->selected(true)->startContent(); ?> <div class="weather"> <h2>17<span>ºC</span></h2> <p>Rainy weather in Paris.</p> </div> <span class="rainy"> </span> <?php $paris->endContent(); $newYork = new \Kendo\UI\TabStripItem(); $newYork->text("New York")->startContent(); ?> <div class="weather"> <h2>29<span>ºC</span></h2> <p>Sunny weather in New York.</p> </div> <span class="sunny"> </span> <?php $newYork->endContent();