sabe
10-31-2009, 02:22 PM
1) Script Title: Stepcarousel viewer and wordpress
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Im trying to do a portfolio site with wordpress as cms and stepcarousel for viewing posts. Everything looks good except that when i first load the pages it craches (the pic and text is put over eatchother like the with is not the right). If i reload the page its all looks good. so i think maybe it something with preloading but i dont know, my skills is just "copy paste".
Anyone having a idé how to solve the problem?
Thanks, Christian
This is the page:
http://www.sabe.se/portfolio/ovrigt
This is what i think is the importent code in wordpress:
<div class="grid_4">
<div id="mygallery" class="stepcarousel">
<div class="belt">
<?php $i = 0; ?>
<?php while (have_posts()) : the_post(); $i++; ?>
<div class="panel">
<p align="center"><?php the_content(''); ?></p>
</div>
<?php endwhile; ?>
</div>
</div>
<p align="center">
<a href="javascript:stepcarousel.stepBy('mygallery', -1)"><<</a> <span id="statusA"></span>/<span id="statusC"></span> <a href="javascript:stepcarousel.stepBy('mygallery', 1)" >>></a> <br />
</p>
</div>
<div class="clear"></div>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
3) Describe problem:
Im trying to do a portfolio site with wordpress as cms and stepcarousel for viewing posts. Everything looks good except that when i first load the pages it craches (the pic and text is put over eatchother like the with is not the right). If i reload the page its all looks good. so i think maybe it something with preloading but i dont know, my skills is just "copy paste".
Anyone having a idé how to solve the problem?
Thanks, Christian
This is the page:
http://www.sabe.se/portfolio/ovrigt
This is what i think is the importent code in wordpress:
<div class="grid_4">
<div id="mygallery" class="stepcarousel">
<div class="belt">
<?php $i = 0; ?>
<?php while (have_posts()) : the_post(); $i++; ?>
<div class="panel">
<p align="center"><?php the_content(''); ?></p>
</div>
<?php endwhile; ?>
</div>
</div>
<p align="center">
<a href="javascript:stepcarousel.stepBy('mygallery', -1)"><<</a> <span id="statusA"></span>/<span id="statusC"></span> <a href="javascript:stepcarousel.stepBy('mygallery', 1)" >>></a> <br />
</p>
</div>
<div class="clear"></div>