Jump to content


Scroll Bars in News block


  • You cannot reply to this topic
1 reply to this topic

#1 RisingPhoenix

    Advanced Member

  • Administrators[Admin]
  • PipPipPip
  • 249 posts
  • Gender:Male
  • Location:Fort Benning, GA
  • Interests:I am currently in the US Army. I am not a coder. I am really familiar with Unreal Portal and IPB. So if it isn't in reference to something I have on my site ba4life.com then there isn't much I can do to help you.<br /><br />I am a normal user like most of you. Please don't invade my personal life by asking me questions that can already be found on this website.

Posted 10 June 2007 - 10:37 AM

Open up Look & Feel> Edit Template html>skin_uportal>news_block

Find

<td class='row2'>{$fetch['post']}<br/><!--IBF.ATTACHMENT_{$fetch['pid']}--></td>


and change to

<td class='row2' width="95%" valign="top"><div style="height: 200px; overflow: auto;">{$fetch['post']}<br/><!--IBF.ATTACHMENT_{$fetch['pid']}--></td>


This will add scroll bars to the news block.
Posted Image
MultiGaming Clan Playing Games since 1997

#2 dheyrman

    Advanced Member

  • Members
  • PipPipPip
  • 49 posts

Posted 06 March 2009 - 05:56 AM

How to add scrollbar to this code if i want to add 30 latest small treaths

<fieldset>
	<a href='{$this->ipsclass->base_url}showtopic={$fetch['tid']}&amp;view=getnewpost'>{$fetch['title']}</a><br/>
	<b>{$this->ipsclass->lang['in']}:</b> 
	<a href='{$this->ipsclass->base_url}showforum={$fetch['forum_id']}'>{$fetch['name']}</a><br/>
	<b>{$this->ipsclass->lang['by']}: </b>
<if="$fetch['id'] == 0">
{$fetch['guest_last_poster_name']}
<else />
<a href='{$this->ipsclass->base_url}showuser={$fetch['id']}'>{$fetch['members_display_name']}</a>
</if>

</fieldset>


Regards





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users