Loading assets (js, css, ...) |
[eluser]Pascal Kriete[/eluser]
[quote author="Seppo" date="1223233554"]... if you have the relative path in the JS and you don't want to change it, you can use "base" tag[/quote] When javascript sees this: Code: fileBottomNavCloseImage: 'images/closelabel.gif',
[eluser]Dauntless[/eluser]
Owh, I must have read over that line; sorry. I tried it, but no go: Code: <head> It's still looking for /user/images/closelabel_gif
[eluser]manilodisan[/eluser]
In your header: Code: <s\cript type="text/javascript"> Code: In your javascript files where you need absolute url's: Can you believe the XSS filtering here.....
[eluser]Dauntless[/eluser]
But that would, once again, make me go through the entire lightbox script and look for paths ... I'll try it (hoping it will only be the images), but hasn't anyone else tried implementing LightBox ?
[eluser]manilodisan[/eluser]
[quote author="Dauntless" date="1223255150"]But that would, once again, make me go through the entire lightbox script and look for paths ... I'll try it (hoping it will only be the images), but hasn't anyone else tried implementing LightBox ?[/quote] Yes I did...it's only 1 path at the start of the file...
[eluser]Dauntless[/eluser]
Alright, Thanks! I've adjusted the 2 paths at the beginning and it appears to be working. Thank you, Manilodisan for giving the final answer, and to every body else who helped out |
Welcome Guest, Not a member yet? Register Sign In |