optikalefx Posted March 15, 2008 Share Posted March 15, 2008 so we go ahead and do document.addEventListener('click',myfunc,true); and then we do function myfunc(e) { and we can do alert(e.target.property) } so what i need to be able to do, is find out what font the text you click on is. and element.style.fontFamily wont work if there is no fontFamily present. So that means its in default font. which is what? javascripts gotta have something up its sleve (btw, same problem for font size, how do i know what size something is) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.