This is a discussion on "Change background image based on folder structure" within the Classic ASP section. This forum, and the thread "Change background image based on folder structure are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Change background image based on folder structure
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Change background image based on folder structure
I'm using cactushop V6 with fake links on
I want to have a different background image set for each main category of my website I have put this together using the body class set in the css file based on the category ID (cat_ID) BUT!!! when fake urls are switched on it doesn't work!!! How can I get this to work based on the folder structure that appears in the url. Many grovelling thanks in advance!! Linzi |
|
|
|
#2
|
|||
|
|||
|
Re: Change background image based on folder structure
Forgot.... if it helps here is the url http://justcosmetics.preview1.co.uk/
|
|
#3
|
||||
|
||||
|
Re: Change background image based on folder structure
Hi....
Just make sure you reference each image using a full resources.... eg:- http://www.yoursite.com/images/myimage.jpg Does that make sense?
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Background colour change. | A800 | JavaScript Forum | 4 | Jun 6th, 2008 12:16 |
| Change Background colour based on input | smudge618 | JavaScript Forum | 2 | Feb 6th, 2008 11:55 |
| [SOLVED] Change div background on hover of another element | Aso | JavaScript Forum | 10 | Dec 8th, 2007 11:08 |
| Time based image display | christopher | JavaScript Forum | 1 | Apr 19th, 2006 16:55 |
| A way to change background color of a menu list | gohankid77 | Web Page Design | 1 | Oct 12th, 2004 10:14 |