homepage Welcome to WebmasterWorld Guest from 54.205.241.107
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Mystery of missing browser navigation functions
trader

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4295128 posted 11:00 pm on Apr 10, 2011 (gmt 0)

Hi, Can someone please tell me why when using the code below and visiting any of the links the IE browser screen navigation disappears from the sites being linked to (all gone except the X button) i.e. the top Browser Address bar window, IE & Google toolbars all disappear, and the side elevator bar is missing along with the back button, and the screen looks odd too, similar to the look of full screen mode?

<div align="center">
<form><select onChange="if(options[selectedIndex].value) window.open(options[selectedIndex].value,'_blank','config');" size="-1">
<option>Other Websites of Interest </option>
<option value=""> <!--line for space--> </option>
<option value="http://example.com/"> Example</option>
<option value="http://example2.com/"> Example 2</option>
<option value="http://example3.com/"> Example 3</option>
</select></form></div>

 

mbabuskov



 
Msg#: 4295128 posted 5:36 am on Apr 11, 2011 (gmt 0)

Is it possible that 'config' is a variable and you really meant to write:

window.open(options[selectedIndex].value,'_blank',config);

The 3rd parameter to window.open controls whether you have navigation, menu, statusbar, etc. If you want the default one, then omit the parameter completely:

window.open(options[selectedIndex].value,'_blank',config);

Otherwise, you can specify what you want:

window.open(options[selectedIndex].value,'_blank','toolbar=1,location=1');

HTH

--
Milan B.

[edited by: tedster at 6:59 am (utc) on Apr 11, 2011]

mbabuskov



 
Msg#: 4295128 posted 5:38 am on Apr 11, 2011 (gmt 0)

Sorry, by omit I meant:

window.open(options[selectedIndex].value,'_blank')

Looks like there is not way to edit a message?

trader

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4295128 posted 6:08 am on Apr 11, 2011 (gmt 0)

Thanks mbabuskov, "config" was indeed the problem as you said and window.open(options [selectedIndex].value,'_blank'); works perfectly.

Your great help is most appreciated!

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4295128 posted 7:12 am on Apr 11, 2011 (gmt 0)

To edit a message here, click "owner edit" below your user name. There is a time limit.

mbabuskov



 
Msg#: 4295128 posted 7:26 am on Apr 11, 2011 (gmt 0)

Thanks g1smd.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved