Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
News Slider
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="13rad" data-source="post: 320105" data-attributes="member: 37541"><p>I've been editing a cms decided to add the new News slider but I'm having an issue the Promo Bullets don't seem to show up nor does the slideshow work it does load up all the news articles but yet again Promo Bullets don't show up nor does it move.</p><p></p><p>Image:</p><p><img src="http://i.imgur.com/mMvR4UW.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Slider Code:</p><p>[CODE]</p><p><div id="promo-box"></p><p></p><p> <div id="promo-bullets"></div></p><p></p><p><?php</p><p>$to5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 5") or die(mysql_error());</p><p>?></p><p></p><p><?php $i = 0; while($newsobject = mysql_fetch_assoc($to5)){ $i++; ?></p><p></p><p> <div class="promo-container" style="background-image: url(%www%/Top_Story_Images/<?php echo $newsobject['image']; ?>)<?php if($i != '1'){ ?>; display: none<?php } ?>"></p><p> <div class="promo-content-container"></p><p> <div class="promo-content"></p><p> <div class="title"><?php echo $newsobject['title']; ?></div></p><p> <div class="body"><?php echo $newsobject['shortstory']; ?></div></p><p> </div></p><p> </div></p><p> <div class="promo-link-container"></p><p><div class="enter-hotel-btn"></p><p><div class="open enter-btn"></p><p> <a href="%www%/index.php?p=news&id=<?php echo $newsobject['id']; ?>">Read the full article &raquo;</a></p><p> <b></b></p><p> </div></p><p></div></p><p><div style="color:#FFF;margin-top:25px;margin-left:-210px;">Posted on: <b><?php echo date('F d, Y', $newsobject['published']); ?></b></div></p><p> </div></p><p> </div></p><p> <?php }?></p><p></p><p></div></p><p><script type="text/javascript"></p><p>document.observe("dom:loaded", function()</p><p>{</p><p> PromoSlideShow.init();</p><p>});</p><p></script></p><p> </p><p>[/CODE]</p><p></p><p>Thanks for any suggestions!</p></blockquote><p></p>
[QUOTE="13rad, post: 320105, member: 37541"] I've been editing a cms decided to add the new News slider but I'm having an issue the Promo Bullets don't seem to show up nor does the slideshow work it does load up all the news articles but yet again Promo Bullets don't show up nor does it move. Image: [IMG]http://i.imgur.com/mMvR4UW.png[/IMG] Slider Code: [CODE] <div id="promo-box"> <div id="promo-bullets"></div> <?php $to5 = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC LIMIT 5") or die(mysql_error()); ?> <?php $i = 0; while($newsobject = mysql_fetch_assoc($to5)){ $i++; ?> <div class="promo-container" style="background-image: url(%www%/Top_Story_Images/<?php echo $newsobject['image']; ?>)<?php if($i != '1'){ ?>; display: none<?php } ?>"> <div class="promo-content-container"> <div class="promo-content"> <div class="title"><?php echo $newsobject['title']; ?></div> <div class="body"><?php echo $newsobject['shortstory']; ?></div> </div> </div> <div class="promo-link-container"> <div class="enter-hotel-btn"> <div class="open enter-btn"> <a href="%www%/index.php?p=news&id=<?php echo $newsobject['id']; ?>">Read the full article »</a> <b></b> </div> </div> <div style="color:#FFF;margin-top:25px;margin-left:-210px;">Posted on: <b><?php echo date('F d, Y', $newsobject['published']); ?></b></div> </div> </div> <?php }?> </div> <script type="text/javascript"> document.observe("dom:loaded", function() { PromoSlideShow.init(); }); </script> [/CODE] Thanks for any suggestions! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
News Slider
Top