CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 28th, 2003, 01:53 PM
thereeper thereeper is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 thereeper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Help Please, CSS Themes

On my Index Page, I have a link for three secondary indexes.

One each I want to use a seperate CSS so each one will give my site a different color scheme. The secondary pages, have an inline frame, so I put the
Page1:
<LINK REL=STYLESHEET TYPE="text/css"
HREF="http://www.mysite.com/1.css">
Page2:
<LINK REL=STYLESHEET TYPE="text/css"
HREF="http://www.mysite.com/2.css">
Page3:
<LINK REL=STYLESHEET TYPE="text/css"
HREF="http://www.mysite.com/3.css">

in the style part. It changes the secondary index, but when I click links, the inline frame does not have the CSS colors. I could go to every single page, and put the css in manually, but then I would have to do this 3 times for each different color scheme.( I do not want to have 3 different copies of all the files on my site, since updating would take too much time, but I do want 2 different secondary indexs that give all the other files that are in the inline frame, 3 sets of different colors (or themes)) So is there anyway to get the inline frame to take on the CSS of it's parent page?

Javascript has been suggest to detect the parent's style, but none of it I tried was successfull.

Please help.

Reply With Quote
  #2  
Old November 28th, 2003, 01:57 PM
yessir's Avatar
yessir yessir is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 265 yessir User rank is Sergeant (500 - 2000 Reputation Level)yessir User rank is Sergeant (500 - 2000 Reputation Level)yessir User rank is Sergeant (500 - 2000 Reputation Level)yessir User rank is Sergeant (500 - 2000 Reputation Level)yessir User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 4 h 1 m
Reputation Power: 10
trap the css in a session variable and link to the css off of the session variable

Reply With Quote
  #3  
Old November 28th, 2003, 02:13 PM
thereeper thereeper is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 thereeper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by yessir
trap the css in a session variable and link to the css off of the session variable


how would I do that? hehe

lil more info:

URL

when you go through the html (last part of head), you can see that one links for the first css URL

The page itself takes on the css colors, but any inlineframes do not. I tried puting just default white pages with default text, and they didn't take on the parent page's css. I'm prepared to change every inline frames html, but I need it to work when I make 3 different indexs. Because I know I could just put the css directly into each page or link it, but then I would have only one color scheme, instead of the three I want to be choosable on the index (since it's linked to 3 different secondary indexes with their own css files)..

(I put a colorless test page on the upperight) Thanks

Last edited by thereeper : December 1st, 2003 at 12:48 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Help Please, CSS Themes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway