Assign a button for "back" in web.

B

Bra-k

Hello, I am running Visio 2002. I have converted my file to html, I need to
know how program a button on my pages to go "back" to the previous web page
(just like the back button works). Does anyone know how to do this?

Thanks,
Tod
 
C

Chris [Visio MVP]

I don't think you can get a Visio shape to have a hyperlink that will take
you "back"

You'd have to export the drawing using "Save As Web...", then search through
the Visio-generated html to find your back shape - perhaps identifying it
with a dummy hyperlink: HREF="I_am_a_decoy" or something. Then you could
modify it to execute the 'back' command via javaScript.

I found this code for a button that goes backwards, perhaps you can modify
it:

<form method='POST' action='Javascript:history.go(-1)'>
<input type='submit' value='Back' name='Back'></p>
</form>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top