LGforum (2804)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
Mr.Easybb (1586)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
Bloodbath (745)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
Rukiafan (533)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
Dom (513)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
puppycheese (446)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
pedro (330)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
Neymar (301)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
Hitsu (281)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 
Flora (275)
[PLUG-IN] Change right to left click, userpanel Vote_lcap[PLUG-IN] Change right to left click, userpanel Voting_bar[PLUG-IN] Change right to left click, userpanel Vote_rcap 


[PLUG-IN] Change right to left click, userpanel

ShadowShadow
Status : No status yet...

Posts : 232
Join date : 2011-11-09
Location : Serbia
Mon 11 Feb 2013, 14:18
Well changing the default right click to the left one its kinda nice because some people don't know that menu even exists:

Code:
avacweb_chat_config.user_hook.push(function(row) {
  var l = row.getElementsByTagName('a')[0];
  if(l) {
      l.setAttribute('onclick', 'if(event) event.preventDefault(); ' + l.getAttribute('oncontextmenu'));
      l.removeAttribute('oncontextmenu');
  }
});
Mr.EasybbMr.Easybb
Status : Love this site, that's why I'm back each day again... lol Samantha's co-owner now. Well deserved!

Posts : 1586
Join date : 2013-01-04
Mon 11 Feb 2013, 14:20
Very swell Idea Shadow. I am currently using this with both Left and Right click functions to bring down the Context Menu! Glad you thought of that man, truly deserves a thank!
avatarGuest
Mon 11 Feb 2013, 16:56
@Shadow wrote:[quotelink="http://www.avacweb.com/t923-plug-in-change-right-to-left-click-userpanel#8898"]Well changing the default right click to the left one its kinda nice because some people don't know that menu even exists:

Code:
avacweb_chat_config.user_hook.push(function(row) {
  var l = row.getElementsByTagName('a')[0];
  if(l) {
      l.setAttribute('onclick', 'if(event) event.preventDefault(); ' + l.getAttribute('oncontextmenu'));
      l.removeAttribute('oncontextmenu');
  }
});

SWEEET!!! LOVE IT!

Samantha.
AlexanderAlexander
Status : No status yet...

Posts : 154
Join date : 2012-08-03
Age : 27
Location : Suzhou, China
Mon 11 Feb 2013, 19:53
I'm among the people that don't even know this exists.

So...WHAT ARE WE YELLING ABOUT!?
puppycheesepuppycheese
Status : No status yet...

Posts : 446
Join date : 2013-02-12
Age : 27
Location : New Jersey
Sat 02 Mar 2013, 21:22
Nice Job shadow! Works great! Very great idea.
Pauu~Pauu~
Status : No status yet...

Posts : 36
Join date : 2013-04-04
Age : 28
Location : EspaƱa
Sat 15 Mar 2014, 19:27
NOt work to version 1-8 Sad
Sponsored content