Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I save an image using a DHTML right click menu?

Click DHTML image menu right
0
10 Posted

How do I save an image using a DHTML right click menu?

0
10

Hey. I am trying to make it that when I right click on an image on my site I can save the image like I could with a normal right click menu. I have no experience writing JavaScript so I have no starting points for this. The right click menu is written in DHTML and uses the view source, back, forward, print, and refresh functions. Also, I would want it to be able that when the cursor is not over the image, the menu only has it as text, not a link executing a command to bring up a save as window for the image. The site is http://andrevas.sdf1.org/andrevas/, there you can see how it is written already and start me off from there. Any help as to how to write the command for the Save Image As function would be greatly appreciated!

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123