I have an ready widget with the node.js, html and everything. It all works fine, but I want to add another operation before that. I would like to see another page that I can write something in that will lead me to this node. Here's the html that creates that node.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tradeoff Analytics</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.2.min.js"></script>
<script type="text/javascript" src="http://ta-cdn.mybluemix.net/2.0/TradeoffAnalytics.js"></script>
</head>
<body style="height:100vh;margin:0;overflow:hidden;">
<!-- A node under which the Tradeoff Analytics widget will be created -->
<div id='ta' style="height:100%;"></div>
<script type="text/javascript" src="index.js"></script>
</body>
</html>
So do I just create a second node? I've never worked with JS before
via Ammar Asmaro
No comments:
Post a Comment