Results 1 to 2 of 2

Thread: Site skin trouble!

  1. #1
    Join Date
    Mar 2007
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Site skin trouble!

    Okay here are my problems:

    1) I don't know the script (or any javascript) for making a site skinnable!

    2) My PHP coding says <?php include("navigation.php") ?>. Navigation.php is where the skin scripting would go. But on my page, the navigation bar has been made from an image map and will also have to be changed. So if I skin it telling it to read another style sheet, it will change the colors from green to what ever color the user chooses but the navigation bar will remain green because that code is in navigation.php, not the style sheet.

    Am I making sense? If so please help me around this problem. If not, ask and I'll explain.

    If you need to see my site for reference, then go to http://cyanideperfection.net/
    Last edited by lord_havoc; 04-13-2007 at 02:51 AM. Reason: Wrong terminology

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    In navigation.php do you have any classes that are being referenced in your stylesheet? If not, simply make a few classes in nav.php, then reference them in your stylesheet. Then, once the user changes styles, the navigation should change as well.

    (PHP include only includes the source of whatever file you are including into the original document. So all you should have to do is what I suggested above).

    Hope this makes sense and helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •