Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save as web page 2

Status
Not open for further replies.

cldh00

MIS
May 10, 2002
27
US
Hi. I just purchased Visio 2003 and noticed some differences in the save as web page feature. In 2002, when you saved as a web page and included custom properties on your shape, all you had to do was use the mouse and scroll over the shape to have the custom properties appear in the left pane. However, now it seems as though you have to hold the 'control' key and click on the shape in order to have your custom properties appear. I am viewing over 500 individual web pages for my company and it would be a real pain to have to tell them to constantly hold the 'control' key and then click on the shape in order to see the custom properties. Is there a way to have the custom properties just appear when you click on the web page? If not, is there any easier way besides holding the 'control' key and clicking on the shape. Thanks in advance for your help!
Chad
 
In NameOfWebPage_files, there is frameset.js.
In this file on 116th row
change "if (e != null && e.ctrlKey && frmToolbar.widgets
&& frmToolbar.widgets.Details)" to
"if (e != null && frmToolbar.widgets &&
frmToolbar.widgets.Details)".
Now just click on shapes.
 
Great, thanks for your help. Now, one more question. Is there a way to change that line of code in the "if" statement to just have the custom properties appear when the mouse is moved over the shape with the custom properties instead of having to click on that shape? Any info would be great. Thanks!
 
In FileName_files find vml_1.htm.
Open it for edit and do 2 replace
1) Replace onmouseover="UpdateTooltip(this,
to onmouseover="OnShapeClick(
2) Replace onfocus="UpdateTooltip(this,
to onfocus="OnShapeClick(
and don't forget edit .js file
 
Great, this is really helping. Sorry to be a pain, but I have one more question. Now that we are getting somewhere, the most ideal thing for my visio web pages would be that as soon as I click the link for the visio web page, to just have the custom properties appear with the drawing immediately, without having to click on the shape or move the mouse over the shape. Do you by chance know how to do this? If so, that would be fantastic! I look forward to hearing from you again! Thanks!
 
In NameOfWebPage_files, there is widgets.htm.
In this file on 202nd row replace
<P class=&quot;p2&quot; class=&quot;detsPara&quot;>CTRL+click a shape in the drawing to view details.</P>[/red]
to
<P class=&quot;p2&quot; class=&quot;detsPara&quot;>
Shape Name:</P>
<table align=&quot;center&quot; width=&quot;95%&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; bgcolor=&quot;#999999&quot;>
<tr bgcolor=&quot;#eaeaea&quot;>
<td bgcolor=&quot;#D4D0C8&quot; align=&quot;center&quot;>
<P class=&quot;p2&quot; class=&quot;detsPara&quot;><b>Label</b></P>
</td>
<td bgcolor=&quot;#D4D0C8&quot; align=&quot;center&quot;>
<P class=&quot;p2&quot; class=&quot;detsPara&quot;><b>Value</b></P>
</td></tr>
<tr>
<td bgcolor=&quot;#e7e7e7&quot;>
<br></td>
<td bgcolor=&quot;#e7e7e7&quot;>
</td>
</tr>
</table>[/green]
 
Thanks for your reply. Ok, here is the situation. I put the necessary code in the widgets.htm file however what I need to show up doesn't. All that shows up is a shape name with a gray colored box below it with the label and value fields, but nothing with them. Those aren't my custom properties. However, if I hold the control key and click on the room number (where my custom properties are stored in), then the custom properties appear. Just so I don't confuse, here is what I would like to have happen. When I click on a link to show that room, I would like the custom properties to appear immediately with that room, instead of having to click on that room number or moving the mouse over the room number. Hopefully this is clear to you, if not, please let me know. I appreciate all your help through this and I await your reply. Thanks!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top