<html>
<head>
<link type="text/css" href="/jquery/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="/jquery/jquery-1.3.2.js"></script>
<script type="text/javascript" src="/jquery//ui.core.js"></script>
<script type="text/javascript" src="/jquery/ui.draggable.js"></script>
<script type="text/javascript" src="/jquery/ui.resizable.js"></script>
<script type="text/javascript" src="/jquery/ui.dialog.js"></script>
<script type="text/javascript">
   $(function() {
  var $dialog = $('div#dialog');
     $dialog.dialog({modal:true,
      autoOpen: false,
            open:function() {
              $(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar-close").hide();
            },
            width:700,
            height:1000,
            buttons: {
    "Close": function() {
     $(this).dialog("close");
    }
   }                
        });
       
       $("#click").click(function(){
       $dialog.dialog('open');
          $( "iframe", $dialog ).attr( "src", "viewsrc.xxx?filename=" + $(this).attr('file_name'));
          });   
    })
   </script>
</head>
<body>
<div id="dialog" title="파일 내용 보기" style='display: none; text-align:center'>
 <iframe style="width: 100%; height: 100%; border: 0px;"></iframe>
 
</div>
<pre class="brush:">filename : <a href="#" id="click" file_name="E:\dailybuild\web\styles\shThemeDjango.css">/home/www/conf/sql-map-misc.properties</a></pre>
<pre class="brush: java;">
2 : url=$${backend.misc.url}
3 : username=$${backend.misc.username}
4 : password=$${backend.misc.password}
 
</pre>
<br></br>
</body>
</html>





<html>
<head>
<link type="text/css" href="/jquery/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="/jquery/jquery-1.3.2.js"></script>
<script type="text/javascript" src="/jquery//ui.core.js"></script>
<script type="text/javascript" src="/jquery/ui.draggable.js"></script>
<script type="text/javascript" src="/jquery/ui.resizable.js"></script>
<script type="text/javascript" src="/jquery/ui.dialog.js"></script>
<script type="text/javascript">
   $(function() {
  var $dialog = $('div#dialog');
     $dialog.dialog({modal:true,
      autoOpen: false,
            open:function() {
              $(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar-close").hide();// .remove();           
            },
            width:700,
            height:1000,
            buttons: {
    "Close": function() {
     $(this).dialog("close");
    }
   }                
        });
        
           })
    
    function clickMe(filename) {
      var $dialog = $('div#dialog');
     $dialog.dialog('open');
          $( "iframe", $dialog ).attr( "src", "viewsrc.xxx?filename=" + filename);
      }
   </script>
</head>
<body>
<div id="dialog" title="파일 내용 보기" style='display: none; text-align:center'>
 <iframe style="width: 100%; height: 100%; border: 0px;"></iframe>
 
</div>
<pre class="brush:">filename : <a href="javascript:clickMe('E:\dailybuild\web\styles\shThemeDjango.css')" >/home/www/src/conf/sql-map-misc.properties</a></pre>
<pre class="brush: java;">
2 : url=$${backend.misc.url}
3 : username=$${backend.misc.username}
4 : password=$${backend.misc.password}
 
</pre>
<br></br>
</body>
</html>


Posted by '김용환'
,