• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Making a dynamic Style sheet, suggestions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a dynamic Style sheet, suggestions


  • Subject: Making a dynamic Style sheet, suggestions
  • From: Amedeo Mantica <email@hidden>
  • Date: Mon, 20 Feb 2006 13:19:46 +0100

Hello, I need to change same text colors and other site parts depending on the section...

I have done a webobject component that u use in partial mode and i have putted inside it my css source code.... using WOString for controlling parameters...

like this:

.leftMenu a:link, .leftMenu a:visited { color: <webobject name="linkColor"></webobject>; background: <webobject name="linkBgColor"></webobject>; } .leftMenu a:hover, .leftMenu a:focus, .leftMenu a:active { background: white; color: <webobject name="hoverColor"></webobject>;}


then i put this in my page using WOSwitchComponent inside the page header.
Works perfeclty, but seem to be dirty... there are other clean solutions?

THANKS
Amedeo


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Postgresql + booleans = error
  • Next by Date: Re: Detecting a deleted object
  • Previous by thread: Re: Deleting Flattened Relationships
  • Next by thread: Adding Toolbar in Java Client
  • Index(es):
    • Date
    • Thread