| 1 |
<?php |
<?php |
| 2 |
// $Id: jcarousel.module,v 1.1.2.3.2.5 2009/03/25 18:10:22 robloach Exp $ |
// $Id: jcarousel.module,v 1.1.2.3.2.6 2009/09/29 17:19:05 robloach Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 64 |
$output .= theme('jcarousel', $items, $options); |
$output .= theme('jcarousel', $items, $options); |
| 65 |
$output .= '<p>'. t('The theme function allows you to easily create the markup, and add all the JavaScript to the page in one function call. In this example we create the carousel with the button next event being called when the mouse rolls over the buttons.') .'</p>'; |
$output .= '<p>'. t('The theme function allows you to easily create the markup, and add all the JavaScript to the page in one function call. In this example we create the carousel with the button next event being called when the mouse rolls over the buttons.') .'</p>'; |
| 66 |
|
|
| 67 |
|
// Provide a circular wrap element. |
| 68 |
|
$output .= '<h3>'. t('Circular wrap') .'</h3>'; |
| 69 |
|
$options = array( |
| 70 |
|
'wrap' => 'circular', |
| 71 |
|
); |
| 72 |
|
$output .= theme('jcarousel', $items, $options); |
| 73 |
return $output; |
return $output; |
| 74 |
break; |
break; |
| 75 |
} |
} |