i am not getting a editing bar with javascript in it and many times i cant get pages that i have added to page types. its always taking default.php
Permalink
<script src="<?=$this->getThemePath()?>/Scripts/jquery-1.6.min.js" type="text/javascript"></script>
<script src="<?=$this->getThemePath()?>/Scripts/jquery.cycle.all.js" type="text/javascript"></script>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2559022" binding="#slideshow" />
</oa:widgets>
-->
</script>
</style>
<div class="adsspace"> </div>
<div class="adscontent-wrapper">
<div class="adsdivide2">
<script type="text/javascript">
// BeginOAWidget_Instance_2559022: #slideshow
slideshowAddCaption=false;
$(document).ready(function() {
$('#slideshow').cycle({
after: slideshowOnCycleAfter, //the function that is triggered after each transition
autostop: false, // true to end slideshow after X transitions (where X == slide count)
fx: 'scrollLeft,scrollRight,',// name of transition effect
pause: true, // true to enable pause on hover
randomizeEffects: true, // valid when multiple effects are used; true to make the effect sequence random
speed: 1000, // speed of the transition (any valid fx speed value)
sync: true, // true if in/out transitions should occur simultaneously
timeout: 3000, // milliseconds between slide transitions (0 to disable auto advance)
fit: false,
height: '300px',
width: '300px' // container width (if the 'fit' option is true, the slides will be set to this width as well)
});
});
function slideshowOnCycleAfter() {
if (slideshowAddCaption==false){
$('#slideshow-caption').html(this.title);
}
}
</script>
<script src="<?=$this->getThemePath()?>/Scripts/jquery.cycle.all.js" type="text/javascript"></script>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2559022" binding="#slideshow" />
</oa:widgets>
-->
</script>
</style>
<div class="adsspace"> </div>
<div class="adscontent-wrapper">
<div class="adsdivide2">
<script type="text/javascript">
// BeginOAWidget_Instance_2559022: #slideshow
slideshowAddCaption=false;
$(document).ready(function() {
$('#slideshow').cycle({
after: slideshowOnCycleAfter, //the function that is triggered after each transition
autostop: false, // true to end slideshow after X transitions (where X == slide count)
fx: 'scrollLeft,scrollRight,',// name of transition effect
pause: true, // true to enable pause on hover
randomizeEffects: true, // valid when multiple effects are used; true to make the effect sequence random
speed: 1000, // speed of the transition (any valid fx speed value)
sync: true, // true if in/out transitions should occur simultaneously
timeout: 3000, // milliseconds between slide transitions (0 to disable auto advance)
fit: false,
height: '300px',
width: '300px' // container width (if the 'fit' option is true, the slides will be set to this width as well)
});
});
function slideshowOnCycleAfter() {
if (slideshowAddCaption==false){
$('#slideshow-caption').html(this.title);
}
}
</script>
Can you give more details. All you posted was code. Please tell us what problems you are having, what version of C5 you are using, etc.
sorry for the time i delayed due to some personal reasons. my first question is - I cant add new sub pages to my website. whenever i am trying, its taking default.php. i have also tried adding new pages in page types. i have even specified the handle of my file but its not accepting it. i even tried uploading it to the server but its not working.
my second question is i am not getting the edit option on the dashboard for the pages on which i have used some java script. thats the code i gave you before.
my second question is i am not getting the edit option on the dashboard for the pages on which i have used some java script. thats the code i gave you before.
and i am using the 5.6.1.2 version of concrete5
plz help cant find any solution