From: Raymond I. <xw...@ya...> - 2003-08-18 16:18:19
|
See below: --- Kevin Breynck <Kev...@bb...> wrote: > hmmmpfff, > > I am sorry, but that sounds a bit like a workaround. > ;-) > And I fear it is not a practical solution for my > problem. > I have a generic number of images. One image for > every link > I generate. It is for a navigvation like this... > ...for Example: > > link 1 > link 2 > > link 3 > link 4 > > ...and the arrow (must be an image) should appear > when I rollover > the link text. > Isn't there a more compfortable solution to handle > "MouseOvers" > with images? Most certainly. The dynapi.function.Image library allows you to do just that. example: p={ oversrc:'arrow_on.gif', text:'Link 1', textdir:'E', onclick:'callback()' } var img = dynapi.functions.getImage('arrow_off.gif',16,16,p); See docs/docs/quickref.functions.html for more information -- Raymond Irving > > ??? > -k- > > > > > You can use two layers. One to store the first > image > > and the second for storing the second image. > > > > The next step is to listen for onclick event on > layer2 > > > > -- > > Raymond Irving > > > > > > > > --- Kevin Breynck > <Kev...@bb...> > > > wrote: > > > Hi everyone, > > > > > > i have a little question. > > > I want to highlight an Image (Img1) by clicking > on > > > an other one (Img2). > > > But i am not able to find the right syntax. :-\ > > > > > > Can someone help me out please? > > > > > > > > > Thanks > > > -k- __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |