http://www.average.org/mkgallery/
*/
-img {
+.slideimage img {
clear:both;
border-style: inset;
border-color: gray;
margin: 0.2ex;
}
+.slideshowContainer img {
+ clear:both;
+ border-style: none;
+ margin: 0px;
+ padding: 0px;
+}
+
table.slide {
float: left;
width: 210px;
}
/* Initialization */
-window.addEvent('domready',init_gallery)
+window.addEvent('domready',init_gallery);
+
+/* This is how I would like it done for explorer:
+window.addEvent('readystatechange',function(parm){
+ alert('readystatechange, parm='+parm);
+ init_gallery();
+});
+/* but it does not seem to work */
this.options.cbStart();
this.isplaying = play;
this.controls.running(this.isplaying);
+ this.updatecoords();
this.show(id);
return false; /* to make it usable from href links */
},
*/
/*
- Hidable "fullscreen" Window for Slideshow
+ Hideable "fullscreen" Window for Slideshow
*/
var showWindow = new Class({
container: document.body,
tohide: '',
onClick: $empty,
+ onKeypress: $empty,
}
},
display: 'none'
}).addEvent('click', function(){
this.options.onClick()
+ }.bind(this)).addEvent('keypress', function(){
+ this.options.onKeypress()
}.bind(this)).injectInside(this.options.container);
- this.position();
-
window.addEvent('resize', this.position.bind(this));
window.addEvent('scroll', this.position.bind(this));
},
'overflow-x': 'hidden',
'overflow-y': 'hidden',
});
+ this.position();
this.container.setStyle('display', 'block');
},
my $self = shift;
my $IND = $self->{-IND};
- print $IND end_center,end_div,end_html,"\n";
+ print $IND end_center,end_div,
+ # "\n",'<script type="text/javascript">init_gallery();</script>',"\n",
+ end_html,"\n";
close($IND) if ($IND);
undef $self->{-IND};