I'm hovering over this link on Wikipedia's "Weird Al" Yankovic page:
<a href="/wiki/Image:WeirdAlYankovic.jpg" class="image" title=""> <img alt="" longdesc="/wiki/Image:WeirdAlYankovic.jpg" src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/WeirdAlYankovic.jpg/220px-WeirdAlYankovic.jpg" width="220" height="342" /></a> If I hit 'v' for view image, I see the image in xv, which is great. If I put this in hooks.lua and load it: bind_key("main", "V", my_function) and hit "V" while on the link, my_function can call current_link() to see "http://en.wikipedia.org/wiki/Image:WeirdAlYankovic.jpg" (the URL of the link), but can't get to "http://upload.wikimedia.org/wikipedia/commons/8/8b/WeirdAlYankovic.jpg", the URL of the image. Is there a "current_image()" or similar function to show me the URL of the image I'm hovering over, even if the image is inside a hyperlink? I realize I can hit return to visit the URL "http://en.wikipedia.org/wiki/Image:WeirdAlYankovic.jpg", and then get a direct link to the image, but want to avoid the extra step. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. _______________________________________________ elinks-users mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-users
