I have a script that switches background image on hover:
$('div#example').hover(function(){
$(this).css('background',"url('images/bg_2.png') no-repeat bottom");
});
I am using a WAMP development environment, and this works fine if the url I use is either:
localhost/example/web
-or- localhost/example/web/frontend_dev.php
However, if I use localhost/example/web/frontend_dev.php/
, (added slash at end) the image no longer loads? What is going on?
Thanks.
Additional info:
- For the 'effected' case-scenario, all images set through CSS work fine (only images referenced through JS have problems). Favicon Does NOT load either, for some reason.
- localhost/web/ works fine