Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - Feedback
Author Message
ciph3r
Worker
Worker



Joined: Jun 01, 2005
Posts: 178

PostPosted: Wed Jan 02, 2008 11:31 pm Reply with quote

Ive searched everywhere, and cant find a conclusive post or download for a simple module/block/addon for advertising images/text.

I want to advertise a few sites using their images in a scrolling (which stops with mouseover) on my rnuke site, but cant figure out how to do it without doing my own HTML based version.
 
View user's profile Send private message Visit poster's website
999
Regular
Regular



Joined: Sep 12, 2006
Posts: 58
Location: Dsm, IA

PostPosted: Thu Jan 03, 2008 8:22 am Reply with quote

Code:
<?php


if( eregi( "block-Scroll.php", $_SERVER['SCRIPT_NAME'])) {
   Header("Location: index.php");
   die();
}

global $prefix;
$func = 1;

if ($func == 1)
{

$content .= "<center><a target=\"_blank\" href=\" http://ravenphpscripts.com\"><img src=\"http://ravenphpscripts.com/images/mylinks/RavenWebServices.gif\" border=\"0\"   title=\"PHP Web Host - Quality Web Hosting For All PHP Applications\"alt=\"Quality Web Hosting and Scripts \"></a></center><br>";

$content .= "<center><a target=\"_blank\" href=\" http://www.somesite.com\"><img src=\"images/somesite.gif\" border=\"0\"   title=\"Somesite\"alt=\"Somesite we know \"></a></center><br>";

$content .= "<center><a target=\"_blank\" href=\" http://www.somesite2.com\"><img src=\"images/somesite2.gif\" border=\"0\"   title=\"Somesite2\"alt=\"Somesite2 we know \"></a></center><br>";

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


}

?>
 
View user's profile Send private message Visit poster's website MSN Messenger
ciph3r







PostPosted: Thu Jan 03, 2008 3:47 pm Reply with quote

Is that the same as the recommended sites block located here?
 
999







PostPosted: Thu Jan 03, 2008 5:36 pm Reply with quote

The one here may be written somewhat differently, but the functionality is the same.
 
ciph3r







PostPosted: Fri Jan 04, 2008 1:24 am Reply with quote

I used the code that was posted, but when the page for loads it shows all the images at once taking up half the page. Once the page finishes loading, it works fine. Is there a way to fix this?
 
Dawg
RavenNuke(tm) Development Team



Joined: Nov 07, 2003
Posts: 928

PostPosted: Fri Jan 04, 2008 6:51 am Reply with quote

Is that in Mozilla? Have you tried it in IE? I have several scrolling blocks for forums and such and they all do that in Mozilla.

Dawg
 
View user's profile Send private message
999







PostPosted: Fri Jan 04, 2008 7:16 am Reply with quote

Mine does the same but never really been an issue. I'd assume the more js you have running on the page, the slower it'll load. There's probably a way to fix it or atleast make it less noticeable, but never really had an issue with it.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - Feedback

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©