List View on Any SiteDate Updated: 02/19/2009
This JQuery solution provides a way to be able to view any list on any site from any other site. Just copy the link to your list view and add this JQuery code with the link.
Code:
  1. <!-- Load and display list - jQuery version -->
  2. <!-- Questions and comments: Christophe@PathToSharePoint.com -->
  3. <DIV id="ListPlaceholder" ><IMG src="/_layouts/images/GEARS_AN.GIF" style="width:32px;"/></DIV>
  4. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js" type="text/javascript"></script>
  5. <script type="text/javascript">
  6. // Paste the URL of the source list below:
  7. var SelectedView = "http://www.bitsofsharepoint.com/Lists/Category/AllItems.aspx";
  8. $("#ListPlaceholder").load(SelectedView+" #WebPartWPQ1 .ms-listviewtable",function() {
  9. $("#ListPlaceholder *").removeAttr("id");
  10. $("#ListPlaceholder *").removeAttr("onclick");
  11. $("#ListPlaceholder *").removeAttr("onfocus");
  12. $("#ListPlaceholder *").removeAttr("onmouseover");
  13. });
  14. </script>