PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
ciph3r
Worker
Worker


Joined: Jun 01, 2005
Posts: 178

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

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 Back to top

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
Worker
Worker


Joined: Jun 01, 2005
Posts: 178

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

Is that the same as the recommended sites block located here?
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 5:36 pm Reply with quote Back to top

The one here may be written somewhat differently, but the functionality is the same.
View user's profile Send private message Visit poster's website MSN Messenger
ciph3r
Worker
Worker


Joined: Jun 01, 2005
Posts: 178

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

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?
View user's profile Send private message Visit poster's website
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

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

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
Regular
Regular


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

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

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.
View user's profile Send private message Visit poster's website MSN Messenger
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum