hatta bahsi geçen sitenin kaynak koduna bakarsan aşağıdaki kodları görebilirsin :
**************************************************
<script type="text/javascript">jQuery.preloadImages = function(){for(var i = 0; i<arguments.length; i++){jQuery("<img>").attr("src", arguments);}}</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script><script type="text/javascript">jQuery.preloadImages("<?php echo JURI::root() . $this->folder . "/" . $this->image[$i]; ?>");</script>
<script type="text/javascript">
/* <![CDATA[ */
// Define default values
jQuery.fn.cycle.defaults.timeoutFn = null;
jQuery.fn.cycle.defaults.prevNextClick = null;
jQuery.fn.cycle.defaults.pagerClick = null;
jQuery.fn.cycle.defaults.pagerAnchorBuilder = 'null';
jQuery.fn.cycle.defaults.end = null;
jQuery.fn.cycle.defaults.easing = null;
jQuery.fn.cycle.defaults.easeIn = null;
jQuery.fn.cycle.defaults.easeOut = null;
jQuery.fn.cycle.defaults.animIn = null;
jQuery.fn.cycle.defaults.animOut = null;
jQuery.fn.cycle.defaults.cssBefore = null;
jQuery.fn.cycle.defaults.cssAfter = null;
jQuery.fn.cycle.defaults.fxFn = null;
jQuery.fn.cycle.defaults.height = 'auto';
jQuery.fn.cycle.defaults.startingSlide = 0;
jQuery.fn.cycle.defaults.sync = 1;
jQuery.fn.cycle.defaults.autostopCount = 0;
jQuery.fn.cycle.defaults.slideExpr = null;
jQuery.fn.cycle.defaults.cleartype = !jQuery.support.opacity; // true if clearType corrections should be applied (for IE)
jQuery.fn.cycle.defaults.fastOnEvent = 0;
jQuery.fn.cycle.defaults.manualTrump = true;
jQuery.fn.cycle.defaults.requeueOnImageNotLoaded = true;
jQuery.fn.cycle.defaults.requeueTimeout = 250
// Main codes
jQuery(document).ready(function(){
// Hide the loading message box
jQuery('#slideshowboxloading').hide();
// Show Footer (using css)
jQuery('#slideshowboxfooter').css({ display: 'block' });
// Show SlideShow box (using css)
jQuery('#slideshowbox').css({ display: 'block' });
// Show navigation bar (using css)
jQuery('#slideshowboxnavigationbar').css({ display: 'block' });
// Show pagination bar (using css)
jQuery('#slideshowboxnav').css({ display: 'block' });
// Checking the gallery
var showgallery = 0;
// If gallery is on
if(showgallery == 1) {
jQuery('#slideshowbox') .before('<ul id="slideshowboxgallery">') .cycle({
fx: 'all',
timeout: 4000,
continuous: 0,
speed: 1000,
speedIn: null,
speedOut: null,
next: '#slideshowboxnext',
prev: '#slideshowboxprev',
pager: '#slideshowboxgallery',
pagerEvent: 'click',
pagerAnchorBuilder: function(idx, slide) { var src = jQuery('img',slide).attr('src'); return '<li><a href="javascript:void(0);"><img src="' + src + '" width="170px" height="100%" /><\/a><\/li>'; },
before: null,
after: null,
shuffle: null,
random: 1,
fit: 0,
containerResize: 1,
pause: 1,
pauseOnPagerHover: 0,
autostop: 0,
delay: 0,
nowrap: 0,
randomizeEffects: 1,
rev: 0 });
}
// If gallery is off
else {
jQuery('#slideshowbox').cycle({
fx: 'all',
timeout: 4000,
continuous: 0,
speed: 1000,
speedIn: null,
speedOut: null,
next: '#slideshowboxnext',
prev: '#slideshowboxprev',
pager: '#slideshowboxnav',
pagerEvent: 'click',
before: null,
after: null,
shuffle: null,
random: 1,
fit: 0,
containerResize: 1,
pause: 1,
pauseOnPagerHover: 0,
autostop: 0,
delay: 0,
nowrap: 0,
randomizeEffects: 1,
rev: 0
});
};
});
/* ]]> */
</script>
*********************************************************