-
☆ A M B ☆
- 24,524 Posts
The path to the image goes there; it will be relative to the index.php file that is the origin of every page generated by MODx.
For example, I use Evo, so most of my template images (backgrounds and such) are in assets/templates/template-name/images. However, you can put images anywhere you like; if you are unsure about the path thing just make a folder in your web root name images to put the image in, and the path will be as you’ve posted.
Still don’t work.
When i’m using some simple JS scripts. It is working.
But with that plugin no.
Trying to solve...
-
☆ A M B ☆
- 24,524 Posts
Are you sure you have the <BODY class="bgStretcher"> tag in your template’s HTML? If you’re using XHTML it should be in lower case, both the <body ...> tag and the Javascript function. You also have to load the required javascript library somewhere before that code you’ve posted (with paths edited to correctly reflect the actual location of the javascript and css files).
<script type="text/javascript" src="../jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="../bgstretcher.js"></script>
<link rel="stylesheet" href="../bgstretcher.css" />
http://www.ajaxblender.com/bgstretcher-2-jquery-stretch-background-plugin-updated.html
-
☆ A M B ☆
- 24,524 Posts
Then would you please add [SOLVED] to the subject of this thread?