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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:33:38+00:00 2026-05-24T20:33:38+00:00

I have a web page with nothing more than pure HTML, CSS and full

  • 0

I have a web page with nothing more than pure HTML, CSS and full Javascript with Jquery and some Jquery UI effects.
The problem is that in certain places of the web page and with certain animations, the page hangs on Chrome 13 and Explorer 8; in Firefox 4/5/6 the page works just perfect. (tested only on these browsers)

Here is the main HTML page:

<div id="contentwrapper">
    <div id="contentcolumn">
        <div id="upperContent"></div>
        <div id="downContent" class="noDisplay">
            <div id="closeContent">
                <img src="@Url.Content("~/Content/images/icons/closebox.png")" alt="X" />
            </div>
            <div id="pageContent">
                @*Here goes the content*@
            </div>

        </div>
        @*Main screen content*@
        <div id="downContent_Main">
            <div id="welcomeMessage_Main" class="gradient"><h3><span></span>Welcome</h3></div>
            <div id="newsTitle_Main">News</div>
            <div id="newsBlocks_Main">
                @*here goes the news divs*@
            </div>
        </div>
    </div>
</div>

These are the styles:

    #contentwrapper
{
    float: left;
    width: 100%;
    height: 480px;
}

#contentcolumn
{
    margin-left: 270px; /*Set left margin to LeftColumnWidth*/
    height: 480px;
}

/* Breadscrumb */
#upperContent
{
    height: 20px;
    padding-left: 3px;
}

/* Option content */
#downContent
{
    height: 450px;

    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
}

#pageContent
{
    padding-left: 8px;
    padding-right: 8px;
    background: inherit;
    height: 428px;

    overflow: auto;
}

#closeContent
{
    height: 18px;
    padding-top: 2px;
    padding-right: 3px;
    text-align: right;
}

#closeContent img
{
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Main screen content */
#welcomeMessage_Main
{
    margin: 10px 10px 0px 10px;
    height: 30px;
}

#newsTitle_Main
{
    margin: 5px 10px 0px 10px;
    height: 25px;
    border: 1px solid #000000;
    border-bottom: 0px; 

    padding: 3px 2px 0 5px;

    font-size: 12px;
    font-weight: bold;
    font-family: normal Arial, sans-serif;
    color: #FFFFFF;
}

#newsBlocks_Main
{
    margin: 0px 10px 5px 10px;
    height: 360px;
    border: 1px solid #000000;

    overflow: auto;
}

The issue is when at runtime I add new content to some of the containers using jquery:

 $.ajax({
        url: pathSite,
        success: function (data) {

            //parse string data to XML
            var xmlData = $.parseXML(data);

            var innerDivs = '';

            //read XML resultant
            $(xmlData).find('news').each(function () {
                var headText = $(this).find('header').text();
                var imageText = $(this).find('image').text();
                var contentText = $(this).find('content').text();

                //trim the text to the maximum allowed on the current container
                if (contentText.length > 205) {
                    contentText = contentText.substring(0, 205);
                }

                //concatenate the resulting news divs
                innerDivs += ('<div class="newsContainer"><div class="newsImage">' + '<img src="' + pathSite + 'Content/images/news/' + imageText + '" alt="NewsImage" />' + '</div><div class="newsContent"><b>' + headText + '</b><br/>' + contentText + '</div></div>');
            });

            //add the html content
            $('#newsBlocks_Main').html(innerDivs);

            //hide loading animation
            $('#newsBlocks_Main').hideLoading();

//Make the parent div sortable <- HERE IS THE ISSUE, NO MATTER WHERE I INITIALIZE THE SORTABLE PROPERTY: HERE OR AT DOCUMENT.READY
            $('#newsBlocks_Main').sortable();
        },
        async: true
    });

As you can see at the end of the previous block of code, I’m trying to make that new content added SORTABLE with Jquery UI, assigning the property to the parent containter div. The content is built fine on the browser but when I attempt to drag one of the new added divs, the browser hangs (Explorer, Chrome) but in Firefox it runs beautifully.

Same case when for example I try to make that dynamically added divs an ACCORDION control (assigning the accordion property to the parent div); in that case the browser (Explorer, Chrome) doesn’t even built the UI, just hangs showing no content.

Please can somebody give me a clue of what is happening here? I never have issues like these before with Jquery.

Thanks.

PD: I’m using the latest versions of Jquery and Jquery UI:

  • Jquery: 1.6.2
  • Jquery UI: 1.8.14
  • 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-24T20:33:40+00:00Added an answer on May 24, 2026 at 8:33 pm

    I found the reason of this behaviour, I forgot to mention that I was using jsTree to build a menu of the left side of the screen, and somehow jsTree conflicts with JQuery UI library causing this browser crashes.

    As an advice, I recommend to use carefully jsTree; in my particular case I used DynaTree which doesn’t cause that conflict. Hope this could help somebody else.

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

Sidebar

Related Questions

Summary I have a web-application with more than 5 themes. Each themes covers a
I would like to build a mobile app, brewed from nothing more but html/css
I have web page in PHP which displays all records in a table. I
I have web page which is passing a querystring parameter to page 2: <a
I have a web page that includes a bunch of images. Sometimes the image
I have a web page which contains a select box. When I open a
I have a web page in which people go to register for my site.
I have a web page with DIV s with a mouseover handler that is
I have a web page x.php (in a password protected area of my web
I have a web page that displays a long line graph inside a div

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.