Microsoft Office Tutorials and References
In Depth Information
function onDiagramComplete()
{
var _page = _visioWebPart.getActivePage();
_page.setZoom(85);
}
onShapeSelectionChanged = function(source, args)
{
var _activePage = _visioWebPart.getActivePage();
var _shape = _activePage.getShapes();
var _shapeItem = _shape.getItemById(args);
var _shapeData = _shapeItem.getShapeData();
var _description = "";
for (var j = 0; j < _shapeData.length; j++)
{
if (_shapeData[j].label == "Details")
{
_description = _shapeData[j].value;
continue;
}
}
document.getElementById('landmarkDetails').firstChild.data = _description;
}
</SCRIPT>
<div id="landmarkDetails" style="font-family: Verdana; font-style: bold;
font-size:14pt; color:red;">landmark details...</div>
10.
Upload the assets.js file into the Visio Library document library.
11.
right-click on assets.js , and by using the Copy shortcut menu, copy the UrL to the clipboard.
12.
open the Mall.aspx site page in edit mode, and add the Content editor Web part from the
Media and Content category as shown in Figure 2-57 .
Search JabSto ::




Custom Search