eyeronik
01-25-2003, 05:24 PM
Hi, i need to hide what it says in the bottom left bar at the left when i click a link, but its not a normal link its a new window style one.
this is the code im using:
Code:
<SCRIPT language="JavaScript">
<!--
function n_window(theurl)
{
// set width and height
var the_width=750;
var the_height=500;
// set window position
var from_top=0;
var from_left=0;
// set other attributes
var has_toolbar='no';
var has_location='no';
var has_directories='no';
var has_status='no';
var has_menubar='no';
var has_scrollbars='yes';
var is_resizable='yes';
// atrributes put together
var the_atts='width='+the_width+',height='+the_height+',top='+from_top+',screenY='+from_top+',left='+fro m_left+',screenX='+from_left;
the_atts+=',toolbar='+has_toolbar+',location='+has_location+',directories='+has_directories+',status ='+has_status;
the_atts+=',menubar='+has_menubar+',scrollbars='+has_scrollbars+',resizable='+is_resizable;
// open the window
window.open(theurl,'',the_atts);
}
//-->
</SCRIPT>
Currently it says:
javascript:n_window('pathto/file/index.html');
This is no good, it also shows this if i right click it, i dont want people to know where the file is stored, does anyone know what i can do? is there anything i could add in my code to hide it?
this is the code im using:
Code:
<SCRIPT language="JavaScript">
<!--
function n_window(theurl)
{
// set width and height
var the_width=750;
var the_height=500;
// set window position
var from_top=0;
var from_left=0;
// set other attributes
var has_toolbar='no';
var has_location='no';
var has_directories='no';
var has_status='no';
var has_menubar='no';
var has_scrollbars='yes';
var is_resizable='yes';
// atrributes put together
var the_atts='width='+the_width+',height='+the_height+',top='+from_top+',screenY='+from_top+',left='+fro m_left+',screenX='+from_left;
the_atts+=',toolbar='+has_toolbar+',location='+has_location+',directories='+has_directories+',status ='+has_status;
the_atts+=',menubar='+has_menubar+',scrollbars='+has_scrollbars+',resizable='+is_resizable;
// open the window
window.open(theurl,'',the_atts);
}
//-->
</SCRIPT>
Currently it says:
javascript:n_window('pathto/file/index.html');
This is no good, it also shows this if i right click it, i dont want people to know where the file is stored, does anyone know what i can do? is there anything i could add in my code to hide it?