Changeset 12948


Ignore:
Timestamp:
2006-09-29T15:43:31+12:00 (18 years ago)
Author:
mdewsnip
Message:

Now sets the home page caption also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cic-hcap/macros/extra.dm

    r12946 r12948  
    175175   photo.setAttribute('src', '_httpcollection_/images/mainphoto/' + rand + '.jpg');
    176176   photo.setAttribute('alt', photos[rand]);
     177
     178   var caption = document.getElementById('cichomephotocaption');
     179   caption.innerHTML = photos[rand];
    177180\}
    178181
     
    189192    <td id="cichomephotoarea">
    190193      <img id="cichomephoto" src="_httpcollection_/images/mainphoto/blank.gif" alt="HCAP Photo" /><br />
    191       <span class="caption">&nbsp;</span>
     194      <span id="cichomephotocaption">&nbsp;</span>
    192195    </td>
    193196
Note: See TracChangeset for help on using the changeset viewer.