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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 285
  • Total: 285

Scrolling Links?

Started by alan s, March 05, 2006, 06:23:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alan s

Hi , I saw this on another forum. it has a box with links scrolling up the box in a continuing cycle. Im just wondering how do you do this??

This is the link to the site with the link box, bottom lefthand corner of the page

www.thegaff.net/forums

IchBin

Here's a script that someone else posted from a nuke site I think. I modified it a bit to work with a TP block.

[attachment deleted by admin]

alan s


IchBin

It might help if you explain what you did that didn't work....

alan s

this comes up

Parse error: parse error, unexpected '<' in /home/whiplash/public_html/whiplash/Sources/Load.php(1040): eval()'d code(34) : eval()'d code on line 1

IchBin

I need specifics alan. Did you just call it in your browser? Did you add code for it to display in a block? What did you do?

This script does not touch the SMF or TP forum so you should not be getting any of these errors.

alan s

i copyed this out of the php code

$scroll = "<center><a target=\"_blank\" href=\" http://www.mozilla.org\"><img src=\"images/firefox.gif\" border=\"0\"   title=\"Mozilla.org\"alt=\"Go Get It \"></a></center>
";

"<marquee scrollamount=\"2\" direction=\"up\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" loop=\"true\">$scroll</marquee>";

any replaced the image and link with my own so it turned out like this

<marquee scrollamount=\"2\" direction=\"up\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" loop=\"true\">$scroll

$scroll = "<center><a target=\"_blank\" href=\" http://www.freedomain.co.nr\"><img src=\"http://img399.imageshack.us/img399/2140/anima9zu.gif\" border=\"0\"   title=\"Freedomain\"alt=\"Go Get It \"></a></center>
";</marquee>";

and set it as a phpbox

IchBin

You can't copy the code unless you have the complete statements. If I were you I would just change the images and links to what you need in the file and then include the file in a phpbox like so:

include('block-slinks.php');

alan s


alan s

only thing is i can only get 1 image to scroll?

This website is proudly hosted on Crocweb Cloud Website Hosting.