Click to See Complete Forum and Search --> : html pulldown menu pop up problem


jsal
06-07-2007, 12:55 PM
Hi,

I have implemented 3 pull down menus to my website each calling a different method. Each pulldown menu has a series of values that lead the user to another site. My problem is that the only way they work is to right click on the popup blocker bar at the top of the page to allow popups. This is a problem because I need to implement it into a sharepoint webpart and the pages can not be blocked by a pop up blocker.

Is there a way to make the sites come up that are in the pulldown menu without a popup window??..that way they wont get blocked??

here is my html:

header:

function formHandler0(form)
{
var URL = document.form0.site0.options[document.form0.site0.selectedIndex].value;
window.location.href = URL;
}

body:

<input type=button value="Go" onClick="javascript:formHandler1(this)" target="_self" style="border: 2px ridge #FF9900">

ray326
06-08-2007, 12:01 AM
Does it then open a new window? If not then the browser is complaining about you fiddling the location.

jsal
06-08-2007, 02:48 PM
It brings up a new window, but only after I click allow pop ups in the information bar. Also, when copy and pasted into a form webpart in sharepoint, no informatin bar appears, and therefore the links do not work at all.