SlideShare a Scribd company logo
JavaScript Slideshow
<script language="JavaScript1.1">

<!--



/*

JavaScript Image slideshow:

By JavaScript Kit (www.javascriptkit.com)

Over 200+ free JavaScript here!

*/



var slideimages=new Array()

var slidelinks=new Array()

function slideshowimages(){

for (i=0;i<slideshowimages.arguments.length;i++){

slideimages[i]=new Image()

slideimages[i].src=slideshowimages.arguments[i]

}

}
function slideshowlinks(){

for (i=0;i<slideshowlinks.arguments.length;i++)

slidelinks[i]=slideshowlinks.arguments[i]

}



function gotoshow(){

if (!window.winslide||winslide.closed)

winslide=window.open(slidelinks[whichlink])

else

winslide.location=slidelinks[whichlink]

winslide.focus()

}



//-->

</script>

<a href="javascript:gotoshow()"><img src="food1.jpg" name="slide"
border=0 width=300 height=375></a>

<script>

<!--
//configure the paths of the images, plus corresponding target links

slideshowimages("food1.jpg","food2.jpg","food3.jpg","food4.jpg","food
5.jpg")

slideshowlinks("http://food.epicurious.com/run/recipe/view?id=13285
","http://food.epicurious.com/run/recipe/view?id=10092","http://food
.epicurious.com/run/recipe/view?id=100975","http://food.epicurious.c
om/run/recipe/view?id=2876","http://food.epicurious.com/run/recipe
/view?id=20010")



//configure the speed of the slideshow, in miliseconds

var slideshowspeed=2000



var whichlink=0

var whichimage=0

function slideit(){

if (!document.images)
return

document.images.slide.src=slideimages[whichimage].src

whichlink=whichimage

if (whichimage<slideimages.length-1)

whichimage++

else

whichimage=0
setTimeout("slideit()",slideshowspeed)

}

slideit()



//-->

</script>

<p align="center"><font face="arial" size="-2">This free script provided by</font><br>

<font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript

Kit</a></font></p>

More Related Content

DOC
Creating dynamic SVG elements in JavaScript
PPT
Умеете ли вы читать этикетку товара?
PDF
JQuery in Seaside
KEY
Artdm170 Week4 Java Script Effects
PPTX
dotnetConf2019 meetup in AICHI / Elmish
PDF
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStart
PPTX
SVG and the web
PDF
JavaScript 1.5 to 2.0 (TomTom)
Creating dynamic SVG elements in JavaScript
Умеете ли вы читать этикетку товара?
JQuery in Seaside
Artdm170 Week4 Java Script Effects
dotnetConf2019 meetup in AICHI / Elmish
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStart
SVG and the web
JavaScript 1.5 to 2.0 (TomTom)

What's hot (20)

PPT
Jquery ui
PDF
jQuery (BostonPHP)
PDF
MOConf'13: WebNotBombs: Optimize this
PDF
jQuery (MeshU)
KEY
An in-depth look at jQuery UI
KEY
An in-depth look at jQuery
PDF
jQuery (DrupalCamp Toronto)
PPT
javascript examples
PDF
Drawing a Circle Three Ways: Generating Graphics for the Web
PDF
jQuery in 15 minutes
PPTX
Jquery Complete Presentation along with Javascript Basics
PDF
Pengenalan AngularJS
PDF
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...
PPTX
An introduction to Vue.js
PDF
Отзывчивые изображения правильно
PPTX
JQuery Overview
PPT
J query b_dotnet_ug_meet_12_may_2012
PPTX
jQuery Has Coding Standards
PDF
The Future of CSS with Web Components
PDF
Jquery presentation
Jquery ui
jQuery (BostonPHP)
MOConf'13: WebNotBombs: Optimize this
jQuery (MeshU)
An in-depth look at jQuery UI
An in-depth look at jQuery
jQuery (DrupalCamp Toronto)
javascript examples
Drawing a Circle Three Ways: Generating Graphics for the Web
jQuery in 15 minutes
Jquery Complete Presentation along with Javascript Basics
Pengenalan AngularJS
Developing Context-sensitive Help for Web-based Applications - Scott DeLoach,...
An introduction to Vue.js
Отзывчивые изображения правильно
JQuery Overview
J query b_dotnet_ug_meet_12_may_2012
jQuery Has Coding Standards
The Future of CSS with Web Components
Jquery presentation
Ad

Viewers also liked (10)

PPTX
Home Financing Process 101
PPSX
Www aboutagame.com
PDF
Home Buyers Guide
PPTX
First time home buyers presentation
PPTX
New Agents Lending and DPA Programs 101 Presentation
DOCX
Java script calc karan by karan chanana
PPSX
Www aboutagame.com
PDF
Eprint – интернет-магазин полиграфии и сувенирки с онлайн-редактором шаблонов
PDF
Презентация типографии Фастпринт®
PPT
Home Financing Process 101
Www aboutagame.com
Home Buyers Guide
First time home buyers presentation
New Agents Lending and DPA Programs 101 Presentation
Java script calc karan by karan chanana
Www aboutagame.com
Eprint – интернет-магазин полиграфии и сувенирки с онлайн-редактором шаблонов
Презентация типографии Фастпринт®
Ad

Similar to Java script slideshow by karan chanana (20)

KEY
CSS3 Takes on the World
PDF
Building iPhone Web Apps using "classic" Domino
PDF
Yearning jQuery
PDF
Макс Грибов — Использование SpriteKit в неигровых приложениях
PDF
Msbte polytechnic 22519 CSS Ch 6 By Syed Ateeq.pdf
PDF
Using ReactJS in AngularJS
TXT
Readme
PDF
Prototype UI
PDF
Илья Пухальский (EPAM Systems)
PPTX
лукьянченко л.а. пос 10а
PPTX
AngularJS Animations
PDF
Introduction to jQuery
PDF
Mume JQueryMobile Intro
PDF
The Future of CSS with Web components
PDF
Prototype UI Intro
PDF
#JavaFX.forReal()
PDF
HTML5って必要?
PPTX
Vue js and Dyploma
PDF
20111014 mu me_j_querymobile
TXT
New text documentfsdfs
CSS3 Takes on the World
Building iPhone Web Apps using "classic" Domino
Yearning jQuery
Макс Грибов — Использование SpriteKit в неигровых приложениях
Msbte polytechnic 22519 CSS Ch 6 By Syed Ateeq.pdf
Using ReactJS in AngularJS
Readme
Prototype UI
Илья Пухальский (EPAM Systems)
лукьянченко л.а. пос 10а
AngularJS Animations
Introduction to jQuery
Mume JQueryMobile Intro
The Future of CSS with Web components
Prototype UI Intro
#JavaFX.forReal()
HTML5って必要?
Vue js and Dyploma
20111014 mu me_j_querymobile
New text documentfsdfs

More from karan chanana (9)

DOCX
Java script while loop by karan chanana
DOCX
Add text on image by karan chanana
DOCX
Accessing data from a simple post by karan chanana
DOCX
Adding text to an image by karan chanana
DOCX
Karan chanana
DOCX
Javascript validation by karan chanana
DOCX
Add two numbers karan chanana
DOCX
Javascript validation karan chanana
DOCX
Javascript validation karan
Java script while loop by karan chanana
Add text on image by karan chanana
Accessing data from a simple post by karan chanana
Adding text to an image by karan chanana
Karan chanana
Javascript validation by karan chanana
Add two numbers karan chanana
Javascript validation karan chanana
Javascript validation karan

Recently uploaded (20)

PPTX
Institutional Correction lecture only . . .
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Classroom Observation Tools for Teachers
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
01-Introduction-to-Information-Management.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
RMMM.pdf make it easy to upload and study
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Cell Structure & Organelles in detailed.
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Institutional Correction lecture only . . .
O5-L3 Freight Transport Ops (International) V1.pdf
Classroom Observation Tools for Teachers
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
O7-L3 Supply Chain Operations - ICLT Program
Anesthesia in Laparoscopic Surgery in India
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
VCE English Exam - Section C Student Revision Booklet
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Supply Chain Operations Speaking Notes -ICLT Program
01-Introduction-to-Information-Management.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
RMMM.pdf make it easy to upload and study
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Cell Structure & Organelles in detailed.
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Final Presentation General Medicine 03-08-2024.pptx

Java script slideshow by karan chanana

  • 1. JavaScript Slideshow <script language="JavaScript1.1"> <!-- /* JavaScript Image slideshow: By JavaScript Kit (www.javascriptkit.com) Over 200+ free JavaScript here! */ var slideimages=new Array() var slidelinks=new Array() function slideshowimages(){ for (i=0;i<slideshowimages.arguments.length;i++){ slideimages[i]=new Image() slideimages[i].src=slideshowimages.arguments[i] } }
  • 2. function slideshowlinks(){ for (i=0;i<slideshowlinks.arguments.length;i++) slidelinks[i]=slideshowlinks.arguments[i] } function gotoshow(){ if (!window.winslide||winslide.closed) winslide=window.open(slidelinks[whichlink]) else winslide.location=slidelinks[whichlink] winslide.focus() } //--> </script> <a href="javascript:gotoshow()"><img src="food1.jpg" name="slide" border=0 width=300 height=375></a> <script> <!--
  • 3. //configure the paths of the images, plus corresponding target links slideshowimages("food1.jpg","food2.jpg","food3.jpg","food4.jpg","food 5.jpg") slideshowlinks("http://food.epicurious.com/run/recipe/view?id=13285 ","http://food.epicurious.com/run/recipe/view?id=10092","http://food .epicurious.com/run/recipe/view?id=100975","http://food.epicurious.c om/run/recipe/view?id=2876","http://food.epicurious.com/run/recipe /view?id=20010") //configure the speed of the slideshow, in miliseconds var slideshowspeed=2000 var whichlink=0 var whichimage=0 function slideit(){ if (!document.images) return document.images.slide.src=slideimages[whichimage].src whichlink=whichimage if (whichimage<slideimages.length-1) whichimage++ else whichimage=0
  • 4. setTimeout("slideit()",slideshowspeed) } slideit() //--> </script> <p align="center"><font face="arial" size="-2">This free script provided by</font><br> <font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript Kit</a></font></p>