Forum Moderators: open
In case of any errors in the functionality, im throwing an error, which is displayed in the current frame.
But i need error to be displayed in the beginning of the page NOT the frame.
So how this can be achieved.
thanks
rsennat
You would need JavaScript in order to detect whether a page is displayed in a frame or not.
You should post in the JavaScript forum (or this thread should be moved).
<!--
if (top.location == location) {
document.writeln('<span>you're not in a frame</span>');
};
//-->