Got a website at http://www.geocities.com/somename/
Have a domain name somename.com.

Want to continue hosting the site at Geocities, so have setup a website
with hidden frame redirection for this domain.  i.e. at somename.com have
an index page with a frameset.  The top frame has zero height, the lower
frame has 100% height, and it's source is the Geocities URL.  No problem,
done this before without any hassle.  However, Geocities puts in it's
lovely popup advert code in the foot of every page, which includes some
javascript.  In IE (and probably Netscape 6, Mozilla, Opera), this
generates a Javascript error "Permission Denied", obviously to prevent
cross-site scripting security flaw.

How best to get around this?  Could just do normal web forwarding, i.e. it
redirects to the Geocities URL, which wouldn't look so nice, but right now
is the best option I can see.  Disabling the popup advert probably isn't an
option (if it can be done programmatically then I think you run the risk of
Geocities slapping your wrists).  A lot of the big domain resellers provide
hidden frame redirection, and they must have a workaround for this exact
thing, what could it be?  Could I set document.domain in the top frame to
the same as the geocities one?


ta for any pointers


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to