FFixer

By Vaughan Chandler Last update Mar 9, 2011 — Installed 14,795,660 times.

Big Profile Pictures for another site ?

in
Subscribe to Big Profile Pictures for another site ? 7 posts, 2 voices



toLGa User

Hi Vaughan,

I need some help to make a big profile picture script for another site. If you have time can you help me ?

 
Vaughan Chan... Script's Author

Hi, The best thing would be for you to look at the code in this script. The basic idea behind the way it works in this script is I add an event listener to the window like: window.addEventListener('mouseover', function(e){}, false);
The function that gets calls then determines if the mouseover occurred over an image: if (e.target.tagName=='IMG') {}
From there you can use a replace function to get the new url for the image.
This script adds a div to the page for displaying the bigger version, so the mouseover function will also add the bigger image to that div and make the div visible.

 
toLGa User

i tried too much but couldnt achieve :( thanks for your advice. if you can make it , i will be very grateful

 
Vaughan Chan... Script's Author

What site are you trying to make it for?

 
toLGa User

www.yonja.com

 
toLGa User

@vaughan

did you make anything ?

 
Vaughan Chan... Script's Author

Not yet, haven't had a chance. If I write something I'll update this thread to let you know.

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