HTA problem with context menus

Posted on 2005-03-30
Medium Priority
Last Modified: 2008-02-01
I have a working .HTA application that I am very happy with, apart from one small problem: the "back" option is disabled in the context menu (right-click anywhere on the page).

Can anyone tell me how to either enable to the "back" option on the default context menu within an HTA application, or how to extend the default context menu using JavaScript so that I can add my own "back" option?

Many thanks
- Graeme
Question by:gmacfarlane
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 53

Accepted Solution

COBOLdinosaur earned 300 total points
ID: 13670541
See if you can use one of these.  Just and the back and for the function use history.back();


However I'm not sure an HTA, can actually go back.  it runs as an application, so whether you can come back to history from application space would be questionable.


Author Comment

ID: 13673851
Ah. You make a good point. "history.back();" does not work for HTAs anyway. I guess that is the reason why it is disabled on the default context menu!  Many thanks all the same.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question