a little help with <marquee> scrolling content

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   a little help with <marquee> scrolling content
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
I have a simple block with a few names in it as my test dummy. i have two arrows at the bottom of the block. one pointing up and the other pointing down. What i would like is that when you put your mouse over the arror pointing up, the scrolling content gets faster. and when you put it on the arrow pointing down. it reverses. I have everything in there, but when you put the mouse over the arrows, nothing happens. can you take a look and tell me how to get it working.

thanks



Attached Files
block-{ASP}_mappers.txt (1.17 KB, Downloaded: 5236 Time(s))


Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Looks like your missing some parts of it.


SBspeed=1-5


Maybe a javascript file or something?

Where did you get the information for this?


This line is incorrect:


<img src=http://www.asp-gamers.com/main/avitars/aspmm.jpg width='148' align='top' border=0</img>


Should be:


<img src='http://www.asp-gamers.com/main/avitars/aspmm.jpg' style='vertical-align: middle; width: 148px; border: 0;'>



Also the other image tags are missing there closing brace:


<img src=http://www.asp-gamers.com/main/cyber/images/Red1.gif



Clean up the HTML and then test it but Im pretty sure your missing something.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: a little help with <marquee> scrolling content
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
ok, i will try to clean it up. but why if it is incorrect does it display the pictures?

also, i got the scipt from a block called shoutbox.php . i do believe that you are correct in that it is javascript.

the code i am looking at is on line 622
I want the same thing for several blocks for my page. it seems so simple yet i burned an entire weekend trying to get it working with no luck. but that line of code you gave me above sbspeed=1-5 has raised my eyebrows.
but i do believe this is still behond me at this point in my php learning.
The shout box requires other things to make it work, but i have attached it so you can see the code i am trying to duplicate.
Thanks for you other info about the images. i am going to try and clean that up right now.



Attached Files
block-Shout_Box.txt (31.69 KB, Downloaded: 5231 Time(s))


Back to top Reply with quote
#4   re: a little help with <marquee> scrolling content
cybershot
CZ Super Newbie
cybershot has been a member for over 17 year's 17 Year Member
usa.gif oregon.gif
Gender: Male
Website:
Status: Offline
Joined: Jan 31, 2007
0.01 posts per day
Posts: 75
Points: 25
   
ok, i tried to add that SBspeed=1-5; and it didn't work. i tried it several ways. i crashed the block. but i did clean up the code like you said.
here is the new script


<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-{ASP}_mappers.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content .="<img src='http://www.asp-gamers.com/main/avitars/aspmm.jpg' style='vertical-align: middle; width: 148px; border: 0;'> </img>";
$content.="<marquee direction=\"up\" height=\"100\" scrollamount=\"2\" onmouseover='this.stop()' onmouseout='this.start()'>";
$content .="<center><a href=http://www.asp-gamers.com/map/modules.php?name=Private_Messages&file=index&mode=post&u=4><strong>{ASP}CyberShot</strong></center></a><br>";
$content .="<center><strong>{ASP}SniperOne</strong></center><br>";
$content .="<center><strong>{ASP}Andy</strong></center><br>";
$content .="<center><strong>{ASP}Gizmo</strong></center>";
$content.="</marquee>";
$content .="<hr><span style=\"cursor: hand;\" onmouseover=\"SBspeed=\"4\" onmouseout=\"scrollamount=\"2\"><center><img src='http://www.asp-gamers.com/main/cyber/images/Red1.gif'><br><br></img></span>";
$content .="<span style=\"cursor: hand;\" onmouseover=\"SBspeed=\"1-5\" onmouseout=\"scrollamount=\"2\"><center><img src='http://www.asp-gamers.com/main/cyber/images/Red.gif'><hr></img> </span>";

?>

any more ideas?


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum