View Single Post
Old 05-25-2011, 05:32 AM   PM User | #11
oVTech
Regular Coder

 
oVTech's Avatar
 
Join Date: Nov 2010
Location: USA
Posts: 296
Thanks: 4
Thanked 54 Times in 52 Posts
oVTech is an unknown quantity at this point
Quote:
Originally Posted by Wild_Fire126 View Post
---
Maybe something like this will work for you, but if you want it to pop up in a new window, you must use window.open(). It validates just fine, however you should make a function so it isn't inline.

Code:

<div style="cursor: pointer; color: blue; text-decoration: underline;" onclick="location.href='http://www.google.com/'">content</div>
As a reminder... if JS is off, this will not do anything!
Good luck!
__________________




I don't know, I don't care, and it doesn't make any difference!
-Albert Einstein-




Last edited by oVTech; 05-25-2011 at 05:41 AM..
oVTech is offline   Reply With Quote