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
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]
dosent work for me??
It might help if you explain what you did that didn't work....
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
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.
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
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');
thanks that works
only thing is i can only get 1 image to scroll?
Other images are not scrolling? If that is the case, can you post your edited file or code please?
no i have 2 images set to scroll but only 1 is appearing
this is the text
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
/* */
/* /0ÂÃ,¯Ã‚Ã,¯Ã‚Ã,¯Ã‚Ã,¯Ã‚Ã,¯0\ */
/* // ÂÃ,º \\ */
/* /0 0\ */
/* // ÂÃ,ºÃ‚Ã,ºÃ‚Ã,º \\ */
/* /0_____________0\ */
/* \_______________/ */
/* ÂÃ,¦Ã‚Ã,¦ ÂÃ,¦Ã‚Ã,¦ */
/* */
/* */
/* YPN Scrolling Links Block by SHARK www.yahoopool.net */
/************************************************************************/
//if( eregi( "block-YPN_slinks.php", $_SERVER['SCRIPT_NAME'])) {
// Header("Location: index.php");
// die();
//}
//global $prefix;
//if ($themesidebox == 0) {
// USE BELOW FOR EDIT YOUR LINKS
$scroll = "<center><a target=\"_blank\" href=\" http://www.Freedomain.co.nr/\"><img src=\"http://img513.imageshack.us/img513/7351/anima5wt.gif\" border=\"0\" title=\"Mozilla.org\"alt=\"Go Get It \"></a></center>
";
$scroll = "<center><a target=\"_blank\" href=\" http://www.whiplash.xeoncube.com/whiplash/index.php?action=pm;sa=send;u=1\"><img src=\"http://img504.imageshack.us/img504/7514/yourlinkhere7jh.gif\" border=\"0\" title=\"Mozilla.org\"alt=\"Go Get It \"></a></center>
";
// If you want it scrolls faster change the amount of marquee scrollamount below
// If you want it scrolls from top the bottom change the direction from up to down
echo "<marquee scrollamount=\"2\" direction=\"up\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" loop=\"true\">$scroll</marquee>";
// If you want you can keep your logo here as static,if you dont want simply put // of the beginning nexr 2 lines
$scroll .= "<center><a target=\"_blank\" href=\" http://www.yahoopool.net\"><img src=\"images/ypnfull8.png\" border=\"0\" title=\"Yahoopool.net\"alt=\"Yahoopool.net\"></a></center>
";
//}
?>
looks ok to me... have a link I can take a look at it?
whiplash forum (http://www.whiplash.xeoncube.com/whiplash/index.php) Box Is On The Left In The Middle
wait i fixed it , i download the script again and edited the links and pics but instead of deleting the surplus code i left it there but took out the links
The Code Now Is
***********************************************************/
/* */
/* /0ÂÃ,¯Ã‚Ã,¯Ã‚Ã,¯Ã‚Ã,¯Ã‚Ã,¯0\ */
/* // ÂÃ,º \\ */
/* /0 0\ */
/* // ÂÃ,ºÃ‚Ã,ºÃ‚Ã,º \\ */
/* /0_____________0\ */
/* \_______________/ */
/* ÂÃ,¦Ã‚Ã,¦ ÂÃ,¦Ã‚Ã,¦ */
/* */
/* */
/* YPN Scrolling Links Block by SHARK www.yahoopool.net */
/************************************************************************/
//if( eregi( "block-YPN_slinks.php", $_SERVER['SCRIPT_NAME'])) {
// Header("Location: index.php");
// die();
//}
//global $prefix;
//if ($themesidebox == 0) {
// USE BELOW FOR EDIT YOUR LINKS
$scroll = "<center><a target=\"_blank\" href=\" http://www.freedomain.co.nr\"><img src=\"http://img132.imageshack.us/img132/6402/anima8ny.gif\" border=\"0\" title=\"Free Domain\"alt=\"Go Get It \"></a></center>
";
$scroll .= "<center><a target=\"_blank\" href=\"http://cknetworx.com/~/whiplash/smf/index.php?action=pm;sa=send;u=1\"><img src=\"http://img504.imageshack.us/img504/7514/yourlinkhere7jh.gif\" border=\"0\" title=\"phpnuke.org\"alt=\"Php Nuke \"></a></center>
";
$scroll .= "<center><a target=\"_blank\" href=\" \"><img src=\"\" border=\"0\" title=\"\"alt=\"\"></a></center>
";
// END OF THE EDITING LINKS AREA
// If you want it scrolls faster change the amount of marquee scrollamount below
// If you want it scrolls from top the bottom change the direction from up to down
echo "<marquee scrollamount=\"2\" direction=\"up\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" loop=\"true\">$scroll</marquee>";
// If you want you can keep your logo here as static,if you dont want simply put // of the beginning nexr 2 lines
$scroll .= "<center><a target=\"_blank\" href=\" http://www.yahoopool.net\"><img src=\"images/ypnfull8.png\" border=\"0\" title=\"Yahoopool.net\"alt=\"Yahoopool.net\"></a></center>
";
//}
?>
Is there anyway to integrate Google's Adsense or any other Java coding into this ?