Ireland
09-26-2007, 12:53 PM
Hello,
How can I create an htm or html page that opens with no scroll, no browser title.
Just want to open an information page with set size (say 500pix wide x 400pix tall).
I will use it like a pop-up for text on a hype-link.
I do not want an auto-pop-up.
I want to click on a word and have a hyperlink open a page with no frame or scroll-bar.
No navigation except open and close.
I want to know the HTML code for a web page to open with not header and scroll.
I want to use it as a pop up.
When someone clicks on a word a window pops up with text in it.
All I have found so far is java code for auto pop ups which is not what I need.
Any ideas would be helpful.
the_pm
09-26-2007, 03:19 PM
Pages with no title cannot be created. There was a very short period of time where IE6 allowed this, but it turned out to be a security risk, and the feature was removed. This is how this used to be done - http://www.dynamicdrive.com/dynamicindex8/chromeless.htm
As for the rest, here's your JavaScript:
function popup(file,name,wide,high) {
window.open(file,name,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+wide+',height='+hi gh)
}
Here's your HTML:
<a href="filename.ext" onclick="popup('filename.ext','NewWindowName','500','400'); return false;">Click me!</a>
Ireland
09-26-2007, 06:13 PM
Pages with no title cannot be created. There was a very short period of time where IE6 allowed this, but it turned out to be a security risk, and the feature was removed. This is how this used to be done - http://www.dynamicdrive.com/dynamicindex8/chromeless.htm
As for the rest, here's your JavaScript:
function popup(file,name,wide,high) {
window.open(file,name,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+wide+',height='+hi gh)
}
Here's your HTML:
<a href="filename.ext" onclick="popup('filename.ext','NewWindowName','500','400'); return false;">Click me!</a>
Thanks for the input :agree:
However, after looking around I don't think that is what I had envisioned.
Here is what I am looking for:
1. In an HTML page there will be a word ie. <Celtic>.
2. When someone mouse-over or clicks on it a "small" pop-up will appear with text ie. <Blah, Blah, Blah> which will server as an identity or expansion of the word.
3. I guess it would function much like the Alt Text on an image.
Is there any such java or html code?
Appreciate your input, thanks.
the_pm
09-27-2007, 08:28 AM
Ahh, you're talking about tool tips :)
Here are a few ways to produce styled tool tips:
http://www.netlobo.com/javascript_tooltips.html
http://www.jlhaslip.trap17.com/samples/tooltips/
Ireland
09-27-2007, 10:17 AM
Ahh, you're talking about tool tips :)
Here are a few ways to produce styled tool tips:
http://www.netlobo.com/javascript_tooltips.html
http://www.jlhaslip.trap17.com/samples/tooltips/
:agree: That looks very much like what I was after.
I'll work out a try and see.
Thanks much for your help. :)