|
| |
| Dave Sussman | Asp.Net User |
| Re: Nesting Themes | 10/14/2005 8:43:31 AM |
0/0 | |
|
d
Alright,
flame me... I want to nest themes
Masterpages = positioning,
Themes = palette right? Well I don't want to do that. I want to
use css for positioning. Why? Because I can use 1 css file to
manage multiple masterpages. And even though the masterpages may not
implement all the pieces of the positioning css, I don't have reload the css
when I grab the next masterpage, which keeps my masters small. In
addition the overhead on coding positioning styles into multiple
masterpages that can be implemented once in a single css leads me to want to
do my positioning using css. Now, why nesting? Well because I want
a different palette but the same positioning. Now I can implement this
by adding my positioning css into each of my themes but really, if I could
nest themes... wouldn't have to.
Thoughts? Aaron
http://forums.asp.net/1082263/ShowPost.aspx
|
| akibbie | Asp.Net User |
| Re: Nesting Themes | 10/14/2005 3:24:42 PM |
0/0 | |
|
Hey Dave,
Good deal on the multiple css, glad to see a like mind. *grin*
I figured there was no nesting though hoped there might be a way, sigh. I current programmatically assigned themes in the PreInit method for a variety of things, masterpages, themes, browser types, etc... So thank you for offering code for programmatic theme management, you might want to post it for the sake of others who will read the article later but I'm doing well in that regard.
I see your point and I do that for images that I declare in aspx pages, because I have a reliable relative path structure to the images directory.
Dave I know you know the part I am about to write, because of the link you included above, this is for the sake of others who will read this post. Images which are referenced from a css file may be placed in disparte files which reside in disparate file structures resulting in multiple relative paths. This is why themes supports file structures within theme folders. So my previous point about images being a bother is that if I have say 10 images which are used through all my themes (eg button images like 'Go', 'Cancel', 'Next', etc...) I do not want to have them in each image folder under each theme. I would love to have a single image folder under the App_Themes directory that all the themes would look to for an image file if they can't find it in their own.
However, currently I have my navigation button images in each of my theme folders and consequently I have to update each one if/when it changes.
Well all in all I think this horse is dead. There are no nested themes. I think there should be. What do you think Dave?
Aaron
I find that the harder I work the more luck I seem to have. |
| Dave Sussman | Asp.Net User |
| Re: Nesting Themes | 10/14/2005 3:41:41 PM |
0/0 | |
|
With your central theme images, I'd just put them in the top level directory. That seems to be the best bet to avoid duplication.
I can sort of see where you are coming from with this nested idea, but I still think skins solve the problem; a default skin, and then named skins (which would equate to the sub-theme you want). You can create a directory for images for each skin. Of course, it doesn't solve the real problem, which is that you want different layout, which isn't supported by skins, as the CSS is at the theme level, not the skin level. You could, since you already have the PreInit handling, just detect the skin and change the stylesheet - that would be my solution.
Dave |
| akibbie | Asp.Net User |
| Re: Nesting Themes | 10/14/2005 5:52:33 PM |
0/0 | |
|
Hi Dave,
You know I wanted to make sure that I wasn't being daft before I replied again, so I went ad reread the article by Bill Evjen that you posted. After going through it again I would have to say that skins will work, but the effort involved to make them do it would be so, um not good.
The power of themes is that you can programmitaclly declare them in the PreInit giving a blanket feel. Yes you can do that with skins, but then I would have to itterate through all of the controls on my page and their WebParts, WebUserControls, etc to make sure the SkinID was set for the applicable controls. I really don't like that scenario, too much coding.
With nested themes you could declare your theme programmatically in the PreInit do no recursion and let it take care of the controls. <<ASP.Net Team, please make nested Themes!>>
I am really wondering where you would define which css would be loaded? I couldn't find that anywhere. It is my understanding that any css file that is in the theme folder is loaded if that theme is set for the content page. Which means I have no control over which css is loaded except by limiting the number of css files within a theme folder. Which would mean any palette defined in a css would be set by the last palette css loaded, not good again.
Dave if you do know now to programatically choose which css files in a theme are loaded/not loaded I would LOVE to know how. Having that knowledge would make me very happy.
Thanks Dave, Aaron I find that the harder I work the more luck I seem to have. |
|
| |
Free Download:
Books: Simultaneous Treatment of Parent and Child Authors: Saralea E. Chazan, Pages: 240, Published: 2003 Creating Unforgettable Characters: Practical Guide to Character Development in Films, TV Series, Advertisements, Novels and Short Stories Authors: Linda Seger, Pages: 239, Published: 1990 Dionysus in Literature: Essays on Literary Madness Authors: Branimir M. Rieger, Pages: 233, Published: 1994 Microsoft Expression Blend Bible: The Book You Need to Succeed! Authors: Gurdy Leete, Pages: 734, Published: 2007 10 More Actual, Official LSAT PrepTests Authors: Law School Admission Council, Law School Admission Council, Pages: 345, Published: 2002 The Evolution of Social Behavior in Insects and Arachnids Authors: Jae C. Choe, Bernard J. Crespi, Pages: 541, Published: 1997 Blogging For Dummies Authors: Brad Hill, Pages: 368, Published: 2006 Modality, Morality, and Belief: Essays in Honor of Ruth Barcan Marcus Authors: Ruth Barcan Marcus, Walter Sinnott-Armstrong, Diana Raffman, Nicholas Asher, Pages: 270, Published: 1995 The Eastern Screech Owl: Life History, Ecology, and Behavior in the Suburbs and Countryside Authors: Frederick R. Gehlbach, Pages: 302, Published: 1994 Web:Letter N Nest Theme Alphabet Preschool Lesson Plan Printable ... Letter N Nest theme alphabet lesson plan printable activities, crafts, and worksheets for preschool and Kindergarten. One Flew Over the Cuckoo's Nest (Themes): Information from Answers.com One Flew Over the Cuckoo's Nest (Themes) Contents: Introduction Author Biogxaphv Plot Summary Characters Style Historical Context Critical Overview. The Birds & the Bees: Nesting Theme Hostess with the Mostess wrote an article about Modern Nesting Themed Baby Showers for TheCradle.com. Adorable and very similar to the Bird & Bee's theme I ... Nest architecture and avian systematics | Auk, The | Find Articles ... The reason for the "nesting" of nest themes is that throughout evolutionary history, birds have met ecological challenges (e.g. changes in climate, ... THE FURNITURE :: Tasteful Solid Oak Nesting Tables, 'American ... This nesting table set includes two side tables from the American Themes collection. The style combines characteristic craftsman detailing with the warm oak ... One Flew Over the Cuckoo's Nest Themes essays One Flew Over the Cuckoo's Nest Themes. Ken Kesey’s novel, One Flew Over the Cuckoo’s Nest, is a very interesting yet disturbing account of the human psyche ... Russian Nesting Dolls: Religious Themes Russian Nesting Dolls - Religious Themes ... Set of 5 nesting boxes with carved window openings, 7" tall. $100.00 Click for more info (More Info) ... One Flew Over the Cuckoo's Nest Themes One Flew Over the Cuckoo's Nest themes and analysis. valentine's day wedding theme : Nesting Chrome Heart Salt and ... Nesting Chrome Heart Salt and Pepper Shakers:These chrome finish salt and pepper shakers are shaped like hearts. The salt shaker nests perfectly inside the ... Religious theme nesting dolls If you're a collector of religious nesting dolls and then look no further. We carry your favorite religious icon nesting dolls, such as a beautiful nativity ... Videos: Empty Nest Theme Opening theme from the final season. This one is from the Series Finale of the show. Robin's Nest - with Thames TV ident Richard O'Sullivan, Tessa Wyatt & Tony Britton starred in this ITV comedy from the late 70's / early 80's, which was set in a bistro.
Good zingy them... Empty Nest Theme the original Empty Theme from seasons 1-6 Banjo-Kazooie Music: Zubba's Nest Theme (Click Clock Wood) The theme when you enter the nest of the Zubbas in the spring and the summer.
Artist - Grant Kirkhope
Game - Banjo-Kazooie
Enjoy! Empty Nest Theme #2 empty nests KOF 2001: NESTS Team's Theme: NESTS, the Ruler of the Dark I guess this one fits too; in a weird, twisted way, Foxy and Diana are Kula's mothers - they do care for her and protect her. And I think the twisted... [My Top 15 Dungeon Themes] #11 LoL HQ: http://www.youtube.com/watch?v=83ybjyHrF8M&fmt=18
Please read the info~
Title: The Misty Nest
Game: Legend of Legaia
Composer: Michiru Oshima
_... WWE Diva ASHLEY MASSARO THEME #1 hottest chick ever! this is ashley massar os wwe theme no tiotntron available sorry tryied my nest ujnder 5 minutes qualcuno volò sul nido del cuculo theme piano one flew over the cuckoo's nest theme piano Crows Nest Episode One (Part Two) Part two from Mike Orts' Premiere of the Drama Series "Crows Nest" WARNING: CONTAINS THEMES OF INSANITY, REVENGE, AND HORROR |
|
Search This Site:
|
|