Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Jquery Hover Image <img /> Not background Re: Jquery Hover Image Not background

#74327
web2works
Member

I see the problem and why it work on localhost with no . in the domain name.

http://dev.web2works.co.uk/thefcdeli/image/linkedin_logo.png

Where as it is using:
http://dev_on.web2works_on.co_on.uk/thefcdeli/image/linkedin_logo_on.png

How could I make this work to just look for the image name after the last / of the src in the image? I am not very good with regular expressions if you can help me out please.