![]() |
Adding Class with javascript(picture inside the div wont show up)
To better understand what i am trying to do click here to view my page.
The backgorund image for the child div to #lightcube is not showing up. its supposed to be a arrow that is positioned in the center of the uparrow class. Please this has been driving me nuts and any help would be greatly appreciated. here is the script Code:
$(document).ready(function() { |
Do you mean #lightbox as opposed to #lightcube?
If so, then the problem seems to be that there is no child element to #lightbox. If not, then the problem seems to be that there is no element with the #lightcube ID. |
The class .uparrow is nested inside of the the div #lightcube. the background image of the uparrow class is not showing up.
|
Code:
<style> |
OK, #lightcube now exists in the page but the image location provided returns a 404 error.
You either have the wrong path, the wrong file name, or you have moved/deleted your image by mistake. Turns out, after some poking around, that your path was wrong. You had this: Code:
../images/arrowup.pngCode:
./images/arrowup.pngYou just need to update your CSS with that change and your arrow will appear as intended. |
| All times are GMT +1. The time now is 02:45 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.