1) Script Title: DD Drop Down Panel
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pdownpanel.htm
3) Describe problem: How do i change the pointerimage src to be relative to root directory?
I'll appreciated any help.
1) Script Title: DD Drop Down Panel
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pdownpanel.htm
3) Describe problem: How do i change the pointerimage src to be relative to root directory?
I'll appreciated any help.
Code:pointerimage: {enabled: true, src: ["../folderwithyourpics/arrow-down.gif", "../folderwithyourpics/arrow-up.gif"]},
Depending upon what you actually mean, Snookerman's response:
could work out for you, though it only looks one level above relative to the page. Since there is no way of knowing from what you've told us where your page(s) is/are, the technically correct answer is:
That will look from the root. If live, from the root of the domain. If this is a local page, from the root of the hard drive.Code:pointerimage: {enabled: true, src: ["/path_if_any_to/arrow-down.gif", "/path_if_any_to/arrow-up.gif"]},
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
"/Images/arrow-down.gif" is working.
Thanks
Last edited by Lior; 12-02-2008 at 08:27 PM.
Bookmarks