hotmail style frame

They have: 48 posts

Joined: Feb 2002

Whenever I use hotmail and you click on a link to go outside of the site it opens a special frame. It has a small frame at the top of the main frame allowing you to return to the site. How do you get it so it does that, without having to manually do it for each frame.

How would I do this for my site (FREE!)

I would prefer something in JAVA or DHTML / HTML preferably. But I don't mind a hosted CGI either.

Go to www.youwantittryhere.com for games, chat, free e-mail and much much more

He has: 1,016 posts

Joined: May 2002

Make your HTML files with the 2 frames, but name the file with the tags in it "redirect.php" (so it's PHP). Then instead of putting an URL for the bottom frame, put this:

<?= $URL ?>

So it would look something like this:

">

Now you can link to redirect.php?url=http://www.google.com/

You can replace google.com with the URL you want.

They have: 48 posts

Joined: Feb 2002

I've done what you said. Do I have to launch it to get it to work now since it isn't just working on my desktop.

I'll post the code here:

-------------------------
This is the link I have used:

Google

This is the frameset page code named redirect.php:

"

This page uses frames, but your browser doesn't support them.

-------------------------

Go to www.youwantittryhere.com for games, chat, free e-mail and much much more

He has: 1,016 posts

Joined: May 2002

Sorry my fault. Replace..

"

..width..

">

They have: 48 posts

Joined: Feb 2002

I've done that now, do I put it in the Cgi bin or something like that. Sorry, PHP is not my area of expertise, I am a complete novice on PHP.

Take a look @ http://www.higherengineranking.com/ywith/test2.htm

I've just loaded it all into my main directory for the web pages, not in the CGI-bin or anything. The bottom frame doesn't load anything to it.

This is what you gave me, but how come the speach-marks haven't been closed off may I ask and there's an '>' at the end.

">

Could it be I haven't typed any special coding at the top of the PHP script or something that is needed. All I did was re-name the file from redirect.htm to redirect.php.

Should the script work offline on my hard-drive, and not be launched to the server?

Go to www.youwantittryhere.com for games, chat, free e-mail and much much more

He has: 1,016 posts

Joined: May 2002

Hmm.. What version of PHP is the server running? Try replacing $_REQUEST[url] with $url or $HTTP_GET_VARS[url]

They have: 48 posts

Joined: Feb 2002

$url was the one that worked in the end. Thank you everso for your time and patience. If you ever want a link exchange, just say so! Smiling

He has: 1,016 posts

Joined: May 2002

Sure, if you'd put a link to http://www.sarvihosting.com/ I would appriciate it Wink

They have: 48 posts

Joined: Feb 2002

Ok, I'll put the link, but can you give me a short synopsis (a sentence will do) about the services you offer, so I can put that by the link in the website tools section.

I'll use that frame for going to your site as well. Smiling

Go to www.youwantittryhere.com for games, chat, free e-mail and much much more

He has: 1,016 posts

Joined: May 2002

Here's a short description..

Sarvi Hosting is a leading provider in virtual and private label reseller hosting services. They specialize in providing fast, reliable and affordable solutions to their customers. Sarvi Hosting strives to provide each and every customer with superior service and support.

Or if this is too long, just use the first sentence or mix and match as you see fit.

Wink

Thanks.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.