View Full Version : to know img src
suvi_7888
06-01-2011, 10:11 AM
I have read the "script jQuery Context Menu" to display the menu on the image.
It is very helpful. :)
in my case, I want the href of the menu itself is img src ...
:confused:
please the answer ...
thx...
I have read the "script jQuery Context Menu" to display the menu on the image.
It is very helpful. :)
in my case, I want the href of the menu itself is img src ...
:confused:
please the answer ...
thx...
this (http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm)?
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.
Also,
Your question is unclear. What, exactly, do you need help with? Please be as specific as possible.
suvi_7888
06-02-2011, 12:46 PM
this (http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm)?
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.
Also,
Your question is unclear. What, exactly, do you need help with? Please be as specific as possible.
yups...
jQuery Context Menu script (http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm)
I want the href of the menu itself is img src
:confused::confused::confused:
I want the href of the menu itself is img src
do you mean you want the menu to hold a link to the image it's attached to?
Simply put the image uri into the link in the menu's markup:
<ul id="contextmenu1" class="jqcontextmenu">
<li><a href="path/to/image.jpg">View Image</a></li>
</ul>or am I not understanding your question correctly?
suvi_7888
06-03-2011, 02:56 AM
do you mean you want the menu to hold a link to the image it's attached to?
Simply put the image uri into the link in the menu's markup:
<ul id="contextmenu1" class="jqcontextmenu">
<li><a href="path/to/image.jpg">View Image</a></li>
</ul>or am I not understanding your question correctly?
example:
<img src="path/img1.jpg" /><br />
<img src="path/img2.jpg" /><br />
<img src="path/img3.jpg" /><br />
if the mouse right click on each image, the menu is only one, namely the address of the image...
you can create a context menu for each image. if you give each menu a different name, they won't conflict with each other.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.