|
The following works (js file):
var _myimage = "/forum/img002.gif"
if (screen.width>=1280 && screen.width<=1399) {document.write('<IMG style="border-style: groove; border-color: #999999; border-width: 15" SRC=' + _myimage + ' usemap="#Objmap" width="870" height="640">')}
But I want to pick up the img002.gif from the htm file
I tried this but it did not work when I substituted myimage for _myimage in the js file:
<script type="text/javascript" src="/forum/screensize_myimage_img002.gif.js"></script>
|
|
|
|
|
|
|
|