Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 06-11-2009
Member
 
Join Date: Apr 2008
Posts: 242
Customized Cursors for website

I wan just wondering, if there is someone who could probably help me with customizing my cursors. I mean i want to show different cursors to my user. I want to give him a selectable option for the same. How do i go about with this. Can somebody help!!
Reply With Quote
  #2  
Old 06-11-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Customized Cursors for website

What you can do is probably create a new cursor file(.cur) or use one of the default cursor files, which can be located in Windows > Cursor folder, and place it in the same place as the page resides in your web package. Then you need to simply add the following code before the HEAD section of that page
Code:
<style>
<!--
BODY{
cursor:url("cursorName.cur");
}
-->
</style>
, where cursorName.cur is the name of the cursor file you want to display. Hope this is all that is required by you.
Reply With Quote
  #3  
Old 06-11-2009
Member
 
Join Date: Apr 2008
Posts: 242
Re: Customized Cursors for website

Yes that was Somewhat close to what was required, but is there some way by which i could just give some different cursors to different objects on the page?

Last edited by afidelino : 06-11-2009 at 11:50 AM.
Reply With Quote
  #4  
Old 06-11-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Customized Cursors for website

To change the cursor according to the object it moves over, what we can do is just put predefined cursor images on the page, then, depending on what cursor is selected, add the specific style code, like
Code:
<span style="cursor:pointer;cursor:wait">This span has a "wait" signal</span>
Post if anything else is required. Will be happy to help.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Customized Cursors for website"
Thread Thread Starter Forum Replies Last Post
Get Custom Cursors for Windows 7 64 bit Dolan Duck Customize Desktop 3 12-09-2012 03:33 PM
Types of Cursors in ADODB Jagdish Gada Software Development 4 28-11-2009 01:36 PM
Mac OS X Cursors for Windows XP Kiho Customize Desktop 6 12-08-2009 09:27 AM
HALO Cursors & Icons Preetish Customize Desktop 3 09-06-2009 07:48 PM
Vista cursors in XP banjoman Customize Desktop 3 08-06-2009 06:02 PM


All times are GMT +5.5. The time now is 04:32 PM.