homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Does anyone know how to do this?
Links open in a frame like Hotmail does...

10+ Year Member

Msg#: 1090 posted 8:25 pm on Oct 5, 2001 (gmt 0)

I have a search form that uses anaconda director to take the input and spit out the results on Google. (Just like any other form)

So far so good... Instead of going to the search results page, i would like to have a small frame at the top of that page that says "back to my page"..... How would i do this? I have several cgi scripts that do this, but they require me to put the url of the frame script before each URL. This is kinda hard since its a form and the URLs are all different depending on what the person searches for...

Basically, you know how Hotmail puts their little frame at the top of pages when click on an exterior link from your inbox. I need that, except i need to do it for search results from a form on my site.

Sounds complicated, but seems simple !!!



WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 1090 posted 3:15 am on Oct 6, 2001 (gmt 0)

A frame can be addressed by its window's name, the name which is declared in the original frameset document <frame name="foo" src=document.html>. Even if you intially fill that frame/window with search results, you can make a link in another frame that fill's it with any other document. Just use target="foo" for the link.

Is there more of a requirement here that I'm not picking up on?


WebmasterWorld Senior Member 10+ Year Member

Msg#: 1090 posted 4:04 am on Oct 9, 2001 (gmt 0)

You can do it with Javascript...

Javascript can dynamically write anything you want into a window.

For instance:

<script language="JavaScript">
var variableOfniftyness;
function createWin() {
variableOfniftyness = window.open('','IHaveAName','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,' + 'width=400' + ',height=100');
text = '<html><head></head><body>';
text += '<p align="center">Getting the idea?</p>';
text += '</body></html>';
return false;

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved