Codigo ejemplo de uso :
Código: Seleccionar todo
<?php
include( "config.php" );
include( TWEB_PATH . 'core.php' );
$oWeb = new TWeb('TEST TCAROUSEL');
$oWeb->lAwesome = true;
$oWeb->Activate();
$oWnd = new TWindow('main', 10, 10, '19%', '40%');
$oCarusel = new TCarousel( $oWnd, 'mycarousel', 30, 25, 200, 200 );
$oCarusel->AddImage( IMAGE_PATH . 'drive.png' );
$oCarusel->AddImage( IMAGE_PATH . 'elife.png' );
$oCarusel->AddImage( IMAGE_PATH . 'first.png' );
$oCarusel->AddImage( IMAGE_PATH . 'evolution.png' );
$oCarusel->AddImage( IMAGE_PATH . 'precisa.png' );
$oCarusel->NextPrevDisable();
$oSay = new TSay( $oWnd, 'say', '90%', 10, 'TEST CAROUSEL', '95%', 20, null, 'tsay');
$oWnd->Activate();
$oWeb->End();
?>
<style>
.tsay {
color: blue;
text-align: center;
font-weight: bold;
}
@media (max-width: 411px) {
#main {
width: 78% !important;
height: 50% !important;
left: 15% !important;
top: 20% !important;
}
}
</style>