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 looks like this.. <!DOCTYPE html> <html> <head> <title>JQM</title> <meta
I have an HTML doc that looks roughly like this: <html> <head><title>Example</title></head> <body> <div
I have an HTML page that roughly looks like this: <div id=rolesRollerBody style=height: 309px;>
I have an error page, anyError.cfm , that looks like this <!DOCTYPE html> <html>
Ok, so as the title says, I have an HTML page that I fetch
This is bugging me ... I have a simple HTML page that has a
So I have a file called WebParts.aspx which looks like this - <%@ Page
I have a .htaccess file that looks like this: SetEnv APPLICATION_ENV development RewriteEngine On
I have 2 IP Cameras that have a internal server page (i.e. http:\192.168.1.10\video.html). This
I have a html page that allows users to submit a file. Below is

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.