Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
link
Regular
Regular



Joined: Dec 24, 2004
Posts: 56

PostPosted: Sat Apr 07, 2007 9:18 am Reply with quote

Does anyone know how to create an Iframe to display random .html pages in message section? I've made one... but it seems to put a CloseTable(); something in there... because it kills the rest of the page.

Im looking for a script to put inplace of the main message on

http://www.yourcodes.com/index/index.html

I want it to display
message1.htm
message2.htm
message3.htm

at random intervals.

Anyone came accross this?
 
View user's profile Send private message Visit poster's website
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Wed Apr 11, 2007 3:57 am Reply with quote

<bump>
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Thu Apr 12, 2007 8:19 am Reply with quote

let me help a bit....
http://www.dynamicdrive.com/dynamicindex17/randomiframe.htm

thats the best i could find.
 
View user's profile Send private message
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Thu Apr 12, 2007 8:31 am Reply with quote

It might be easier to make a center block that randomly picks either an html file or database row to display than to use an iframe in a message.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
jjh221
Worker
Worker



Joined: Dec 05, 2006
Posts: 180

PostPosted: Thu Apr 12, 2007 3:05 pm Reply with quote

do you want it to show a random page on refresh? or do you want it to auto refresh?
 
View user's profile Send private message
hitwalker







PostPosted: Thu Apr 12, 2007 3:15 pm Reply with quote

lets hope member link comes with a reply soon.. Laughing
 
jjh221







PostPosted: Fri Apr 13, 2007 2:05 am Reply with quote

oh maybe i dont understand the question, what message section he is talking about.

Im thinking he wants to display an iframe that displays a random .html page.

The link you posted hitwalker I think is what he wants, but if he wants the iframe to refresh, could he use a redirect? or is there a redirect script to a random page? Does a redirect work inside an iframe?

If so then he could use that script then a random redirect script on each page?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

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 ©