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 6894233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:45:26+00:00 2026-05-27T06:45:26+00:00

I have a problem with IE (what a surprise). I am making an issue

  • 0

I have a problem with IE (what a surprise). I am making an issue reporting function (report bad image…) on my page. I want to show the ‘report this image’ simple form with a few questions (reason to report…). It should show up after clicking the report image. It works perfectly in FF and also Chrome, but there is a problem in IE. Div should show on mouse click position. First time it shows in the right place, but when I close it and click on another report image without reloading the page (there are more report images on the site) it shows again in the same place where it shows first time (just in IE).
Here is my code:

$(document).ready(function(){
  $(".proofreporter").click(function(e){
    $('.popup').remove();  //used to remove previously shown elements

    $.ajaxSetup ({
    // Disable caching of AJAX responses
      cache: false
    });


    // setTimeout(function(){$('.popup').remove()},2000);

    var name = $(this).attr('id');
    function showData(data) {
        $("body").append(data);
    }
    //x = e.pageX;   first I tried this to get position but same result
    //y = e.pageY;

    var pos = $(this).offset(); 
    x=pos.left;
    y=pos.top;

    alert(x + 'x' + y);
    $.get('includes/reporter.php?reportimgdiv=' + name + '&x=' + x + '&y=' + y, showData);
  });
});

And here is the code of the reporter.php

if(isset($_GET['reportimgdiv']))


{       //report IMAGE
  ?>
  <style type="text/css">                                                                                                                            
  .popup {          //SOLVED; change to this: #<?echo report$_GET['reportimgdiv']?>
    position: absolute;
    left: <?echo $_GET['x'];?>;
    top: <?echo $_GET['y'];?>;
    z-index: 100;
    width: 280px; 
  }
  .subtle {
    margin: 0px;
    padding: 5px;
    border: 2px solid gray;
    font-size: small;
    text-align: left;
    background-color: #EEE;
    color: #444;
  }
  </style>
  <?
  $imgid=$_GET['reportimgdiv'];
  ?>
  <div id="reportForm001" class="popup" style="margin-top: 0em; ">   //solved: change id="report<?echo $imgid?>"
  <!--
  <form name="form1" method="post" target="reportframe" action="update/pagereportframe.php" class="subtle" style="position: relative; left: 1em; top: 2px;">
  -->
  <form name="form1" method="post" target="reportframe" action="includes/reporter.php" class="subtle" style="position: relative; left: 1em; top: 2px; background-color: white" >    
    <input name="id" type="hidden" value="<?echo $imgid; ?>">
    <div style="position: absolute; right: 1em; font-size: x-small"><a href="#" onClick="jQuery('.popup').remove();">CLOSE [X]</a></div>
    <h3>What is wrong with this image? <?echo $_GET['x'];?> X <?echo $_GET['y'];?> </h3> 
    <input type="radio" name="reason" value="1"> BLAH BLAH/b>. <br>  
    <input type="radio" name="reason" value="2"> BLAH BLAH/b>. <br>  
    <br>Comment (optional):<br>
    <textarea name="comment" rows="3" style="width: 100%"></textarea><br>
    <input value="Submit" type="submit">
  </form>
  </div>
 <?
  }
  • 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-27T06:45:26+00:00Added an answer on May 27, 2026 at 6:45 am

    SOLVED

    I use now ID (instead of class) to identify POPUP div. See the reporter.php code comments for more info

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

Sidebar

Related Questions

I have problem with fancybox. I want to write a function that will run
I have a problem, surprise ;) I use .htaccess in Apache and have a
I have problem with return statment >.< I want to store all magazine names
I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
I have this idea that using SQL VIEWS to abstract simple database computations (such
This is by far the weirdest problem I've been stuck with. I have a
I have problem in some JavaScript that I am writing where the Switch statement
I have problem with starting processes in impersonated context in ASP.NET 2.0. I am
I have problem with ActionLink. I'd like to pass to my ActionLink parameter for
I have problem when I try insert some data to Informix TEXT column via

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.