TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 500
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 451
  • Total: 451

block showing up different from admin to guest?

Started by rockskullz, November 16, 2007, 04:30:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rockskullz

Well I tried implementing my own block similiar to that of the yahoo tabs but different. I got it from www.dynamicdrive.com. Its called the 'Featured Content Slider'. (link: http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm)

It seemed to work perfect while im editing it (logged in as admin) untill I logged out. As a guest it looks entirely different and im stumped on why. See images & code below.

Code used in script block:
<div class="contentslide" id="slider1">
<div class="opacitylayer">
<div class="contentdiv">

<table cellspacing="1" cellpadding="1" width="520" summary="" border="0">
    <tbody>
        <tr>
            <td><img style="WIDTH: 100px; HEIGHT: 75px" alt="" border="1" src="http://www.offroad-review.com/product_reviews/National/mini.jpg" /><br />
            </td>
            <td><font style="COLOR: rgb(255,102,0); FONT-FAMILY: Verdana" size="4"><span style="FONT-WEIGHT: bold">NATIONAL SPRING</span></font><br />
            <font style="COLOR: rgb(255,255,255)" size="2"><span style="FONT-WEIGHT: bold; FONT-FAMILY: Verdana">Custom Leaf packs for Project Rock-Spider!</span></font><br />
            <hr style="WIDTH: 100%; HEIGHT: 2px" />
            <font style="COLOR: rgb(51,51,51)" size="2"><span style="FONT-FAMILY: Verdana">Built custom for our Jeeps spec's to ensure a ride quality &amp; performance like no other springs. <strong><a target="_blank" href="http://offroad-review.com/new/index.php?page=21"> Read More</a></strong><br />
            </span></font></td>
        </tr>
    </tbody>
</table>


</div>
<div class="contentdiv">

<table cellspacing="1" cellpadding="1" width="520" summary="" border="0">
    <tbody>
        <tr>
            <td><img style="WIDTH: 112px; HEIGHT: 79px" height="96" alt="" border="1" width="135" src="http://www.offroad-review.com/product_reviews/Mason_Motorsports/header_med.jpg" /></td>
            <td style="FONT-WEIGHT: bold; COLOR: rgb(192,192,192); FONT-FAMILY: Verdana"><font size="4"><font color="#3366ff">MASON MOTORSPORTS</font><hr />
            <font style="FONT-WEIGHT: normal; COLOR: rgb(0,0,0)" size="2">14&quot; of suspension travel, 6&quot; wider per side and one hell of a smooth ride are all part of this long travel kit. <strong><a target="_blank" href="http://offroad-review.com/new/index.php?page=64"> Read More</a></strong></font><br />
            </font></td>
        </tr>
    </tbody>
</table>


</div>
<div class="contentdiv">

<table cellspacing="1" cellpadding="1" width="520" summary="" border="0">
    <tbody>
        <tr>
            <td><input type="image" border="1" height="75" width="100" src="http://www.offroad-review.com/product_reviews/45ale/PICT0833_small.JPG" longdesc="undefined" /></td>
            <td><strong style="COLOR: rgb(255,255,0)"><font face="Verdana" size="4">45ALE</font></strong><br />
            <hr style="WIDTH: 100%; HEIGHT: 2px" />
            <font face="Verdana" size="2">New HID lights for a cost you'll be more than surprised with!! High powered HID lights that won't kill your bank account.</font> <font face="Verdana" size="2"><strong><a target="_blank" href="http://offroad-review.com/new/index.php?page=22"> Read More</a></strong></font></td>
        </tr>
    </tbody>
</table>


</div>

<div class="contentdiv">

<table cellspacing="1" cellpadding="1" width="520" align="left" summary="" border="0">
    <tbody>
        <tr>
            <td><input type="image" height="74" width="100" src="http://www.offroad-review.com/product_reviews/ALBA_exhaust/P1000722_small.JPG" border="1" longdesc="undefined" /></td>
            <td><font style="FONT-WEIGHT: bold; COLOR: rgb(255,255,0)" size="4"><span style="FONT-FAMILY: Verdana">ALBA ACTION<hr />
            </span></font><font face="Verdana" size="2">We recently picked up a new exhaust system to test on our Rhino. Full header back performance kit.</font><font face="Verdana" size="2"><strong><a target="_blank" href="http://offroad-review.com/new/index.php?page=25"> Read More</a></strong></font> </td>
        </tr>
    </tbody>
</table>

</div>

<div class="contentdiv">

<table cellspacing="1" cellpadding="1" width="520" summary="" border="0">
    <tbody>
        <tr>
            <td><img border="1" alt="" src="http://offroad-review.com/new/gallery/thumb_1_12_10_07_7_47_38.jpg" /></td>
            <td><font style="COLOR: rgb(255,204,0); FONT-FAMILY: Verdana" size="4"><span style="FONT-WEIGHT: bold">RHINO AFTERMARKET BUYER'S GUIDE</span></font><br />
            <font style="COLOR: rgb(255,255,255)" size="2"><span style="FONT-WEIGHT: bold; FONT-FAMILY: Verdana">Complete links guide for all your Rhino needs!!</span></font><br />
            <hr style="WIDTH: 100%; HEIGHT: 2px" />
            <font style="COLOR: rgb(51,51,51)" size="2"><span style="FONT-FAMILY: Verdana">Everything you'd ever want for your Rhino! More links than any other website.</span></font><font face="Verdana" size="2"><strong><a target="_blank" href="http://offroad-review.com/new/index.php?page=129"> Read More</a></strong></font> </td>
        </tr>
    </tbody>
</table>

</div>

<div class="contentdiv">

<table cellspacing="1" cellpadding="1" width="520" summary="" border="0">
    <tbody>
        <tr>
            <td><img border="1" alt="" src="http://offroad-review.com/new/gallery/thumb_1_11_10_07_3_42_33.jpg" /></td>
            <td><font style="COLOR: rgb(0,255,0); FONT-FAMILY: Verdana" size="4"><span style="FONT-WEIGHT: bold">RZR AFTERMARKET BUYER'S GUIDE</span></font><br />
            <font style="COLOR: rgb(255,255,255)" size="2"><span style="FONT-WEIGHT: bold; FONT-FAMILY: Verdana">Complete links guide for all your RZR needs!!</span></font><br />
            <hr style="WIDTH: 100%; HEIGHT: 2px" />
            <font style="COLOR: rgb(51,51,51)" size="2"><span style="FONT-FAMILY: Verdana">Everything RZR! Most Aftermarket links than any other website.</span></font><font face="Verdana" size="2"><strong><a target="_blank" href="http://offroad-review.com/new/index.php?page=131"> Read More</a></strong></font></td>
        </tr>
    </tbody>
</table>

</div>

</div>
</div>
<div class="pagination" id="paginate-slider1"></div>
<script type="text/javascript">
//Define: ContentSlider("slider_ID", [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext])

ContentSlider("slider1", 3000)
//OR ContentSlider("slider1", 3000, linktextarray)
//OR ContentSlider("slider1", 3000, linktextarray, "Foward")
//OR ContentSlider("slider1", "", linktextarray)
//OR ContentSlider("slider1", "", "", "Foward")
</script>

IchBin

Where did you put the javascript part of your code? The part that they tell you to put in the <head> tag of your webpage.

rockskullz

IchBin,

I put it in a block that would run in the background. I just checked it and I had it not visible for anybody but admin. I just switched it to everybody and now it works. Thanks!

Should I post this mod in the block snippets? It was easy to implement and I think it looks good. (my link if you want to look for yourself http://offroad-review.com)

IchBin

That would be great. Just post a little tutorial on how to make it work. Thanks!

This website is proudly hosted on Crocweb Cloud Website Hosting.