Browser detect and re-direction

They have: 3 posts

Joined: Jun 2001

I have the following image viewer on my page but Netscape doesn't render any of the images..Anyone got a suggestion? Thanks.

<script LANGUAGE="JavaScript">
function doPic(imgName) {

if (document.images) {

document.mainpic.src = imgName;

}

}
</script>





Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

hi celticking,

maybe it's because of the spaces between "java" and "script".
i.e. ...java script:doPic('pics/[field:'pic2']');">...
try making it one word. Smiling

or were the spaces intentional?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.