Change background image based on folder structure

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.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jun 10th, 2008, 11:05
New Member
Join Date: Jan 2008
Location: North West England
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jun 10th, 2008, 11:07
New Member
Join Date: Jan 2008
Location: North West England
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Change background image based on folder structure

Forgot.... if it helps here is the url http://justcosmetics.preview1.co.uk/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jun 16th, 2008, 16:49
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,160
Blog Entries: 7
Thanks: 27
Thanked 19 Times in 16 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 22:02.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42