I ran again into some trouble with a site that has the EE action, a carousel and showcase.
The site works, untill I apply EE resources Action.
That action changes paths.
I compared the HTML output from the original file, and the file with EE action, and it seems to me that the links to the css are missing, and part of the javascript is gone.
These css files are present on the server, but I do not know what is missing more, of course.
Without EE action:
<head>
<base href="http://mysite/edit/default_site/level/" /><script src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" type="text/javascript">
</script>
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?load=effects" type="text/javascript">
</script>
<script src="../Resources/glider.js" type="text/javascript">
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Language" content="nl"/>
<title>foto</title>
<link rel="stylesheet" href="index_item1_fwShowcase.css" type="text/css"/>
<link rel="stylesheet" href="index_serie5_fwShowcase.css" type="text/css"/>
<link rel="stylesheet" href="index_serie4_fwShowcase.css" type="text/css"/>
<link rel="stylesheet" href="index_serie3_fwShowcase.css" type="text/css"/>
<link rel="stylesheet" href="index_serie2_fwShowcase.css" type="text/css"/>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="../Resources/fwShowcase.js"></script>
<link rel="stylesheet" href="index_serie1_fwShowcase.css" type="text/css"/>
<meta name="viewport" content="width = 960, minimum-scale = 0.25, maximum-scale = 1.60"/>
<meta name="Author" content="XXXXXXX"/>
<link rel="stylesheet" type="text/css" href="../css/styles.css"/>
<style type="text/css">
<!--
body { font-family:Trebuchet MS,Arial,Helvetica,sans-serif; margin:0px; background-color:#808080; background-image:url(../Resources/bg.jpg); background-repeat:repeat-y; background-position:center top; height:100% }
html { height:100% }
#sitebar2 a:link { color:#ff3232; font-weight:bold; text-decoration:none; font-size:14px }
#sitebar2 a:visited { color:#ff3232; font-weight:bold; text-decoration:none; font-size:14px }
#sitebar2 a:hover { color:#ff3232; font-weight:bold; text-decoration:none; font-size:14px }
#sitebar2 a:active { color:#ff3232; font-weight:bold; text-decoration:none; font-size:14px }
#carousel_carousel div.scroller { overflow:hidden }
#carousel_carousel div.scroller div.section { overflow:hidden; float:left; height:340px; width:560px }
#carousel_carousel div.scroller { width:3660px; height:340px }
-->
</style>
<script type="text/javascript">//<![CDATA[
jQuery(function(){
$fw("#serie1").fwShowcase({"galleryTxtColor": "#888888","padding": 0,"borderWidth": 1,"borderColor": "#303030","roll": "#363636","prevTxt": "Vorige","nextTxt": "Volgende","playTxt": "Speel/Pause","closeTxt": "Sluit","duration": 4,"max": 562,"slideshow": true,"controls": false,"showInfo": false,"autohideControls": false,"autohideInfo": false,"align": 1,"controlsPath": "../Resources/controls.png","imageCss": {},"galleryCss": {},"dir":0, "itemWidth":75, "itemHeight":75, "outerHeight":75 , "outerWidth":450});
});
jQuery(function(){
$fw("#serie2").fwShowcase({"galleryTxtColor": "#888888","padding": 0,"borderWidth": 1,"borderColor": "#303030","roll": "#363636","prevTxt": "Vorige","nextTxt": "Volgende","playTxt": "Speel/Pause","closeTxt": "Sluit","duration": 4,"max": 562,"slideshow": true,"controls": false,"showInfo": false,"autohideControls": false,"autohideInfo": false,"align": 1,"controlsPath": "../Resources/controls.png","imageCss": {},"galleryCss": {},"dir":0, "itemWidth":75, "itemHeight":75, "outerHeight":75 , "outerWidth":450});
});
jQuery(function(){
$fw("#serie3").fwShowcase({"galleryTxtColor": "#888888","padding": 0,"borderWidth": 1,"borderColor": "#303030","roll": "#363636","prevTxt": "","nextTxt": "","playTxt": "","closeTxt": "","duration": 4,"max": 562,"slideshow": true,"controls": false,"showInfo": false,"autohideControls": false,"autohideInfo": false,"align": 1,"controlsPath": "../Resources/controls.png","imageCss": {},"galleryCss": {},"dir":0, "itemWidth":75, "itemHeight":75, "outerHeight":75 , "outerWidth":450});
});
jQuery(function(){
$fw("#serie4").fwShowcase({"galleryTxtColor": "#888888","padding": 0,"borderWidth": 1,"borderColor": "#303030","roll": "#363636","prevTxt": "Vorige","nextTxt": "Volgende","playTxt": "Speel/Pause","closeTxt": "Sluit","duration": 4,"max": 562,"slideshow": true,"controls": false,"showInfo": false,"autohideControls": false,"autohideInfo": false,"align": 1,"controlsPath": "../Resources/controls.png","imageCss": {},"galleryCss": {},"dir":0, "itemWidth":75, "itemHeight":75, "outerHeight":75 , "outerWidth":450});
});
jQuery(function(){
$fw("#serie5").fwShowcase({"galleryTxtColor": "#888888","padding": 0,"borderWidth": 1,"borderColor": "#303030","roll": "#363636","prevTxt": "Vorige","nextTxt": "Volgende","playTxt": "Speel/Pause","closeTxt": "Sluit","duration": 4,"max": 562,"slideshow": true,"controls": false,"showInfo": false,"autohideControls": false,"autohideInfo": false,"align": 1,"controlsPath": "../Resources/controls.png","imageCss": {},"galleryCss": {},"dir":0, "itemWidth":75, "itemHeight":75, "outerHeight":75 , "outerWidth":450});
});
jQuery(function(){
$fw("#item1").fwShowcase({"galleryTxtColor": "#888888","padding": 0,"borderWidth": 1,"borderColor": "#303030","roll": "#363636","prevTxt": "Vorige","nextTxt": "Volgende","playTxt": "Speel/Pause","closeTxt": "Sluit","duration": 4,"max": 562,"slideshow": true,"controls": false,"showInfo": false,"autohideControls": false,"autohideInfo": false,"align": 1,"controlsPath": "../Resources/controls.png","imageCss": {},"galleryCss": {},"dir":0, "itemWidth":75, "itemHeight":75, "outerHeight":75 , "outerWidth":450});
});
Event.observe(window,'load',function(){
var select = '';
if (window.location.href.indexOf('?') > -1){
var test = window.location.href.split('?')[1];
select = ($(test)) ? test : '';
}
if(!$(select)) select = '';
var my_glider = new Glider("carousel_carousel", {duration:0.5, initialSection: select});
$$('.carousel_carousel.next').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
my_glider.stop();
return my_glider.next();
});
});
$$('.carousel_carousel.previous').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
my_glider.stop();
return my_glider.previous();
});
});
$$('.carousel_carousel.start').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
return my_glider.start();
});
});
$$('.carousel_carousel.stop').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
return my_glider.stop();
});
});
});
//]]></script>
</head>
With EE action:
<head>
<base href="http://mysite/edit/default_site/level/" /><script src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" type="text/javascript">
</script>
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?load=effects" type="text/javascript">
</script>
<script src="../Resources/glider.js" type="text/javascript">
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Language" content="nl"/>
<title>film</title>
<meta name="viewport" content="width = 960, minimum-scale = 0.25, maximum-scale = 1.60"/>
<meta name="Author" content="XXXXXXXXX"/>
<link rel="stylesheet" type="text/css" href="../css/styles.css"/>
<style type="text/css">
<!--
body { font-family:Trebuchet MS,Arial,Helvetica,sans-serif; margin:0px; background-color:#808080; background-image:url(../Resources/bg.jpg); background-repeat:repeat-y; background-position:center top; height:100% }
html { height:100% }
a:link { text-decoration:none }
a:visited { text-decoration:none }
a:hover { text-decoration:none }
a:active { text-decoration:none }
#sitebar2 a:link { color:#37b237; font-weight:bold; text-decoration:none; font-size:14px }
#sitebar2 a:visited { color:#37b237; font-weight:bold; text-decoration:none; font-size:14px }
#sitebar2 a:hover { color:#37b237; font-weight:bold; text-decoration:none; font-size:14px }
#sitebar2 a:active { color:#37b237; font-weight:bold; text-decoration:none; font-size:14px }
#carousel_carousel div.scroller { overflow:hidden }
#carousel_carousel div.scroller div.section { overflow:hidden; float:left; height:315px; width:560px }
#carousel_carousel div.scroller { width:1220px; height:315px }
-->
</style>
<link rel="stylesheet" type="text/css" href="http://mysite/js/extra_styles.css"/>
<script type="text/javascript">//<![CDATA[
Event.observe(window,'load',function(){
var select = '';
if (window.location.href.indexOf('?') > -1){
var test = window.location.href.split('?')[1];
select = ($(test)) ? test : '';
}
if(!$(select)) select = '';
var my_glider = new Glider("carousel_carousel", {duration:0.5, initialSection: select});
$$('.carousel_carousel.next').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
my_glider.stop();
return my_glider.next();
});
});
$$('.carousel_carousel.previous').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
my_glider.stop();
return my_glider.previous();
});
});
$$('.carousel_carousel.start').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
return my_glider.start();
});
});
$$('.carousel_carousel.stop').each(function(elm){
elm.observe('click',function(evt){
Event.stop(evt);
return my_glider.stop();
});
});
});
//]]></script>
</head>
I think I could make a temporarely fix, but in that case the designer cannot update the showcase anymore.
I do hope for a permanent solution, and some assistance here.
Thanks a lot.
thanks.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options