TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 777
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 96
  • Total: 96

Ok guys can any of you help me.

Started by Wartog, July 31, 2006, 10:11:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wartog

Can some one give me the html code i would need to do this.

I want to have a input box where you type in a color.
for this code.

.loginbarbg{
  background-color: black;
}

then when you hit submit
it will come back showing the code with the color changed.

like you input the color red and hit send, the code comes back so I can cut it displaying

.loginbarbg{
  background-color: red;
}

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Wartog

This is what Im going for.
http://www.poqbum.com/ProfileEditor/index

I want to build something like that

Techdomain

I am guessing you want php so you can put it into a smf/tp file?

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes




Techdomain

so thats all you want, is a colour chooser/preview?

I tried, but gave up when IE and FF decided to play that game completely differently...

Wartog

Yeah want it to say Choose your color. users types in color
presses send and page reloads with the code.

gerrymo

I havent seen what you're looking for. But you can make a colour selector using Javascript. Have a look at this page. http://www.pageresource.com/jscript/jbutton.htm

Wartog

Yeah that is sorta what I am looking for, except I dont want to add 50 buttons to add 50 colors. lol

I do appreciate the help tho guys.

This website is proudly hosted on Crocweb Cloud Website Hosting.