• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

PHP, stupid.. question really

I didn't think you could...

The best I thought you could do was mabe make a frame and load all of your pages within the frame - but the frame URL would still be there...

Or, you could use javascript to open a new window and just tell it not to have the address bar... (Or was that what bigperm was talking about?)
 
Yeah, that's what I meant. Usually when people do this they have an 'ENTER' page where you have to click on a link to open the site in a new window, and that window has no address bar.
 
Well, the code for the new window is like this:

Code:
<SCRIPT LANGUAGE="javascript">
window.open('yourpage.html', 'NameTheWindow',config='height=100,width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, directories=no, status=no');
</SCRIPT>

That will make the window have nothing - just the title, no buttons no menus etc. To do it on a link, you could make a function:

Code:
<SCRIPT LANGUAGE="javascript">
function openTheWin()
{
window.open('yourpage.html', 'NameTheWindow',config='height=100,width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, directories=no, status=no');
}
</SCRIPT>


<a href="#" onClick="openTheWin()">Click Here</a>
 
Back
Top