Welcome Guest, Not a member yet? Register   Sign In
JavaScript link to images
#2

[eluser]pickupman[/eluser]
The image locations are relative to the css document, so you may have to edit the lightbox.css script to work up the tree to get to the image
Code:
.left-arrow{
background: url(../gfx/images/lightbox/left-arrow.gif);
}

This code goes up one folder from the css folder and then into the images/lightbox folder. Routes would only work for actual CI urls not file links. You would need to use mod_rewrite in .htaccess to create a rule like that.


Messages In This Thread
JavaScript link to images - by El Forum - 07-23-2010, 12:56 PM
JavaScript link to images - by El Forum - 07-24-2010, 06:50 PM
JavaScript link to images - by El Forum - 07-24-2010, 10:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB