PDA

View Full Version : image only first level category



guardiano
06-18-2012, 10:35 AM
1) Script Title: image category

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

3) Describe problem: i need that only the full image of first level categories are visualized (whitout onmousehover) and fix in the position top right.

shop.ilcibodeglidei.com
How can i do?

jscheuer1
06-18-2012, 02:59 PM
Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.

That said, I'm not really sure I can help you. The images that are supposed to appear look to be 404 Not Found. And that functionality isn't a part of this menu script anyway. You must be using another script for that. Is it also a Dynamic Drive script? If so, which one? If not, what script is it?

The effect it produces - or that it's trying to produce looks somewhat like this script:

http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

But I don't see any code on the page that's from that script. The way we get that script to work as I think you want is simply to hard code the first image into the target area. This only works for the first rollover trigger though. But that might be good enough as long as whatever image replaces it is not removed once triggers are no longer being activated. Right now, when you roll out of a trigger, if you don't roll over another, there is no image. With the DD script the last image remains until replaced.

What script or scripts are you using for that part?

In any case, you first have to fix the paths to and/or upload the images that are supposed to appear.

guardiano
06-18-2012, 04:28 PM
my site is made with joomla and virtuemart.
The module user for categories is mod_vm_cat_menu_specific
In this module there are ddsmoothmenu.js
If i consulting the wrong forum please delete my post (i'm sorry).
Otherwise, my problem is this:
when i mouse over "i grandi vini" i need to display in all menu the image of this category.
Conversely if i move mouse over "italia" or other subcategory change the image (now is displayed only the name).

jscheuer1
06-18-2012, 05:14 PM
.

Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.

Change this:


. . . </div>

<div class="moduletable-categories">
<script type="text/javascript" src="/modules/mod_vm_cat_menu_specific/js/ddsmoothmenu.js"></script>
<div class='ddsmoothmenu' id='smoothmenu1'><div id="relative_div" style="position:relative;z-index:0"></div><ul class="level1"><li class="level1 item1 parent"><a cl . . .

to this:


. . . </div>

<div class="moduletable-categories">
<script type="text/javascript" src="/modules/mod_vm_cat_menu_specific/js/ddsmoothmenu.js">
/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<div class='ddsmoothmenu' id='smoothmenu1'><div id="relative_div" style="position:relative;z-index:0"></div><ul class="level1"><li class="level1 item1 parent"><a cl . . .

For your other problem, the one with the images, you're right. That's not a DD script. You are in the wrong forum for that. After you take care of the credit violation, feel free to open a new thread about the images in the javascript forum:

http://www.dynamicdrive.com/forums/forumdisplay.php?f=7

I see you have it working for FRANCIA in the first drop down. Why can't you do the others like that one? Don't respond to that question here though, respond in your new thread in the javascript forum.

If you still don't understand about the Terms of Service (http://www.dynamicdrive.com/notice.htm) requirement for the Smooth Menu script credit on the page, feel free to ask about that requirement here.