Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4119124
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:03:01+00:00 2026-05-20T23:03:01+00:00

a) I have an html page that looks like this: <html> <head> <title>Page Title</title>

  • 0

a) I have an html page that looks like this:

<html>
<head>
<title>Page Title</title>
</head>

<script type="text/javascript">
  document.write('<FRAMESET cols="*, 300" border="0">');
  document.write('<FRAME src="http://www.my-website.com" id="inner" name="inner" />');
  document.write('<FRAME src="http://www.third-party-website" id="chatframe" name="chatframe" />');
  document.write('<NOFRAMES><P>You must have a frames compatible browser to use Activa Live Chat</P></NOFRAMES>');
  document.write('</FRAMESET>');
</script>

</html>

where the my-website.com frame is my website that I have full access to and where third-party-website.com is a website that I have no access to (it’s a chat software).

b) Normally the chat would open in a popup, but we’ve done this so that it opens in a frame on the right side of the page.

c) The chat frame has a “close” link, which ends the chat session. It has a div around it:

<div class="close" id="close-chat">

d) What I’d like to additionally happen when the “close” link is clicked is for the chat frame to close, i.e. redirect back to “my-website.com.”

I’ve tried using jQuery .bind() to add a click function to the #close div with no success.

Thanks for the help to anyone who is interested!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T23:03:01+00:00Added an answer on May 20, 2026 at 11:03 pm

    You didn’t provide any of your jQuery, but you mention a #close div. Your div is #close-chat or .close, not #close.

    Without more code, I can’t tell you if this is the real issue.

    If the div you are trying to access is on another domain, this will not work as it breaks cross-browser scripting security.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page that look like this. <html> <head> <title>Welcome</title> </head> <body bgcolor=white
Say I have a HTML page that looks like this: That was created with
This one is weird, I have a page that consists of a html table
I have a page that lists all from my Post table, it looks like
I have a HTML page that scrolls up and down (not a lot, but
I have a page that is generated which inserts an HTML comment near the
I have a form on an HTML page with multiple submit buttons that perform
Here's the problem: 1.) We have page here... www.blah.com/mypage.html 2.) That page requests a
I have a web page with an applet as the only element that looks
I have an HTML page (say welcome.html) which contains an iframe to a page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.