Database Reference
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>
Upload the assets.js file into the Visio Library document library.
right-click on assets.js and, by using the Copy Shortcut menu, copy the UrL to the
clipboard.
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 4-41 .
Search WWH ::




Custom Search