Not sure if i posted in right forum, but as I dont have problem with forum I decided to post it here.
This is part of javascript from forum.
I have made pm_check_inc1.asp which is displayed in iframe.
I have no idea how and where to write
target=_top so that page would not open in iframe on my site, so that users can see if they're logged in or not.
I have search on net and found soem tips but I just cant get it to work.
(target.window.location...etc..)
Response.Write("<script language=""JavaScript""><!-- " & _ vbCrLf & vbCrLf & "//Display pop for new private message" & _ vbCrLf & "checkPrivateMsg = confirm('" & strTxtYouHave & " " & intNoOfPms & " " & strTxtNewPMsClickToGoNowToPM & "')" & _ vbCrLf & "if (checkPrivateMsg == true) {" & _ vbCrLf & " window.location='/mysite/forum/pm_inbox.asp" & strQsSID1 & "'" & _ vbCrLf & "}" & _ vbCrLf & "// --></script>") |
thanks,