Forum Moderators: open
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 !!!
Is there more of a requirement here that I'm not picking up on?
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>