User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,923 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,725 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 770 | Replies: 3
Reply
Join Date: Jul 2008
Posts: 1
Reputation: theobakker is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
theobakker theobakker is offline Offline
Newbie Poster

change cursor from pointer to hand

  #1  
Jul 13th, 2008
I use FP2000 as a html-editor. My navigation bars show hover buttons, but no way the cursor changes to a hand over these buttons. I tried several changes to the code but lack of knowledge keep me from results.
A typical button in code looks like:

  1. <applet code="fphover.class" codebase="./" width="170" height="24">
  2. <param name="color" value="#000080">
  3. <param name="hovercolor" value="#0000FF">
  4. <param name="textcolor" value="#FFFFFF">
  5. <param name="text" value="Index">
  6. <param name="effect" value="glow">
  7. <param name="font" value="Dialog">
  8. <param name="fontstyle" value="bold">
  9. <param name="fontsize" value="14">
  10. <param name="url" valuetype="ref" value="index.htm">
  11. <param name="style" valuetype="cursor" value="hand">
  12. </applet>

I tried a new parameter (as the last line, in numerous versions) and as html in the first line, nothing helps. Hav a look at the testpage: http://www.theobakker.net/zoomify2.htm
How can it be done??
Last edited by peter_budo : Jul 14th, 2008 at 6:59 am. Reason: Keep It Organized - please use [code] tags
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2008
Posts: 3
Reputation: shab.s3udi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shab.s3udi shab.s3udi is offline Offline
Newbie Poster

Re: change cursor from pointer to hand

  #2  
Jul 13th, 2008
I think it's impossible to do it in attributes or params.

You have to re-compile your applet's Class before including it within html page.

More details are given here:

http://java.sun.com/docs/books/faq/s...orExample.html
Last edited by shab.s3udi : Jul 13th, 2008 at 4:29 pm.
Reply With Quote  
Join Date: Aug 2006
Location: Noida, India
Posts: 152
Reputation: Luckychap is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 16
Luckychap's Avatar
Luckychap Luckychap is offline Offline
Junior Poster

Re: change cursor from pointer to hand

  #3  
Jul 14th, 2008
Put ur applet in a seperate div or span and on their onmouseover and onmouseout events write a javascript function to change cursor.

<span onmouseover="changeToPointer();" onmouseout="changeToHand();">
<applet.....
.
.
.
.
</applet>
</span>
Last edited by Luckychap : Jul 14th, 2008 at 12:44 am.
When you think you have done a lot, then be ready for YOUR downfall.
Reply With Quote  
Join Date: Jun 2008
Posts: 65
Reputation: Troy III is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
Troy III's Avatar
Troy III Troy III is offline Offline
Junior Poster in Training

Re: change cursor from pointer to hand

  #4  
Jul 14th, 2008
<param name="style" valuetype="cursor" value="hand">

I don't know if your applet suports that but I suggest you to change it into this:

<param name="style" valuetype="cursor" value="pointer">

or more probably:
<param name="cursor" value="pointer">

This should do the trick in case it supports tee syling of cursors.
You might wan't to add this for older IE's to.
<param name="cursor" value="hand">
Cheers
Last edited by Troy III : Jul 14th, 2008 at 2:04 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 8:17 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC