homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

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...
kingkelly




msg:585931
 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 !!!

 

tedster




msg:585932
 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?

IanKelley




msg:585933
 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>';
variableOfniftyness.document.write(text);
variableOfniftyness.focus();
variableOfniftyness.document.close();
return false;
}
</script>

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved