Advertisement:

Author Topic: Odabire Boje  (Read 3451 times)

Offline Razzorsi

  • Semi-Newbie
  • *
  • Posts: 53
Odabire Boje
« on: August 20, 2014, 07:54:42 AM »
Dobar Dan evo mene sa jos jednim pitanjem.

naime interesuje me / kako dodati boje u odabir, ali da one rade, ja sam uspeo da dodam, ali nikako da prorade, ili kao bi mogao da dodam celu paletu tipa kao sto je na phpbb forum verzijama.


tacnije uspem da dodam boju i da ona radi ali u odabiu nema imena kao sto je na slici




Offline Branko.

  • SMF Hero
  • ******
  • Posts: 3,330
  • Gender: Male
  • U zemlji slijepih, jednooki je kralj
    • SATForum
Re: Odabir Boje
« Reply #1 on: August 20, 2014, 03:44:52 PM »
Boje i pripadajući nazivi u editoru:
1. editor.js
Code: [Select]
// Color maps! (hex => name)2. Post.php jezičke datoteke
Code: [Select]
$txt['change_color'] = 'Change Color';
$txt['black'] = 'Black';
$txt['red'] = 'Red';
$txt['yellow'] = 'Yellow';
$txt['pink'] = 'Pink';
$txt['green'] = 'Green';
$txt['orange'] = 'Orange';
$txt['purple'] = 'Purple';
$txt['blue'] = 'Blue';
$txt['beige'] = 'Beige';
$txt['brown'] = 'Brown';
$txt['teal'] = 'Teal';
$txt['navy'] = 'Navy';
$txt['maroon'] = 'Maroon';
$txt['lime_green'] = 'Lime Green';
$txt['white'] = 'White';
3. GenericControls.template za prikazivanje boja
Code: [Select]
// Print a drop down list for all the colors we allow!
Pretpostavljam da ćeš se snaći .... :)
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Offline Razzorsi

  • Semi-Newbie
  • *
  • Posts: 53
Re: Odabire Boje
« Reply #2 on: August 21, 2014, 04:24:44 AM »
Branko hvala na ovoj dosta velikoj pomoci

Offline Branko.

  • SMF Hero
  • ******
  • Posts: 3,330
  • Gender: Male
  • U zemlji slijepih, jednooki je kralj
    • SATForum
Re: Odabire Boje
« Reply #3 on: August 21, 2014, 05:33:58 AM »
Nema na čemu  :) .. i javi nam jesi li uspio.

Preporuka: Koristi standardizovane boje i nazive sa ovih linkova:
http://www.w3schools.com/cssref/css_colornames.asp
http://www.w3schools.com/cssref/css_colorsfull.asp

Imaj u vidu da su 140 imena boja definisana u HTML i CSS specifikacijama boja i njih podržavaju svi browseri
- 17 standardnih boja su:aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, i yellow.
- dodatnih 123 ćeš naći na gornjim linkovima
Strong people don't put others down, they lift them up.
A clever person solves a problem. A wise person avoids it.

Offline Venera

  • Full Member
  • ***
  • Posts: 479
  • Gender: Female
    • 232678563437136 on Facebook
    • Venerin san
Re: Odabire Boje
« Reply #4 on: August 22, 2014, 01:37:53 AM »
U kombinaciji sa ovim modom http://custom.simplemachines.org/mods/index.php?mod=1624 možeš dobiti jako lep efekat da se svaka boja vidi na spisku onakva kakava jeste.   :)

Offline Razzorsi

  • Semi-Newbie
  • *
  • Posts: 53
Re: Odabire Boje
« Reply #5 on: September 06, 2014, 12:54:06 PM »
Hvala Branko i Venera , ipak stvarno nebih znao sta bi bez smf zajednice.
« Last Edit: September 06, 2014, 02:21:40 PM by Branko. »