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

Recent

Welcome to TinyPortal. Please login or sign up.

April 30, 2024, 06:07:16 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 147
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 126
  • Total: 127
  • @rjen

TP scroller??

Started by EagleTat2, January 21, 2006, 03:33:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EagleTat2

Hello again fellas I have another question! I am using TP on my forums and have a pretty big artical or file that I have displayed when you join the forum as you will see. I can't really condence it anymore without it being to small to read. Is it possible to have a scroll bar on the left so it dosen't take up the whole page.  I have looked every where in TPADMIN. As you can see the File is quite big. The only way I was able to get it to look right was to make it an article. If I am missing something please let me know. Any help will be appreciated.  Thank You

http://www.godzchozen.com/smf/index.php

Rasyr

You could always place it in an IFRAME.

Basically, what you do is to create it as a separate html file, then use the IFRAME tag to create a little scrollable window within the the article itself, and set the attributes accordingly (i.e. what size you want it to be) and let it go.

You can find more information about using IFRAME at http://www.w3schools.com/tags/tag_iframe.asp


EagleTat2

Great thank you. Now would I add that file to say the articles section are could I add it to the news section. Just like a copy and paste? But again I thank you for the quick response...............LOL

G6Cad

Quotehttp://www.w3schools.com/tags/tag_iframe.asp

Thank you very much for that link Rasyr.
that link can be very usefull in the future :)

IchBin

You can add that code into an article surrounded by the iframe and it will give you the scrolling that you need.

bloc

Using some css might also work. Try surrounding your html content by a div..like

<div style="height: 400px; overflow: auto;">..your content...</div>

EagleTat2

Great that sounds easier.........LOL I am not too good at coding.  Thanks alot fellas

EagleTat2

Hey Bloc that worked like a charm thanks alot man and also thanks IchBin I will deffinitly be doin some reading. I have to say that the Helios theam is just great. I went from Pro Boards which was good to Vbulletin which was really bad to SMF which is great. Thanks alot for the Theam and the help fellas.