Click to See Complete Forum and Search --> : Another code help!


chick
05-15-2007, 05:19 AM
I am building a website that has a menu system consisting of multiple levels, these are as follows:

Utility bar at the top - class is U1
Level 1's horizontally along the top - class is G1
Level 2's horizontally underneath level 1's - class is G2
Level 3's vertically along the left hand side - class is G3

When you click a level 1, the level 2's appear underneath. When you click a level 2 the level 3's appear to the left.

I would like a page heading to appear in the content only for the level 1's. However, I have tried a piece of code but it pulls all initial items with the value of 1, which works because level 1's have a class of G1 but it also includes the utility bar as they are classed as U1.

Does anyone know how I can do this?

umahiya
05-15-2007, 07:50 AM
hi,

pls check the code, & corrections

<img class=searchImg
onMouseOver="showtrail('src='<%# DataBinder.Eval(Container.DataItem, "imageURL") %>'','d-care','Herbal product','0','1990/-','1',380,1);"
title=&nbsp; onMouseOut=hidetrail();
alt="" src='<%# DataBinder.Eval(Container.DataItem, "imageURL") %>'

Runat="server" width="60" height="90" vspace="5" ID="Img1">