mh984r
08-16-2010, 03:06 PM
Hi,
I'm using the Step Carousel Viewer 1.8 and it works great, but I'm having one issue with it that I hope someone can help me with.
I'm using PHP and I'm looping through an array genereated from my database and there is always this extra empty panel at the end. I'm stepping through with the left right pane buttons by 1 and I'm not getting any errors. When I view the HTML code there is no empty <div id="panel"></div>. I use firebug as well in FF and I'm not able to click that by inspect element. It's probably simple to fix but I'm not seeing it. I would provide a link but it's an internal secure site that can't be hit from the outside world.
I have tried to reduce the loop count by several itterations but the empty panel still appears at the end, so i'm convinced the loop is not causing any empty div tags.
Here is the step carousel HTML code
Thanks in advance.
<div id="mygallery" class="stepcarousel">
<div class="belt">
<div class="panel"><a style="clear: both;float:left;" title=
"Network-Based Firewall Configuration" id="Network Firewall Configuration" href=
"javascript:fb.loadAnchor('%20https://www.e-access.att.com/cpt/','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/nbfw.png" name=
"Network Firewall Configuration"><img width="96px" height="71px" style=
"border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/nbfw.png" /></a><img style="clear: both;float:left;" width=
"100px" height="75px" src="images/R02_C31.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C31.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title="Internet Protect" id=
"internet-protect" href=
"javascript:fb.loadAnchor('https://www.e-access.att.com/iprotect/portal/','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/internet_protect.png" name=
"internet-protect"><img width="96px" height="71px" style=
"border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/internet_protect.png" /></a><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R02_C32.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C32.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C33.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C33.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C33.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title=
"Email Archiving Console" id="ac" href=
"javascript:fb.loadAnchor('https://partner.mxlogic.com/Login.aspx?ReturnUrl=%2fHome.aspx','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/seg.png" name="ac"><img width="96px"
height="71px" style="border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/seg.png" /></a><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C34.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C34.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title=
"Email Encryption Console" id="ec" href=
"javascript:fb.loadAnchor('https://partner.mxlogic.com/Login.aspx?ReturnUrl=%2fHome.aspx','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/att_com.png" name="ec"><img width="96px"
height="71px" style="border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/att_com.png" /></a><img style="clear: both;float:left;" width=
"100px" height="75px" src="images/R02_C35.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C35.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title="Tech TV" id=
"tech-tv-popup" href=
"javascript:fb.loadAnchor('http://techchannel.att.com','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/tech_tv.png" name=
"tech-tv-popup"><img width="96px" height="71px" style=
"border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/tech_tv.png" /></a><img style="clear: both;float:left;" width=
"100px" height="75px" src="images/R02_C36.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C36.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title=
"Internet Other Traffic Composite" id="iotc" href=
"javascript:fb.loadAnchor('http://www.att.com','width:95%%20height:95%');" class=
"screenshot" rel="assets/overrides/flood_other.png" name="iotc"><img width="96px"
height="71px" style="border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/flood_other.png" /></a><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R02_C37.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C37.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C38.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C38.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C38.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C39.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C39.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C39.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C40.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C40.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C40.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C41.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C41.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C41.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C42.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C42.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C42.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C43.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C43.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C43.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C44.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C44.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C44.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C45.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C45.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C45.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C46.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C46.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C46.jpg" /></div>
</div>
</div>
I'm using the Step Carousel Viewer 1.8 and it works great, but I'm having one issue with it that I hope someone can help me with.
I'm using PHP and I'm looping through an array genereated from my database and there is always this extra empty panel at the end. I'm stepping through with the left right pane buttons by 1 and I'm not getting any errors. When I view the HTML code there is no empty <div id="panel"></div>. I use firebug as well in FF and I'm not able to click that by inspect element. It's probably simple to fix but I'm not seeing it. I would provide a link but it's an internal secure site that can't be hit from the outside world.
I have tried to reduce the loop count by several itterations but the empty panel still appears at the end, so i'm convinced the loop is not causing any empty div tags.
Here is the step carousel HTML code
Thanks in advance.
<div id="mygallery" class="stepcarousel">
<div class="belt">
<div class="panel"><a style="clear: both;float:left;" title=
"Network-Based Firewall Configuration" id="Network Firewall Configuration" href=
"javascript:fb.loadAnchor('%20https://www.e-access.att.com/cpt/','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/nbfw.png" name=
"Network Firewall Configuration"><img width="96px" height="71px" style=
"border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/nbfw.png" /></a><img style="clear: both;float:left;" width=
"100px" height="75px" src="images/R02_C31.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C31.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title="Internet Protect" id=
"internet-protect" href=
"javascript:fb.loadAnchor('https://www.e-access.att.com/iprotect/portal/','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/internet_protect.png" name=
"internet-protect"><img width="96px" height="71px" style=
"border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/internet_protect.png" /></a><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R02_C32.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C32.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C33.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C33.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C33.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title=
"Email Archiving Console" id="ac" href=
"javascript:fb.loadAnchor('https://partner.mxlogic.com/Login.aspx?ReturnUrl=%2fHome.aspx','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/seg.png" name="ac"><img width="96px"
height="71px" style="border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/seg.png" /></a><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C34.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C34.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title=
"Email Encryption Console" id="ec" href=
"javascript:fb.loadAnchor('https://partner.mxlogic.com/Login.aspx?ReturnUrl=%2fHome.aspx','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/att_com.png" name="ec"><img width="96px"
height="71px" style="border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/att_com.png" /></a><img style="clear: both;float:left;" width=
"100px" height="75px" src="images/R02_C35.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C35.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title="Tech TV" id=
"tech-tv-popup" href=
"javascript:fb.loadAnchor('http://techchannel.att.com','width:95%%20height:95%');"
class="screenshot" rel="assets/overrides/tech_tv.png" name=
"tech-tv-popup"><img width="96px" height="71px" style=
"border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/tech_tv.png" /></a><img style="clear: both;float:left;" width=
"100px" height="75px" src="images/R02_C36.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C36.jpg" /></div>
<div class="panel"><a style="clear: both;float:left;" title=
"Internet Other Traffic Composite" id="iotc" href=
"javascript:fb.loadAnchor('http://www.att.com','width:95%%20height:95%');" class=
"screenshot" rel="assets/overrides/flood_other.png" name="iotc"><img width="96px"
height="71px" style="border:2px solid orange;clear: both;float:left;" src=
"assets/overrides/flood_other.png" /></a><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R02_C37.jpg" /><img style=
"clear: both;float:left;" width="100px" height="75px" src=
"images/R03_C37.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C38.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C38.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C38.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C39.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C39.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C39.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C40.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C40.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C40.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C41.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C41.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C41.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C42.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C42.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C42.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C43.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C43.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C43.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C44.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C44.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C44.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C45.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C45.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C45.jpg" /></div>
<div class="panel"><img style="clear: both;float:left;" width="100px" height="75px"
src="images/R01_C46.jpg" /><img style="clear: both;float:left;" width="100px"
height="75px" src="images/R02_C46.jpg" /><img style="clear: both;float:left;"
width="100px" height="75px" src="images/R03_C46.jpg" /></div>
</div>
</div>