Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:27

frames and multiple websites question


Poster: saladpuncher
Dated: Wednesday August 14 2002 - 17:03:25 BST

I am doing a design on two sites. I'll call one http://www.domain1.com and the other http://www.domain2.com. Both of these sites are identical. We are using the menu in frames (one header frame and one body frame). In http://www.domain1.com we click on a menu selection in the header and the main frame goes to a page in http://www.domain2.com. Now when we try to select a menu from the header frame again (which is pointing to a page in domain1) and have it open a menu in the main frame (which is a page in domain2) we get a permission error. Both sites have menu set up on them and they both work as long as you dont go from one website to the other. Any suggestions. I suspect that the javascript wont work across domains (hence the permission error).

-saladpuncher


Poster: shfoo13
Dated: Thursday August 15 2002 - 3:06:33 BST

I encounter the same problem too. The reason could be found at this link
http://developer.irt.org/script/1111.htm

Hope someone can post a work around for this. need help deserately.


Poster: Andy
Dated: Thursday August 15 2002 - 9:48:59 BST

Hi,

This is a security measure so that you can't edit pages inside a Frame taken from another web site.

You can do this with a PHP script by taking a snapshot of the other page, modify it and then dump it to the browser as a page from your own server.

I'll try and get a demo of this done later on.

Cheers
Andy


Poster: saladpuncher
Dated: Thursday September 19 2002 - 20:23:04 BST

Thanks for the response. We found a solution by using inline frames. You can control the contents of an inline frame even if you don't own the web it is pointing to.
-Damon