|
-
Oct 9th, 2003, 03:54 AM
#1
Thread Starter
Lively Member
Javascript :: Popup Window-layout
I created a popup window: This is the script:
<SCRIPT language="JavaScript">
<!--
var mywin;
function popup(title, data) {
mywin = window.open(' ','Description','toolbar=no,status=no,menubar=no,sysmenu=no,caption=no,width=300,height=150,top=500, left=50');
mywin.document.write('<HTML><HEAD><TITLE>Description: ');
mywin.document.write(title);
mywin.document.write('</TITLE></HEAD><BODY bgcolor="#EFEFEF">');
mywin.document.write(data);
mywin.document.write('</BODY></HTML>');
}
function shutdown() {
mywin.document.close();
mywin.close();
}
//-->
</SCRIPT>
my webpage (ColdFusion interacting with an Oracle 8.1.6 database), I use this script like this:
<A HREF="glossaryForm.cfm" onmouseover="popup('#get_general_items.expression#','#get_general_items.def#');" onmouseout="shutdown();" class="noline">#gl_definition#</A>
The script works but there are errors. If someone finds them please post a reply. The errors are: ')' expected, and this several times.
And than there still is the layout of the popup. I want the user to see a popup whitout the closing buttons in the titlebar. How can I hide them?
-
Oct 9th, 2003, 09:17 AM
#2
Fanatic Member
you cant hide the title bar of a web page or get rid of the close button to my knowledge
-
Oct 10th, 2003, 04:04 AM
#3
Thread Starter
Lively Member
Thanks for answering. Do you see the fault in my code? I still need help with that issue to.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|