Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Random Index

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 1 posts
Let's see how well I can explain what I truly want.

I have a domain (in this example, I'll use) lame.com

Currently on my domain, I just have a picture being displayed.

What I would like to do is, have some list (in a file) of URL's..

In this example of lame.com I would have a file to list website's that I find lame. So when you go to my domain lame.com, you will be displayed some random URL that is in that list of URL's.

I would like to be able to do something similar to:

<HTML><HEAD><TITLE>Lame.com</TITLE></HEAD><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_uacct = "UA-4876-2";urchinTracker();</script><FRAMESET ROWS="100%" COLS="1000%">    <FRAME SRC="http://www.myspace.com/lameprofile">  <strong class='bbc'>**here would be a list of URLs to display randomly**</strong></FRAMESET></HTML>

To explain a little about why I'd like to use that scheme:
* The Header, I never want to change
* The google analytics is important to me
* I don't want my domain in the address bar to change, I only want the content to change

I truly hope this explains my wants, and I hope someone can help. Please contact me for further questions.
  • 0


Kieran C

Kieran C


  • Member
  • PipPip
  • 51 posts
Do you want a random page to appear? Or just a different body?

To display a different page, add this to the head of your page:

<script type="text/javascript">
function changeURL()
var URLs=new Array();


And to your body, add:

<body onload="changeURL()"> ... </body>
  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP