•
•
•
•
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
![]() |
•
•
Join Date: Jul 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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:
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??
A typical button in code looks like:
html Syntax (Toggle Plain Text)
<applet code="fphover.class" codebase="./" width="170" height="24"> <param name="color" value="#000080"> <param name="hovercolor" value="#0000FF"> <param name="textcolor" value="#FFFFFF"> <param name="text" value="Index"> <param name="effect" value="glow"> <param name="font" value="Dialog"> <param name="fontstyle" value="bold"> <param name="fontsize" value="14"> <param name="url" valuetype="ref" value="index.htm"> <param name="style" valuetype="cursor" value="hand"> </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
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
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
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.
•
•
Join Date: Aug 2006
Location: Noida, India
Posts: 152
Reputation:
Rep Power: 3
Solved Threads: 16
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.
•
•
•
•
<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">
Last edited by Troy III : Jul 14th, 2008 at 2:04 am.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- Drop down menu with images (JavaScript / DHTML / AJAX)
- Changing Mouse Cursor (JavaScript / DHTML / AJAX)
- table cells and hyperlinks! (HTML and CSS)
- Set Accessibility Features for People Who are Blind or Who Have Low Vision in WinXP (Windows tips 'n' tweaks)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Detect browser window closing event in Firefox -
- Next Thread: Where is event argument in F3


Linear Mode