hi guys...
i'm still here because my site don't still work in iexplorer...
i don't know with but i have add only a script of banner slideshow...
if i delete this script for slideshow my site don't still work in explorer...
can you help me?
my site is:
http://76.162.12.136/consulting/
OK with firefox --- NO with explorer
this is my theme.html
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<{assign var=themeName value=$xoTheme->folderName}>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_themecss}>" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/themes/7Rose_no_banner/menu.css" />
<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
<!-- inizio script per menu slyss79 -->
<script type="text/javascript">
/***********************************************************************************************
Copyright (c) 2005 - Alf Magne Kalleland
post@dhtmlgoodies.com
Get this and other scripts at
www.dhtmlgoodies.com
You can use this script freely as long as this copyright message is kept intact.
***********************************************************************************************/
var menuAlignment = 'left'; // Align menu to the left or right?
var topMenuSpacer = 0; // Horizontal space(pixels) between the main menu items
var activateSubOnClick = false; // if true-> Show sub menu items on click, if false, show submenu items onmouseover
var leftAlignSubItems = false; // left align sub items t
var activeMenuItem = false; // Don't change this option. It should initially be false
var activeTabIndex = 0; // Index of initial active tab (0 = first tab) - If the value below is set to true, it will override this one.
var rememberActiveTabByCookie = true; // Set it to true if you want to be able to save active tab as cookie
var MSIE = navigator.userAgent.indexOf('MSIE')>=0?true:false;
var Opera = navigator.userAgent.indexOf('Opera')>=0?true:false;
var navigatorVersion = navigator.appVersion.replace(/.*?MSIE ([0-9]\.[0-9]).*/g,'$1')/1;
/*
These cookie functions are downloaded from
http://www.mach5.com/support/analyzer/manual/html/General/CookiesJavaScript.htm
*/
function Get_Cookie(name) {
var start = document.cookie.indexOf(name+"=");
var len = start+name.length+1;
if ((!start) && (name != document.cookie.substring(0,name.length))) return null;
if (start == -1) return null;
var end = document.cookie.indexOf(";",len);
if (end == -1) end = document.cookie.length;
return unescape(document.cookie.substring(len,end));
}
// This function has been slightly modified
function Set_Cookie(name,value,expires,path,domain,secure) {
expires = expires * 60*60*24*1000;
var today = new Date();
var expires_date = new Date( today.getTime() + (expires) );
var cookieString = name + "=" +escape(value) +
( (expires) ? ";expires=" + expires_date.toGMTString() : "") +
( (path) ? ";path=" + path : "") +
( (domain) ? ";domain=" + domain : "") +
( (secure) ? ";secure" : "");
document.cookie = cookieString;
}
function showHide()
{
if(activeMenuItem){
activeMenuItem.className = 'inactiveMenuItem';
var theId = activeMenuItem.id.replace(/[^0-9]/g,'');
document.getElementById('submenu_'+theId).style.display='none';
var img = activeMenuItem.getElementsByTagName('IMG');
if(img.length>0)img[0].style.display='none';
}
var img = this.getElementsByTagName('IMG');
if(img.length>0)img[0].style.display='inline';
activeMenuItem = this;
this.className = 'activeMenuItem';
var theId = this.id.replace(/[^0-9]/g,'');
document.getElementById('submenu_'+theId).style.display='block';
if(rememberActiveTabByCookie){
Set_Cookie('dhtmlgoodies_tab_menu_tabIndex','index: ' + (theId-1),100);
}
}
function initMenu()
{
var mainMenuObj = document.getElementById('mainMenu');
var menuItems = mainMenuObj.getElementsByTagName('A');
if(document.all){
mainMenuObj.style.visibility = 'hidden';
document.getElementById('submenu').style.visibility='hidden';
}
if(rememberActiveTabByCookie){
var cookieValue = Get_Cookie('dhtmlgoodies_tab_menu_tabIndex') + '';
cookieValue = cookieValue.replace(/[^0-9]/g,'');
if(cookieValue.length>0 && cookieValue<menuItems.length){
activeTabIndex = cookieValue/1;
}
}
var currentLeftPos = 15;
for(var no=0;no<menuItems.length;no++){
if(activateSubOnClick)menuItems[no].onclick = showHide; else menuItems[no].onmouseover = showHide;
menuItems[no].id = 'mainMenuItem' + (no+1);
if(menuAlignment=='left')
menuItems[no].style.left = currentLeftPos + 'px';
else
menuItems[no].style.right = currentLeftPos + 'px';
currentLeftPos = currentLeftPos + menuItems[no].offsetWidth + topMenuSpacer;
var img = menuItems[no].getElementsByTagName('IMG');
if(img.length>0){
img[0].style.display='none';
if(MSIE && !Opera){
img[0].style.bottom = '-1px';
img[0].style.right = '-1px';
}
}
if(no==activeTabIndex){
menuItems[no].className='activeMenuItem';
activeMenuItem = menuItems[no];
var img = activeMenuItem.getElementsByTagName('IMG');
if(img.length>0)img[0].style.display='inline';
}else menuItems[no].className='inactiveMenuItem';
if(!document.all)menuItems[no].style.bottom = '-1px';
if(MSIE && navigatorVersion < 6)menuItems[no].style.bottom = '-2px';
}
var mainMenuLinks = mainMenuObj.getElementsByTagName('A');
var subCounter = 1;
var parentWidth = mainMenuObj.offsetWidth;
while(document.getElementById('submenu_' + subCounter)){
var subItem = document.getElementById('submenu_' + subCounter);
if(leftAlignSubItems){
// No action
}else{
var leftPos = mainMenuLinks[subCounter-1].offsetLeft;
document.getElementById('submenu_'+subCounter).style.paddingLeft = leftPos + 'px';
subItem.style.position ='absolute';
if(subItem.offsetWidth > parentWidth){
leftPos = 0;
}
subItem.style.paddingLeft = leftPos + 'px';
subItem.style.position ='static';
}
if(subCounter==(activeTabIndex+1)){
subItem.style.display='block';
}else{
subItem.style.display='none';
}
subCounter++;
}
if(document.all){
mainMenuObj.style.visibility = 'visible';
document.getElementById('submenu').style.visibility='visible';
}
document.getElementById('submenu').style.display='block';
}
<!-- window.onload = initMenu; -->
</script>
<!-- fine script per menu slyss79 -->
<!-- inizio script per slideshow banner -->
<STYLE type="text/css">
/* CSS FOR SLIDESHOW SCRIPT */
#imageSlideshowHolder{
margin:0px; /* "Air" */
float:right; /* Floating gallery at the right side of other web page content */
width:870px; /* Image width */
height:80px; /* Image height */
position:relative; /* Don't remove this line */
}
/* Don't change these values */
#imageSlideshowHolder img{
position:absolute;
left:0px;
top:0px;
}
/* END CSS SLIDESHOW SCRIPT */
</style>
<SCRIPT type="text/javascript">
var slideshow2_noFading = false;
var slideshow2_timeBetweenSlides = 1000; // Amount of time between each image(1000 = 1 second)
var slideshow2_fadingSpeed = 10; // Speed of fading (Lower value = faster)
var slideshow2_galleryContainer; // Reference to the gallery div
var slideshow2_galleryWidth; // Width of gallery
var slideshow2_galleryHeight; // Height of galery
var slideshow2_slideIndex = -1; // Index of current image shown
var slideshow2_slideIndexNext = false; // Index of next image shown
var slideshow2_imageDivs = new Array(); // Array of image divs(Created dynamically)
var slideshow2_currentOpacity = 100; // Initial opacity
var slideshow2_imagesInGallery = false; // Number of images in gallery
var Opera = navigator.userAgent.indexOf('Opera')>=0?true:false;
function createParentDivs(imageIndex)
{
if(imageIndex==slideshow2_imagesInGallery){
showGallery();
}else{
var imgObj = document.getElementById('galleryImage' + imageIndex);
if(Opera)imgObj.style.position = 'static';
slideshow2_imageDivs[slideshow2_imageDivs.length] = imgObj;
imgObj.style.visibility = 'hidden';
imageIndex++;
createParentDivs(imageIndex);
}
}
function showGallery()
{
if(slideshow2_slideIndex==-1)slideshow2_slideIndex=0; else slideshow2_slideIndex++; // Index of next image to show
if(slideshow2_slideIndex==slideshow2_imageDivs.length)slideshow2_slideIndex=0;
slideshow2_slideIndexNext = slideshow2_slideIndex+1; // Index of the next next image
if(slideshow2_slideIndexNext==slideshow2_imageDivs.length)slideshow2_slideIndexNext = 0;
slideshow2_currentOpacity=100; // Reset current opacity
// Displaying image divs
slideshow2_imageDivs[slideshow2_slideIndex].style.visibility = 'visible';
if(Opera)slideshow2_imageDivs[slideshow2_slideIndex].style.display = 'inline';
if(navigator.userAgent.indexOf('Opera')<0){
slideshow2_imageDivs[slideshow2_slideIndexNext].style.visibility = 'visible';
}
if(document.all){ // IE rules
slideshow2_imageDivs[slideshow2_slideIndex].style.filter = 'alpha(opacity=100)';
slideshow2_imageDivs[slideshow2_slideIndexNext].style.filter = 'alpha(opacity=1)';
}else{
slideshow2_imageDivs[slideshow2_slideIndex].style.opacity = 0.99; // Can't use 1 and 0 because of screen flickering in FF
slideshow2_imageDivs[slideshow2_slideIndexNext].style.opacity = 0.01;
}
setTimeout('revealImage()',slideshow2_timeBetweenSlides);
}
function revealImage()
{
if(slideshow2_noFading){
slideshow2_imageDivs[slideshow2_slideIndex].style.visibility = 'hidden';
if(Opera)slideshow2_imageDivs[slideshow2_slideIndex].style.display = 'none';
showGallery();
return;
}
slideshow2_currentOpacity--;
if(document.all){
slideshow2_imageDivs[slideshow2_slideIndex].style.filter = 'alpha(opacity='+slideshow2_currentOpacity+')';
slideshow2_imageDivs[slideshow2_slideIndexNext].style.filter = 'alpha(opacity='+(100-slideshow2_currentOpacity)+')';
}else{
slideshow2_imageDivs[slideshow2_slideIndex].style.opacity = Math.max(0.01,slideshow2_currentOpacity/100); // Can't use 1 and 0 because of screen flickering in FF
slideshow2_imageDivs[slideshow2_slideIndexNext].style.opacity = Math.min(0.99,(1 - (slideshow2_currentOpacity/100)));
}
if(slideshow2_currentOpacity>0){
setTimeout('revealImage()',slideshow2_fadingSpeed);
}else{
slideshow2_imageDivs[slideshow2_slideIndex].style.visibility = 'hidden';
if(Opera)slideshow2_imageDivs[slideshow2_slideIndex].style.display = 'none';
showGallery();
}
}
function initImageGallery()
{
slideshow2_galleryContainer = document.getElementById('imageSlideshowHolder');
slideshow2_galleryWidth = slideshow2_galleryContainer.clientWidth;
slideshow2_galleryHeight = slideshow2_galleryContainer.clientHeight;
galleryImgArray = slideshow2_galleryContainer.getElementsByTagName('IMG');
for(var no=0;no<galleryImgArray.length;no++){
galleryImgArray[no].id = 'galleryImage' + no;
}
slideshow2_imagesInGallery = galleryImgArray.length;
createParentDivs(0);
}
</SCRIPT>
<!-- fine script per slideshow banner -->
</head>
<body>
<table id="wraper" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td id="header">
<div id="copyright"><b><{$xoops_slogan}></b></div><br /><br />
<div align="center">
<!-- <img src="<{$xoops_url}>/images/banners/empowering.gif" border="0"> -->
<div id="imageSlideshowHolder">
<img src="http://76.162.12.136/consulting/images/banners/banner01.jpg" border="0">
<img src="http://76.162.12.136/consulting/images/banners/banner02.jpg" border="0">
<img src="http://76.162.12.136/consulting/images/banners/banner03.jpg" border="0">
<img src="http://76.162.12.136/consulting/images/banners/banner04.jpg" border="0">
<img src="http://76.162.12.136/consulting/images/banners/banner05.jpg" border="0">
</div>
</div>
</td>
</tr>
</table>
<div id="subHead">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<form style="margin:0;" action="<{$xoops_url}>/search.php" method="post">
<input class="button" type="text" name="query" style="float: left; border:1px inset #F4F4F4; background:#F4F4F4; width:155px;" />
<input type="hidden" name="action" value="results" />
<input style="float: left; padding: 0 0 0 5px;" name="submit" type="image" src="<{$xoops_imageurl}>images/search.gif" value="submit" alt="Start Search"> [mlimg]<!-- <a style="color:#666; font-weight: normal;" href="<{$xoops_url}>/search.php"><{$smarty.const._MB_SYSTEM_ADVS}></a> -->
</form>
</td>
<td style="text-align: center;vertical-align:middle;">
<{if $xoops_isuser}>Hello <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a> (<a style="color:#666; font-weight: normal;" href="<{$xoops_url}>/user.php?op=logout"><{$smarty.const._LOGOUT}></a>)<{else}> <{/if}>
</td>
<td class="time"><{$smarty.now|date_format:"%A, %B %e, %Y"}></td>
</tr>
</table>
</div>
<table cellspacing="0" cellpadding="0" width="100%" id="menuHeadNavTable">
<tr>
<td id="menuHeadNav">
<!-- start of the menu slyss79 -->
<div id="mainMenu">
<a href="<{$xoops_url}>/">[en]Home[/en][it]Home[/it][ja]家[/ja][cn]家居[/cn]</a>
<a>[en]Seminars[/en][it]Seminari[/it][ja]セミナー[/ja][cn]ç ”è®¨ä¼š[/cn]</a>
<a>[en]Consulting[/en][it]Consulenze[/it][ja]相談[/ja][cn]咨询[/cn]</a>
<a>[en]Celebrity Campus[/en][it]Celebrity Campus[/it][ja]å