![]() ![]() |
I added a new link to a page. but it is a link, even though I hover mouse on it, the mouse pointer doesn't change to Hand Shape. So user won't know it is clickable. One Thing: I don't want to underline the link. |
![]() ![]() |
my code: var elmNewContent = document.createElement('a');
|
![]() ![]() |
Set the elmNewContent.style.cursor property: |
![]() ![]() |
Is the link really completely empty? You might need some text to get it to behave like a link. |
![]() ![]() |
@Jefferson, no I have a text for that link. It is not empty. I just couldn't see the Hand shape when hovering over the text. |
![]() ![]() |
@mike, thanks for the tip. It works now :) but one question. as I am new , where should I learn how to create those html elements and setting the properties , etc in one place? pls share me the references that I can pick up those skills. Thanks advance. |
![]() ![]() |
Great, well that site I linked is a really good reference. Otherwise you can check out the Greasespot Wiki + look at scripts that do similar things to what you're attempting and the code of websites that use elements you want to learn about. |
![]() ![]() |
Thanks again Mike. I will check then link that you provided :) |



