Atlanta .NET Regular Guys

Recent Posts

Tags

News

  • Brendon Schwartz - Email Me
    Matt Ranlett - Email Me

    Brendon Schwartz

    MVP Logo
    Community Kit for SharePoint
    View Brendon Schwartz's profile on LinkedIn
    <iframe src="http://gamercard.xbox.com/B%20Funk%20DevCow.card" scrolling="no" frameborder="0">B Funk DevCow</iframe>

    Matt Ranlett

    Matt Ranlett MVP Logo
    <iframe src="http://gamercard.xbox.com/TestDummy.card" scrolling="no" frameborder="0">TestDummy</iframe>

    Community Links

Community

Email Notifications

    Useful Links

    SharePoint 2007

    ASP.NET 2.0

    Atlanta Area Bloggers

    BizTalk

    SharePoint 2007 WebControls

    SharePoint 2007 Development

    Archives

    Be careful about hard coding Javascript in SharePoint 2007

    Have you ever gotten "Please wait while scripts are loaded..." in SharePoint 2007?  This is caused by a script error on the current SharePoint page.  To solve this problem just fix the javascript errors on the page and it should go away.  If you are a using a minimal or custom WCM master page you might run into this.  One place you might see this after applying a new master page is in the Survey form.  This is due to a hard coded script line in a content area that tries to set an element without checking if the element exists first.  Actually this should happen in an list that uses the form.aspx where the code actually lives.

    <script id="onetidPageTitleAreaFrameScript">
        document.getElementById("onetidPageTitleAreaFrame").className="ms-areaseparator";
    </script>

    If you don't have this element the message to wait for scripts will never go away.  To define the element just add it to a table as defined on the default.master page like the following table row:

    <td valign=top id="onetidPageTitleAreaFrame" class='ms-pagetitleareaframe' nowrap>

    Comments

    novolocus.com » Corrupt Breadcrumbs in the in PageAreaTitleFrame said:

    Pingback from  novolocus.com &raquo; Corrupt Breadcrumbs in the in PageAreaTitleFrame

    # October 30, 2008 8:01 AM