OpenBC UserImages MouseOver

By louis Last update Jun 6, 2007 — Installed 2,409 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 6 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
bdrain User

thanks. that works fine, ingooooooo!

 
ingooooooo User

To make it work with the new image urls, replace line 37:

var s = imgName.search(/\/img\/users\/.+\_s(1|2|3)?\.(jpg|gif|png)$/);

by

var s = imgName.search(/\/img\/users\/.+\_s(1|2|3)?(,(\d+))?\.(jpg|gif|png)$/);

and line 47:

				newImg.src=this.src.replace(/\_s(1|2|3)?\./, ".");

by

				newImg.src=this.src.replace(/\_s(1|2|3)?/, "");

 
bdrain User

xing changed some user image links. unfortunately these links dont work with this script...

 
louis Script's Author

Updated the script with Nobbys suggestions.

 
Nobby Scriptwright

If you want to make the script work with every type of thumb on XING, replace "s2?" with "s(1|2|3)?" everywhere in the script. Perhaps Louis can update his script here.

Regards, Norbert

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel