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

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 10:40:23 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,175
  • Total Topics: 21,220
  • Online today: 177
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

How to make this block of images scroll?

Started by nevermore, May 10, 2006, 08:38:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nevermore

www.tagamers.com

There is block of four images on the left side that I would like to make scroll within a set height box. Currently it is simply an HTML block but I'll make it whatever you suggest.

Any ideas?


nevermore

I saw this code snippet

Quoteecho '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">';

How do I implement it? Which block is necessary?

akulion

echo is a php command

so u will need to create a php block

nevermore

#4
I set the block to php

this is what is inside

Quoteecho '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">';










I get a parse error here www.tagamers.com

I'm sure I'm missing something simple

akulion

#5
well i dont know php but i can hazard a guess....try this and see if it works




echo '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">
<img src="http://www.tagamers.com/images/buttonpics/cod2button.jpg">
<br>
<img src="http://www.tagamers.com/images/buttonpics/ddobutton.jpg">
<br>
<img src="http://www.tagamers.com/images/buttonpics/etbutton.jpg">
<br>
<img src="http://www.tagamers.com/images/buttonpics/gwbutton.jpg">
';



if it dosent work we will just have to wait for one of the experts :D

akulion

if that dosent work give this a try



echo '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">';
echo '<img src="http://www.tagamers.com/images/buttonpics/cod2button.jpg"><br>
<img src="http://www.tagamers.com/images/buttonpics/ddobutton.jpg"><br>
<img src="http://www.tagamers.com/images/buttonpics/etbutton.jpg"><br>
<img src="http://www.tagamers.com/images/buttonpics/gwbutton.jpg">';



and that was my best guess :p

nevermore

That gets the scrolling function I wanted but I think it might be missing a closing comment/syntax at the end of the code you suggested because it now scrolls all of the blocks that were below it.

akulion

which one makes it work? code 1 or code 2?

akulion

#9
at the end of the whole code try adding



echo '</marquee>';