PDA

View Full Version : Scrollable Content II script doesn't work in IE7



astudio
11-10-2008, 04:20 PM
1) Script Title: scrollable content II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm

3) Describe problem: have a look at

http://www.astudioarchitecture.com/test/projects/index_sort_by_name.htm

the text scroll on the top right corner runs fine under firefox 3 but doen't work under IE7... at least on my machine... any idea?

I inserted already the fix to run scrollable content II scrpit and Cmotion script for the gallery. Could this create the problem? There is a section in the script

iens6=document.all||document.getElementById
ns4=document.layers

does this need an update as well due to the Cmotion script?
thx
p

ddadmin
11-10-2008, 11:32 PM
Those 2 lines shouldn't break the script, no. It's hard to say just looking at your page now why it's not functioning in IE. Try giving your page a valid doctype at the very top:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

and see if that changes anything.

astudio
11-11-2008, 11:01 AM
Hi ddadmin
No, that doesn't do the trick :(
Is it perhaps caused by the layer setup (ilayer and layer command) which is used in the script?
Cheers
P