/    Sign up×
Community /Pin to ProfileBookmark

Can I let members choose their skin?

Can I make a bunch of different stylesheets(skins) for the same profile.php page, then give members a link to change their profile skin? Where they can then pick from many?

Where would I begin coding this? PHP and CSS?

Thanks

to post a comment
CSS

7 Comments(s)

Copy linkTweet thisAlerts:
@mshalabiOct 25.2006 — yes u can call different css files via javascript..

here is js code
var oLink = document.createElement("link")

oLink.href = "cssfile.css";

oLink.rel = "stylesheet";

oLink.type = "text/css";

document.body.appendChild(oLink);
[/QUOTE]
Copy linkTweet thisAlerts:
@WebjedikungfuauthorOct 25.2006 — thanks mshalabi.

Does that code go in the head of the page to be skinned?

How does their selection get saved?

Would I have to save their .CSS selection in my database? I'm not sure how to call it to the page upon their next visit.

Where and how does the switch take place? I still fail to understand? But I'll hold on to that code. thanx

Does anybody know of a resource or tutorial where I could learn about making css templates? For letting my members change the skin on their profile
Copy linkTweet thisAlerts:
@MoridinOct 25.2006 — Use a free script which gives more explanation and support for the specific script etc.

Go [url=http://www.google.com/search?hl=en&q=javascript+change+style&btnG=Google+Search]here[/url] or [url=http://hotscripts.com/search/12549945.html]here[/url] for an example.

  • - [b]Moridin[/b]
  • Copy linkTweet thisAlerts:
    @WebjedikungfuauthorOct 25.2006 — good googlage my friend, I googled for like 30 min.

    I guess my queries were all wrong. Thanks for the links Moridin
    Copy linkTweet thisAlerts:
    @KravvitzOct 25.2006 — [url=http://www.google.com/search?q=alternative+stylesheet+%7Eswitcher]Check these out too.[/url]
    Copy linkTweet thisAlerts:
    @WebjedikungfuauthorOct 25.2006 — Oh man, that is on the money. I guess you have to know what to search for to be effective.

    Thanks a million Kravvitz
    Copy linkTweet thisAlerts:
    @KravvitzOct 25.2006 — Yeah, knowing the right keywords is very important.

    You're welcome ?
    ×

    Success!

    Help @Webjedikungfu spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.5,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...