inherit
AddonChat Assistant
22379
0
Sept 22, 2019 17:23:35 GMT -8
Greg
Bringing friends and aquaintances back together
4,704
April 2004
lyqos
|
Post by Greg on Jul 8, 2009 15:10:21 GMT -8
I've looked and can't find this code if it exists.
Request: To be able to click the image (avatar) in our profile or mini profile to open in another page (target="_blank"). Also no border.
Reason: Some people like to use a nice "larger" format of themselves for their profiles. This helps to see the image better with a single click.
I myself have been known to drag the image up to the browser to look at these images. I think it would be nice for others to simply click the image.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 8, 2009 17:12:47 GMT -8
I haven't really tested this since it leverages a code already known to work <script type="text/javascript"> <!-- /* miniprofile switch-it by california */
var iCell = document.getElementsByTagName("td"); function mpSwitch(m1,m2){ for(m=0;m<iCell.length;m++){ var c = iCell[m].innerHTML; if(iCell[m].width=="20%" && c.match(/Posts:/) && iCell[m].className.match(/owbg/) && c.match(m1)){ iCell[m].innerHTML = c.replace(m1,m2); } } }
if(location.href.match(/on=(display|search2|viewpr|(user)?rece|calendarvi)/)){
mpSwitch(/<img [^<]+?\[avatar\].*?\/?>/i,function(m){ var s=m.match(/src=([^\s>]+)/i)[1] return '<a target="_blank" href='+s+'>'+m+'</a>' }); }
// --> </script>
|
|
inherit
AddonChat Assistant
22379
0
Sept 22, 2019 17:23:35 GMT -8
Greg
Bringing friends and aquaintances back together
4,704
April 2004
lyqos
|
Post by Greg on Jul 8, 2009 17:32:03 GMT -8
Works for me. Thank you very much EB I assume it was to go in the Global Footer? That's where I placed it.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 8, 2009 20:22:43 GMT -8
You're welcome Yep, Global footer I would however test it in at least Safari and Opera first before committing to it
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Jul 9, 2009 9:47:50 GMT -8
You're welcome Yep, Global footer I would however test it in at least Safari and Opera first before committing to it Confirming it Does Work in Safari I just now tested it.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Jul 9, 2009 19:46:40 GMT -8
Thanks Richie
|
|