Click to See Complete Forum and Search --> : problem with IE 7


valentina27
07-03-2007, 02:08 PM
Hi, can you help me?
I have a problem with Internet Explorer 7.
It can locate cgi file and htmls, but cannot find images and javascript file.
They are stored in separate folder from this with html files.
<link rel="stylesheet" href="{%=csspath%}/business.css" type="text/css">
<img src="{%=imagepath%}/but_log.gif" width="97" height="18" onClick='LogIn();return false;'>

I have no problem with IE6, Opera 9.2 and Mozilla.

rpgivpgmr
07-04-2007, 12:26 AM
valentina27,

Replace
{%= with <%=
and
%} with %>

valentina27
07-04-2007, 03:19 AM
I can't use '<' or '>' in folder name. It is forbidden symbol.

rpgivpgmr
07-04-2007, 10:07 AM
what about:
document.write("<link rel='stylesheet' href='" + csspath + "/business.css' type='text/css'>");

pass the values via cookies, read in javascript, write css in head as above.
write button in body later:

<script>
document.write("<img src='" + imgpath + "/but_log.gif' width='97' height='18' onClick='LogIn();return false;'>");
</script>