Inserting java script
Posted: Tue Apr 18, 2006 1:38 pm
Hi,
I am currently displaying Serendipity in an iframe as my home page. I would like to insert some javascript to force the frame to be drawn when Serendipty is linked to directly.
Something like:
<SCRIPT LANGUAGE="JavaScript">
<!--
if (top == self) self.location.href = "index.html";
// -->
</SCRIPT>
Is this possible and where would I insert this?
I am currently displaying Serendipity in an iframe as my home page. I would like to insert some javascript to force the frame to be drawn when Serendipty is linked to directly.
Something like:
<SCRIPT LANGUAGE="JavaScript">
<!--
if (top == self) self.location.href = "index.html";
// -->
</SCRIPT>
Is this possible and where would I insert this?