b7c11b56138cf1986bc881e62c99a232cc72a10c.svn-base 831 B

123456789101112131415161718192021222324252627
  1. function orgParams() {
  2. this.sub_fd_objectId;
  3. this.sub_sql_condition;
  4. this.sub_classId
  5. }
  6. var linkParams = new orgParams();
  7. $(function() {
  8. /* var sub_fd_objectId = $("#sub_fd_objectId").val(); */
  9. /* var classId=$("#test_iframe").val(); */
  10. var classId = parent.sup_classId || "211";
  11. /* var classId=parent.classId; */
  12. /* alert(classId+"获取classid"); */
  13. var sub_fd_objectId = parent.sup_fd_objectId
  14. var iframelink = parent.document.getElementsByName("frmrightChild")[0];
  15. if (classId == "211") {
  16. //var iframe = parent.document.getElementsByName("frmrightChild")[0];
  17. iframelink.src = "inlinklist.html";
  18. } else if (classId == "210") {
  19. //var iframe = document.getElementsByName("frmrightChild")[0];
  20. iframelink.src = "outlinklist.html";
  21. } else {
  22. iframelink.src = "inlinklist.html";
  23. }
  24. });