xfr33 Posted September 18, 2008 Report Share Posted September 18, 2008 man ir menu, kas veidots no bildēm - img src un vajadzētu pievienot dažām bildēm tā lai kad uzbrauc parādas jauna bilde - tā kā submenu. ceru, ka jūs sapratīsiet :) kā to var izdarīt? nemāku pat ar ul un li veidot tos submenu, bet kad menu sastav no bildēm vēl jo mazāk. ceru uz sapratni un palīdzību :) Link to comment Share on other sites More sharing options...
marcis Posted September 19, 2008 Report Share Posted September 19, 2008 es jau izmantotu <a> elementu background-position... vēl pastāv arī javascript īventi <img src="/images/bilde1.jpg" alt="" onmouseover="this.src='/images/bilde2.jpg';" onmouseout="this.src='/images/bilde1.jpg';" /> Link to comment Share on other sites More sharing options...
Evi Posted September 19, 2008 Report Share Posted September 19, 2008 apmeeram taa: <ul> <li><a href="#" title="blah">menu1<a></li> <li><a href="#"title="blah">menu1<a></li> ... </ul> ul{ padding:0; margin:0} ul li{ padding:5px; margin:5px; background:url(bla.gif) no-repeat} ul li a{ padding:5px; display:block} ul li a:hover{ background:url(bla-hover.gif) no-repeat} pats paspeeleejies ar paddingiem marginiem un varbuut arii li vai li a tev vajadzees height width. Link to comment Share on other sites More sharing options...
ExpIorer Posted September 23, 2008 Report Share Posted September 23, 2008 šitā Link to comment Share on other sites More sharing options...
Recommended Posts