rhyz
03-15-2009, 11:35 AM
HI !!! 2nd thread
I was very happy with the reply i got in the last post, it worked thankyou !!!
now my next problem!!!
I have been trying for the last couple of days and havent solved it yet.
I have a cookie that stores the name of a cursor. the script writes what i need and all i have to do it get it working in the body tag
<script type="text/javascript" src="cookie.js">
</script>
<script type="text/javascript">
var bc = "'bc'"
function pgcursor() {
cursor=getCookie('cursor');
if (cursor!=null && cursor!="")
return 'document.getElementById('+bc+').style="cursor:url('+cursor+');"'
}
document.write(pgcursor())
</script>
<body id="bc" name="bc" style="cursor:url();">
basically i need to output the cookie in the cursor url part of the body tag
and in the script i have
document.write(pgcursor())
just to see if it is outputing the right things :) thankyou
I was very happy with the reply i got in the last post, it worked thankyou !!!
now my next problem!!!
I have been trying for the last couple of days and havent solved it yet.
I have a cookie that stores the name of a cursor. the script writes what i need and all i have to do it get it working in the body tag
<script type="text/javascript" src="cookie.js">
</script>
<script type="text/javascript">
var bc = "'bc'"
function pgcursor() {
cursor=getCookie('cursor');
if (cursor!=null && cursor!="")
return 'document.getElementById('+bc+').style="cursor:url('+cursor+');"'
}
document.write(pgcursor())
</script>
<body id="bc" name="bc" style="cursor:url();">
basically i need to output the cookie in the cursor url part of the body tag
and in the script i have
document.write(pgcursor())
just to see if it is outputing the right things :) thankyou