Hi guys!
I'm creating my first homepage and want to have such a good locking fadeslide show in my homepage.
so i found this dynamic drive fadeslideshow an put it into my poorly writen homepage. everything works fine,
....on firefox. on internet explorer the javascript is blocked. ->there is a window telling me something like
"the scripts and active-x elements are restricted for this page"
then i can simply activate the javascript and everything works, but i don't want that all my visitors first have
to unblock the javascript.
Is there anyway i can tell IE: "Hi IE, everything is ok, you don't have to block my slideshow by default!"???
The homepagecode goes like:
---------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>my homepage</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery1=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [767, 301], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["pic/schleife1.jpg"],
["pic/schleife3.jpg"],
["pic/schleife4.jpg"],
["pic/schleife5.jpg"],
["pic/schleife2.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:5000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
togglerid: ""
})
</script>
</head>
<body>
<div id="fadeshow1" style="position: absolute; top:103px; left:266px; z-index:3"></div>
</body>
</html>
--------------------------------------------------------------
i know that there has to be a solution because i have seen pages with javascripts that work fine on my IE.
PLEASE HELP ME!
(please write as simple as possible because i'm not used html and i'm not a nativespeaker.)
Thanks you!
regards, Wettergott
Bookmarks