I've some static html content on a page and i want to highlight parts of it depending upon the parameters in the URL string. The retrieval of parameter value and highlighting logic is written in widow.load() and I've included the corresponding javascript and the html in a CEWP. But after i edit the CEWP and save it for the first time, the page is no more editable until i delete the webpart. 'Edit Page' from Site Actions, 'Page' options in the Ribbon are disabled. The script works fine.
↧