[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: <rollover> question

On Wed, 5 Jan 2000, Stephan Petersen wrote:

> Hi everybody,
> I tried using the rollover tag the other day, referencing it like this:
> <rollover name="ecfp2" src="img/ecfp2.gif" overscr="img/ecfp2_a.gif">
> WML (V1.7.4, Linux 2.2.5 i686) creates the following code:
> The problem: since there's no rollover image referenced in the line
> ro_img_ecfp2_o.src = "";
> the rollover effect doesn't work.
> Am I using the rollover tag incorrectly, or what could be the reason for
> this?

There is a typo in your code ;)
Try instead
  <rollover name="ecfp2" src="img/ecfp2.gif" oversrc="img/ecfp2_a.gif">

> Also, is there away to avoid having a link associated with the rollover? I
> just want to have the effect, but no link. As a workaround it's possible
> to link to the same page, but is there a more elegant way?

Good suggestion. I suppose that adding href="#" does the job, but it
should be the case when no url is set.

Denis Barbier
WML Maintainer

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com