calling open()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

calling open()

brco3837
This is very strange and I'm not really sure why it started to do it all of a sudden. I'm using shadowbox to open a little form in which the user puts some input and then continues on with what they were doing. This was actually working earlier but something happened randomly and now whenever I call the open() function it starts to open the form in the iframe but then redirects to another page.

I'm using:

function repContent(anchor) {
	anchor.href = formUrl;
	Shadowbox.open({
		title:		anchor.title,
		type:		"iframe",
		content:	anchor,
		height:     200,
                width:      300
	}, {listenOverlay:false});
	return false;
}

Any ideas? thanks