[Sub](Hopefully this is a pretty simple question, and I hope I don’t offend anyone because I think it will be easier for someone to give me a quick answer rather than have me expend a bunch of brain cells looking up the answer through what I’m sure are a plethora of web sites containing HTML code.)[/Sub]
What is the HTML code for a link to open in a new window (leaving the first window with the clicked hot text or graphic in it open), and that doesn’t have any menu items except maybe a title bar?
I use NetObjects Fusion to build a web site, and it is all point and click and drag, so I don’t really know that much HTML coding. I don’t know how to acheive this effect in NetObject Fusion 5.0 (which is what I have), but the program allows you to put in your own HTML code to do things beyond that which is programed in to do automatically for you.
So what is that code? Is this simple enough for someone to rattle off the top of their head?
HTML can be used to open a new browser window. However, because HTML is a language for marking up the structure of the document, it cannot be used to alter the browser window itself (e.g. hiding the address bar), only the contents of the document in the window.
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,width=800,height=600');");
}
// End -->
</script>
You’ll have to play around with the width and height settings to get something that looks right.
The link tags for the new windows should look like this: