Allows a nice scroll bar to show up below the image (attached or linked) in case it doesn't fit the current browser's window width, otherwise pretty wide image will affect the forum display
also fixes the small typo in "alt" attribute in the original File Attachment (FA) V3.0 mod in first step
---
based on CSS hack for IE (standard css "overflow: auto" option doesn't work in IE)
===
width :
expression((document.body.clientWidth -200) + 'px');
height :
expression((document.body.clientHeight -200) + 'px');
===
INSTALLATION:
------------------
make sure that Ron's File Attachment mod V3.0i for SP1.3.x was installed!
- apply mod by BoardMod
- Upload (in ASCII mode!) the following updated files to your web server ./Sources directory:
!*** MAKE A BACKUP COPIES FIRST ***! (you've been warned!
Display.pl
YaBBC.pl
- Upload (in ASCII mode!) the updated template ("template.html") to your web server YaBB main directory
tested in IE and FireFox only!
PS: small typo was fixed, updated file attached