Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Support > Scroll parent frame to the top with javascript


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Scroll parent frame to the top with javascript

Newbie





Posts: 3
Registered: 9/16/2004
Status: Offline

  posted on 10/4/2004 at 10:56 PM
Every time i link from one page to the next in a postwrap(2.5) iframe (url security on) i would like to allow the javascript embeded in the body tag of my pages to work.... The script works fine on the first link i access but when i link through to the next I get an error....

onload="parent.window.scrollTo(0,0);"

I've tried linking to an anchor in the parent frame but some browsers cause the initially specified secure url alias to reload the postnuke postwrap page...and bring up the first page i entered on. I've turned antCracking off in postnuke.... but still no joy... So I thought it could be a postwrap effort to protect the postnuke system from being controlled by content in the iframe.

The error I'm getting is Microsoft Jscript runtime error on IE

Permission denied


 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Clan Theme
Clan Theme
$19.95

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 103
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.112770 Seconds