Hi folks,
I made a sample Page with the input format as php:
<?php
jquery_plugin_add('timers');
jquery_plugin_add('easing');
jquery_plugin_add('galleryview');
?>
<script type="text/javascript">
$('#photos').galleryView({
panel_width: 800,
panel_height: 300,
transition_speed: 1500,
transition_interval: 5000,
nav_theme: 'dark',
border: '1px solid white',
pause_on_hover: true
});
</script>
<div id="photos" class="galleryview">
<div class="panel">
<img src="http://www.spaceforaname.com/jquery/galleryview/img/gallery/01.jpg" />
</div>
<div class="panel">
<img src="http://www.spaceforaname.com/jquery/galleryview/img/gallery/02.jpg" />
</div>
</div>
<ul class="filmstrip">
<li><img src="http://www.spaceforaname.com/jquery/galleryview/img/gallery/01.jpg" alt="Effet du soleil" title="Effet du soleil" /></li>
<li><img src="http://www.spaceforaname.com/jquery/galleryview/img/gallery/02.jpg" alt="Eden" title="Eden" /></li>
</ul>
and I changed the .module file to include the following in addition to 'metadata' and 'validate':
... 'easing' => array(
'name' => t('Easing'),
'description' => t('To create a smoother filmstrip animation..'),
'version' => '1.3',
'url' => 'http://plugins.jquery.com/project/easing',
'files' => array(
'js' => array(
$path .'/jquery.easing.min.js',
),
),
),
'galleryview' => array(
'name' => t('Galleryview'),
'description' => t('Build a gallery without a filmstrip, build a filmstrip without panels, attach filmstrip to top or bottom of your gallery, or place panel overlays on top or bottom of panels.'),
'version' => '1.1',
'url' => 'http://plugins.jquery.com/project/galleryview',
'files' => array(
'js' => array(
$path .'/jquery.galleryview.min.js',
),
),
),
'timers' => array(
'name' => t('Timers'),
'description' => t('To facilitate timing of animation events.'),
'version' => '1.1.2',
'url' => 'http://plugins.jquery.com/project/timers',
'files' => array(
'js' => array(
$path .'/jquery.timers.min.js',
),
),
),...
Of course I have the jquery_plugin module enabled, and the respective jquery .js files all within the jquery_plugin folder.
What could be going wrong? Am I missing something fundamental?
Thanks for any and all guidance.
Comments
Comment #1
avpadernoWhen you say you changed the module, do you mean you changed the jQuery plugins module?
Comment #2
aerodog commentedyes exactly
Comment #3
aerodog commentedstupid mistake - moderator can kill this thread
Comment #4
avpaderno