rarabin

upload.html google plus share

......@@ -6,7 +6,7 @@
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>
<img src="http://211.249.50.30:8080/user/mypic.jpg"></img>
<img src="http://localhost:8080/user/mypic.jpg"></img>
<button onclick="test()">완료</button>
<script type="text/javascript">
......@@ -38,7 +38,7 @@
// Request body.
data: '{"url":"http://211.249.50.30:8080/user/mypic.jpg"}',
data: '{"url":"http://localhost:8080/user/mypic.jpg"}',
})
.done(function(data) {
alert(JSON.stringify(data));
......
......@@ -11,12 +11,18 @@
<title>Age Detection</title>
<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/animate.css">
<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/magnific-popup.css">
<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="http://localhost:8080/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="http://localhost:8080/assets/css/animate.css">
<link rel="stylesheet" href="http://localhost:8080/assets/css/magnific-popup.css">
<link rel="stylesheet" href="http://localhost:8080/assets/css/font-awesome.min.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="http://211.249.50.30:8080/assets/css/tooplate-style.css">
<link rel="stylesheet" href="http://localhost:8080/assets/css/tooplate-style.css">
<!-- 이 태그를 head 태그에 배치하거나 닫는 body 태그 바로 앞에 배치하세요. -->
<script src="https://apis.google.com/js/platform.js" async defer>
{lang: 'ko'}
</script>
</head>
......@@ -82,15 +88,16 @@
<p class="white-color"> Opensource software programming 2017 Kang Jun Hu </p>
<div class="wow fadeInUp" data-wow-delay="1s">
<ul class="social-icon">
<li><a href="#" onclick="javascript:window.open('https://www.facebook.com/sharer/sharer.php?u='
+encodeURIComponent(document.URL)+'&amp;t='+encodeURIComponent(document.title), 'facebooksharedialog',
'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" alt="Share on Facebook" class="fa fa-facebook"></a></li>
<li><a href="#" onclick="javascript:window.open('https://www.facebook.com/sharer/sharer.php?u=' +encodeURIComponent(document.URL)+'&t='+encodeURIComponent(document.title), 'facebooksharedialog', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" alt="Share on Facebook" class="fa fa-facebook"></a></li>
<li><a href="#" onclick="javascript:window.open('https://twitter.com/intent/tweet?text=[%EA%B3%B5%EC%9C%A0]%20'
+encodeURIComponent(document.URL)+'%20-%20'+encodeURIComponent(document.title), 'twittersharedialog',
'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank" alt="Share on Twitter" class="fa fa-twitter"></a></li>
<li><a href="#" class="fa fa-instagram"></a></li>
<li><a href="#" class="fa fa-behance"></a></li>
<li><a href="#" class="fa fa-github"></a></li>
<br>
<!-- 공유 버튼을(를) 표시하고 싶은 위치에 이 태그를 배치하세요. -->
<div align="center" class="g-plus" data-action="share" data-height="35" data-href="http://localhost:8080/home"></div>
</ul>
</div>
</div>
......@@ -98,14 +105,14 @@
</footer>
<!-- SCRIPTS -->
<script src="http://211.249.50.30:8080/assets/js/jquery.js"></script>
<script src="http://211.249.50.30:8080/assets/js/bootstrap.min.js"></script>
<script src="http://211.249.50.30:8080/assets/js/jquery.parallax.js"></script>
<script src="http://211.249.50.30:8080/assets/js/smoothscroll.js"></script>
<script src="http://211.249.50.30:8080/assets/js/jquery.magnific-popup.min.js"></script>
<script src="http://211.249.50.30:8080/assets/js/magnific-popup-options.js"></script>
<script src="http://211.249.50.30:8080/assets/js/wow.min.js"></script>
<script src="http://211.249.50.30:8080/assets/js/custom.js"></script>
<script src="http://localhost:8080/assets/js/jquery.js"></script>
<script src="http://localhost:8080/assets/js/bootstrap.min.js"></script>
<script src="http://localhost:8080/assets/js/jquery.parallax.js"></script>
<script src="http://localhost:8080/assets/js/smoothscroll.js"></script>
<script src="http://localhost:8080/assets/js/jquery.magnific-popup.min.js"></script>
<script src="http://localhost:8080/assets/js/magnific-popup-options.js"></script>
<script src="http://localhost:8080/assets/js/wow.min.js"></script>
<script src="http://localhost:8080/assets/js/custom.js"></script>
</body>
......