Welcome to WebmasterWorld Guest from 54.242.63.214

Forum Moderators: incrediBILL

Message Too Old, No Replies

Mystery of missing browser navigation functions

     

trader

11:00 pm on Apr 10, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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

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

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

6:08 am on Apr 11, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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

7:12 am on Apr 11, 2011 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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

mbabuskov

7:26 am on Apr 11, 2011 (gmt 0)



Thanks g1smd.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month