Problem with IFrames

Last post 07-04-2005, 8:19 AM by psychicaccess. 4 replies.
Sort Posts: Previous Next
  •  06-30-2005, 2:59 PM 8227

    Problem with IFrames

    I have a domain running on a unix box,  mydomain.com
     
    I have a domain chat.mydomain.com running on Win2003 where I have CuteChat
     
    I have a page on mydoamin.com that has an IFrame to get a chat room from chat.mydomain.com
     
    I have followed MS's instructions for making cross domain iframes work...
    a script to set  document.domain="mydomain.com" on both pages but keep getting access denied.
     
    Anyone have any ideas? Is there something in the .js files that come with CuteChat that are preventing me from doing this?
     
    Thanks
     
    Doug
  •  07-01-2005, 8:28 AM 8259 in reply to 8227

    Re: Problem with IFrames

    Doug:
     
    I have no idea on how that error occurs .
    Do you embed the "CH_Main.Aspx" into that iframe ?
     
    Regards , Terry .
  •  07-01-2005, 9:49 AM 8261 in reply to 8259

    Re: Problem with IFrames

    Terry, yes I did. What I needed was a real scaled down version of the chat to fit into specific sized iframe. Here is the iframe....
     
     iframe id=chat src=http://chat.mydomain.com/..../CH_MainForm.Aspx?ChannelId=ec32961a-848d-4d8a-b463-xxxxxxxxxxxx frameborder=0 marginwidth=0 marginheight=0 height=390 width=460
  •  07-03-2005, 9:49 AM 8309 in reply to 8261

    Re: Problem with IFrames

    Hello:
     
    And
     
    Does the page http://mydomain.com/yourpage.aspx contains the <iframe src=http://chat.mydomain.com/../Ch_MainForm.Aspx?ChannelId=xxx></iframe> ?

    where does the script ' document.domain="mydomain.com" ' run ? the  yourpage.aspx  or  CH_MainForm.Aspx ?
     
    Regards , Terry .
  •  07-04-2005, 8:19 AM 8340 in reply to 8309

    Re: Problem with IFrames

    According to Microsoft, it has to run in both the page invoking the iframe and the object of the iframe. I have it in both places. On the chat.mydomain.com end, it is in  CH_MainForm.Aspx.
     
    I hope this will work out, it seems to be the only chat option I really want.
View as RSS news feed in XML