Page 1 of 1

Webmonkey within an iFrame

Posted: Sun Sep 09, 2007 12:28 am
by shagmanx
Sorry if it is elsewhere, I did search around a bit.

With a previous version of WebMonkey r10 I think, I had it running within an iFrame and it worked fine, but recently up graded to r12 and after logging in -- it opens to _top, which is not what I want.. Is there a way to change/correct this?

Also, after logging in I had it display the "stats.asp" page (on the right). I don't remember where I made that change with old version or where it might be on this new release.

Thanks

Shagmanx

Posted: Sun Sep 09, 2007 11:29 am
by Lowlander
WebMonkey doesn't use iFrame's itself, are you saying that you have WebMonkey itself running in your own iFrame?

Is so your problem lies with this code:

Code: Select all

<script language="javascript">
	//<![CDATA[
	if (parent.location.href != self.location.href) {
	window.location.href = 'default.asp';
	}
	// End -->
	//]]>
</script>
in the default.asp page.

Posted: Sun Sep 09, 2007 10:06 pm
by shagmanx
Thanks for the response Lowlander,

Correct I have WebMonkey running within an iFrame. So what do I change or can I change in code?

Also, what about getting the stats.asp page the default starting page.

Thanks again,

shagmanx