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!

Work Bookmarks and going back to the 'original spot'

Status
Not open for further replies.

Jetter88

Programmer
Nov 14, 2003
35
CA
Hi all...

I have a very long document that has a glossary of definitions near the bottom to the document. I have successfully "bookmarked" all the required words to link to their definitions. Now in order to get back to the original spot the user was, they must select the 'Back' button the 'Web Toolbar' (if they know to turn that now) or to use 'ALT-left arrow' (if they know they command).

Is there a way to use the code from those commands and create a bookmark from that? This way I can hyperlink all the "Glossary words" with this bookmark and they don't have to worry about keyboard shortcuts or toolbars?

something like 'history.back()' in javascript?

Thanks in advance!
Mark
 
I haven't tried this, so I don't know how well this works. You could add a GoBack button on the Standard Toolbar. Go to Customize, Under Categories, select All Commands and under Commands choose GoBack and drag it to the toolbar.

Member- AAAA Association Against Acronym Abusers
 
hi xlhelp...

thanks for the reply. that doesn't do the exact job. the "goback" button takes you to the last edit change in the document, if there was any.

i was hoping for something the user doesn't have to add to the toolbar and I can create the "bookmark" or link to go back to the original spot.

 
Can you describe this in better detail? I am not quite following.

You state: "I have successfully "bookmarked" all the required words to link to their definitions. "

OK. Just for example, say you have 47 instances of the word "yadda". Are you saying all 47 instances are linked to the definition of the word at the end of the document?

In which case, where is "back to"? Clearly, the basic "back to" is where ever the Selection (cursor) was before jumping to the definition. This is, as you know, can be done with Back.

I am confused by: "Is there a way to use the code from those commands and create a bookmark from that? This way I can hyperlink all the "Glossary words" with this bookmark "

Huh? A bookmark? A bookmark is ONE location. So I have no idea what you mean by hyperlinking all the Glossary word with "this" bookmark.

faq219-2884

Gerry
My paintings and sculpture
 
hi fumei...

yup... you got the first part right. "Just for example, say you have 47 instances of the word "yadda". Are you saying all 47 instances are linked to the definition of the word at the end of the document?" Yes, that is all working correctly.

Now... the problem is getting back to where they were in the document prior to selecting the word "yadda" that was bookmarked.

I know there is a "Back" button in the "Web" toolbar that will sent the user back to the original spot, but not all users know to have the "Web" toolbar open. Is there a way to get the code from the "back" button and add it to the definition in its own link similar to 'history.back()' in javascript?

for example:
Definitions:
yadda - a way to say something. click here to go back to orig spot.

i hope that helps?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top