Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Jan 2013, 01:39
Revenga Revenga is offline
 
Join Date: Mar 2012
Double click / single click

Hi,

Let's say I have Link-A that I want to redirect you to Link-B if you single-click on it. But if you double-click Link-A, it will redirect you to Link-C.

Is there any possible way to set this up?

- Revenga
Reply With Quote
  #2  
Old 19 Jan 2013, 11:39
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You'd have to use javascript, I think. There are 'click' and 'dblclick' events you can specify actions for, but it seems like you activate the click event even if you're in the middle of a double click, so you can't just use a simple function for each event. Here's a link to a stackoverflow page where someone asked about this: http://stackoverflow.com/questions/6...ick-separately but the answer uses jquery.
Reply With Quote
  #3  
Old 19 Jan 2013, 14:48
Revenga Revenga is offline
 
Join Date: Mar 2012
Alright. Thanks.

- Revenga
Reply With Quote
Reply



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:57.

Layout Options | Width: Wide Color: