PC-Gear
08-02-2007, 01:37 AM
1) Script Title: IFrame SSI Script II
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
3) Describe problem: How would it be possible to implement a variable on the source webpage that sets the IFrame's height when you are trying to display an IFrame from another domain.
To explain...
We need to display content from another website (our shopping cart) in our IFrame and bypass the "Permission Denied" error message so it's not reported (no error is triggered), and get the static height of the particular page that's hard-coded into the page that we need loaded into the IFrame.
Maybe by putting a variable (or something) in the page that's being loaded into the IFrame that reports the desired static height. (i.e. SetPageHeight = 800pix) or maybe a JS function that's called after the page has finished loading that sets the height.
We have access to all pages that we need to display, even though it's on another domain. So each page that we need to load into the IFrame can each have the custom "tag" added to it.
From our limited understanding of javascript, it seems that this would be possible. What would be the best way to implement?
Whew...:)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
3) Describe problem: How would it be possible to implement a variable on the source webpage that sets the IFrame's height when you are trying to display an IFrame from another domain.
To explain...
We need to display content from another website (our shopping cart) in our IFrame and bypass the "Permission Denied" error message so it's not reported (no error is triggered), and get the static height of the particular page that's hard-coded into the page that we need loaded into the IFrame.
Maybe by putting a variable (or something) in the page that's being loaded into the IFrame that reports the desired static height. (i.e. SetPageHeight = 800pix) or maybe a JS function that's called after the page has finished loading that sets the height.
We have access to all pages that we need to display, even though it's on another domain. So each page that we need to load into the IFrame can each have the custom "tag" added to it.
From our limited understanding of javascript, it seems that this would be possible. What would be the best way to implement?
Whew...:)