justAnoob Posted December 17, 2009 Share Posted December 17, 2009 Am I getting close to have this line correct? document.body.style.cursor=url("http://www.mysite.com/images/cursors/k_spin_cursor.ani"); Or is this correct and can I only use .cur files for cursors. The .ani is an animated cursor I made. Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/ Share on other sites More sharing options...
.josh Posted December 17, 2009 Share Posted December 17, 2009 the url part goes in the quotes too. dunno if you can use .ani though... document.body.style.cursor="url(http://www.mysite.com/images/cursors/k_spin_cursor.ani)"; Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/#findComment-978899 Share on other sites More sharing options...
justAnoob Posted December 17, 2009 Author Share Posted December 17, 2009 yeh, just fixed it. And it will not let me use a .ani only a .cur There has got to be a way to use the .ani Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/#findComment-978900 Share on other sites More sharing options...
.josh Posted December 17, 2009 Share Posted December 17, 2009 maybe find a program that converts .ani to .cur? Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/#findComment-978901 Share on other sites More sharing options...
justAnoob Posted December 17, 2009 Author Share Posted December 17, 2009 maybe, but .ani is animated where .cur is not. But I will take a look around. Thanks. Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/#findComment-978903 Share on other sites More sharing options...
.josh Posted December 17, 2009 Share Posted December 17, 2009 what about converting it to a .gif? Dunno if .gif works for that either, but might be worth a try Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/#findComment-978905 Share on other sites More sharing options...
justAnoob Posted December 17, 2009 Author Share Posted December 17, 2009 lol, that is what i'm searching for now, a converter to change to a gif. Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/#findComment-978910 Share on other sites More sharing options...
justAnoob Posted December 17, 2009 Author Share Posted December 17, 2009 converting to a .gif just gives me about 25 different pics from my animation(.ani) I guess it is time to change my plans for my page.. Thanks for all the help though. Link to comment https://forums.phpfreaks.com/topic/185428-url-is-not-defined-what-is-wrong/#findComment-978916 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.