August 31st, 2004, 01:00 AM
I'm Creating an application that uses the url of a picture in a html file when I click on a context menu item in IE. What I need is the following:
I have already created an entry in the context menu of IE. The option is only enabled when you right-click on a picture. Now how do I extract the URL from that piture (cfr. when you click on the properties-item) and use it in my application?
September 1st, 2004, 01:18 PM
Do you know any useful information about the picture (for instance its name?) If so, you can probably go through the Document object and iterate your way down each element till you hit an IMG tag and then check its properties to see if they match.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo