Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-28-2004, 08:02 PM
WebProWorld Member
 

Join Date: Apr 2004
Location: East Peoria
Posts: 36
tfinch RepRank 0
Default address bar

Hello, does anyone know a way I can hide the address bar on my web site? I have a certain section that I want to hide the address on. For example, when someone goes to the medical link, it will open in a window with no http://www.mycompany.com in the bar. I thought there would be some type of JAVA script or something to hide this but I couldn't find anything.
This is only for a certain section of my site that I am testing. I don't want people to see where they are going because I will be moving it soon. I realize there is a way around finding my address but it's just for testing purposes now.
Thanks
Reply With Quote
  #2 (permalink)  
Old 08-28-2004, 09:51 PM
WebProWorld Member
 

Join Date: Jul 2004
Location: ---| here |---
Posts: 85
vivekar RepRank 0
Default

add this in your <head> of the html page

<script language="javascript">
<!--
function bigwindow(myurl)
{
window.open(myurl,"preview",'resizable=yes, location=no, menubar=no, status=no,scrollbars=yes,width=790,height=550');
}
-->
</script>

Open
__________________
Submit URL - Website Directory Web TemplatesWeb hosting firms list
Reply With Quote
  #3 (permalink)  
Old 08-29-2004, 04:45 AM
ronniethedodger's Avatar
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Central US
Posts: 1,581
ronniethedodger RepRank 0
Default

Leave as much changing of a user's preference out when opening a new window. If that window is the last one closed when exiting your browser, it will then become the default preferences when reopening your browser. It is bad enough that you are turning a user's address bar off in the first place.

Code:
window.open(myurl,"preview",', location=no');
Reply With Quote
  #4 (permalink)  
Old 08-29-2004, 07:52 AM
paulhiles's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default

Check out this thread that deals with a Pop-up script. The Javascript controls which properties will be available to the new window.. however you should use the onclick handler of the <a> tag rather than rely on the user having Javascript enabled.

This will give you extra brownie points for site accessibility! :o)
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0