OZONE Asylum
Forums
Stupid Basic HTML
want 2 change background color of a page from external site when refernced within a frame
This page's ID:
22505
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[b]paritycheck:[/b] Hello, nope it's not possible to do a script that will alter a page that is not on the same domain as the script/page. If both the page with the script and the one you want to alter are on the same domain, you simply have to preffix you JavaScript statements with a reference to the frame you want them to be executed in. For that, you must use the [url=http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/window.html]window[/url] object and its properties like [i]parent[/i], [i]top[/i], [i]frames[/i], ... Hope that helps [url=http://www.p01.org/] [img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »