[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

JavaScript popUp interrupts HTML loading

Posted on 2009-04-15
5
Medium Priority
?
344 Views
Last Modified: 2012-05-06
I have a page with a Google map,markers and lots of images in it. On page onload event using Ajax request I am loading markers on Google map.

When page starts loading, i am displaying popup div (modal form). For that reason i have kept this pop up div on start of the page.
So when page starts rendering popup appears. This popup have link to close this pop up. The reason is to keep user busy with reading initial information and at backend display Google map and markers.

The problem is that while the images are loading on the page, if the user clicks on the link of the pop-up, then the loading of the page is interrupted. So remaining images as well google map with AJAX request doesn't appears, indirectly it interrupts onLoad event of page in IE 6.

Can anybody tell me how can i resolve this conflict?
0
Comment
Question by:teenashah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Dimitris
ID: 24148005
Your problem is that you open the popup on modal dialog.
Change it to modless and it will be solved.
Modal forces the execution to stop and waits until you close the window.
Modless opens the window and the code continues to be executed
0
 

Author Comment

by:teenashah
ID: 24154596
Hi,

Above issue has been resolved by own.
0
 
LVL 12

Expert Comment

by:Dimitris
ID: 24155028
Please inform us about the way you have resolve it
Just to know :)
0
 

Accepted Solution

by:
teenashah earned 0 total points
ID: 24165005
Hi All,

I found that while loading pages having images and others stuff loading, if user clicks any such a link available on page, browser mostly IE6 stops rendering HTML page.

So I just replaced href link with span tag and onclick event of span called required JS code spec.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question