3

Javascript to a block

http://drupal.org

Hello,

I just want to have a simple rollover image in a block using javascript.

I have inserted another input format to allow javascript, but still, my rollover does not work.

Here's what I have:

<script type="text/javascript">// <!--
setrollover('image_over.gif', 'image');
//--></script>

<a href="http://www.example.com" onmouseover="rollover('image')" onmouseout="rollout('image')"><img src="/images/image_out.gif" alt="bla bla" width="100"  height="50" border="0"></a>

Thanks

Read »
Created by Dplanet 1 year 38 weeks ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Javascript to a block

Recent comments