|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
Introduction
This slideshow is to create a professional look like flash slideshow. Background
This slideshow has to need following prerequisite are follows 1. \Images folder [contains Images should defined in details.xml]2. settings.xml [all global setting of slideshow] 3. details.xml [contains all the description of each slide like Title, Heading, Description,Navigate URL,Image URL etc..] XML File hase following details
Using the codeA brief description of how to use the article or code. The class names, the methods and properties, any tricks or tips. Blocks of code should be set as style "Formatted" like this: //for XML var xmlDoc, xmlDescription; //for Slide var slideHeight = "250", slideWidth = "450", appliedFielter = "blendTrans(duration=1)"; //for Images var dimages=new Array(), arrDesc=new Array(); //for Other var starterKey, currentPage=0; //for Pagging var strPaging, containerPaging, _previousPage=null, _currentPage = null, totalPages=0, Loop=true, slideSpeed = 5000, pageStyle = "number", pagecellpadding = "2px", pagecellspacing = "2px", pageBackground = "darkgray", selectedpageBackground = "red", pageFontcolor = "white", pageCursor = "pointer", pageAlign= "center"; //for description var descTransparent = 40, descLeft = 250, descTop = 50, descWidth = 290, descHeight = 120, deschFont = "verdana", deschFontColor = "black", deschFontSize = "12pt", deschFontWeight = "bold", descdFont = "verdana", descdFontColor = "darkgray", descdFontSize = "10pt", backgroundIMG = "", descdFontWeight = "normal"; var txtPaddingLeft = "4px", txtPaddingRight = "4px", txtPaddingTop = "4px", txtPaddingBottom = "4px"; function getFielter() { appliedFielter = document.getElementById('drpFilter').value; } function preload() { //for Slide var slide = document.getElementById("imgFilter"); slide.height = slideHeight; slide.width = slideWidth; var Description = document.getElementById("divDescription"); with(Description.style) { background="url("+ backgroundIMG +")"; left = descLeft; top = descTop; width = descWidth; height = descHeight; filter = "alpha(opacity="+ descTransparent +")"; } var _head = document.getElementById('divsihead'); with(_head.style) { fontFamily = deschFont; color = deschFontColor; fontSize = deschFontSize; fontWeight = deschFontWeight; } var _desc = document.getElementById('divsidesc'); with(_desc.style) { fontFamily = descdFont; color = descdFontColor; fontSize = descdFontSize; fontWeight = descdFontWeight; } var _tblDescription = document.getElementById('tblDescription'); with(_tblDescription.style) { paddingTop = txtPaddingTop; paddingRight = txtPaddingRight; paddingBottom = txtPaddingBottom; paddingLeft = txtPaddingLeft; }
Other screenshot for Slideshow Effect History
If it is helpfull for you, please give your feedback/rate and review to me. Thanks.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||