[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Bij multiple select werkt disable-option in IE niet?
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Bij multiple select werkt disable-option in IE niet?

Het echte opmaakwerk, alles vragen over HTMLen, CSSen en Javascripten.

Bij multiple select werkt disable-option in IE niet?

Berichtdoor Robin » 31 mei 2006 20:54

Als ik het volgende script geschreven:

[code="html"]<select multiple="multiple" name="selectforum[]" size="11">
<option disabled="disabled">Centrum</option>
<option value="2">-- Public Service Announcements</option>
<option value="3">-- De Doktor</option>
<option value="6">-- Welkom op PE</option>
<option disabled="disabled">Nederhipperdiehop</option>
<option value="8">-- Nieuwsstation</option>
<option value="9">-- Discussie</option>
<option disabled="disabled">The Hood</option>
<option value="4">-- Het Jeugdhonk</option>
<option value="5">-- Het Buurthuis</option>
<option value="7">-- Media-ish</option>
</select>

[/code]

In FF werkt het perfect, de disable-de options verschijnen gewoon mooi in het grijs en zijn niet selectable, maar in IE lijkt het niet te werken. Ze zijn bij mij niet grijs en zijn gewoon selectable.

Hier kan je het zelf bekijken:
*knip*

Is dit op te lossen? En zo ja, hoe dan? Ik heb ernaar gegoogled, maar ik heb er niets over gevonden.
Laatst bijgewerkt door Robin op 01 jan 1970 01:00, in totaal 1 keer bewerkt.
Avatar gebruiker
Robin
wmpr
 
Berichten: 66
Geregistreerd: 29 sep 2005 20:30
Woonplaats: Amsterdam

Re: Bij multiple select werkt disable-option in IE niet?

Berichtdoor LinkinTED » 31 mei 2006 21:53

[code="html"]<select multiple="multiple" name="selectforum[]" size="11">
<optgroup label="Centrum">
<option value="2">-- Public Service Announcements</option>
<option value="3">-- De Doktor</option>
<option value="6">-- Welkom op PE</option>
</optgroup>
<optgroup label="Nederhipperdiehop">
<option value="8">-- Nieuwsstation</option>
<option value="9">-- Discussie</option>
</optgroup>
<optgroup label="The Hood">
<option value="4">-- Het Jeugdhonk</option>
<option value="5">-- Het Buurthuis</option>
<option value="7">-- Media-ish</option>
</optgroup>
</select>[/code]
Slicer nodig? ( xHTML | CSS | Semantische opbouw | Div )
http://www.iSlice.nl/
Avatar gebruiker
LinkinTED
wmpr
 
Berichten: 131
Geregistreerd: 14 jan 2006 16:47

Re: Bij multiple select werkt disable-option in IE niet?

Berichtdoor Robin » 31 mei 2006 22:08

Bedankt, het werkt.

Ik probeer alleen nog de display aan te passen, maar dat gaat nog niet helemaal goed:

[code="css"]optgroup.opt
{
text-decoration: none; // Doet hij niets mee, het blijft schuingedrukt
color: #800000;
background-color: #D9D9D9;
}[/code]

Nu wordt alleen het hele blokje grijs... ik wil dat alleen die ene lijn die gedisabled is grijs wordt.
Avatar gebruiker
Robin
wmpr
 
Berichten: 66
Geregistreerd: 29 sep 2005 20:30
Woonplaats: Amsterdam

Re: Bij multiple select werkt disable-option in IE niet?

Berichtdoor LinkinTED » 01 jun 2006 15:56

Italic stel je in via font-style.

Het is logisch dat het hele blokje grijs wordt aangezien de options in de optgroup zitten. Een oplossing is om de options ook een achtergrondkleur te geven.


Dan wordt het dus:

[code="css"]optgroup.opt
{
font-syle: nomal; // Nu werkt het dus wel Wink
color: #800000;
background: #D9D9D9;
}
optgroup.opt option {
background: #fff; // Aanpassen naar gewenste kleur.
}
[/code]
Slicer nodig? ( xHTML | CSS | Semantische opbouw | Div )
http://www.iSlice.nl/
Avatar gebruiker
LinkinTED
wmpr
 
Berichten: 131
Geregistreerd: 14 jan 2006 16:47

Re: Bij multiple select werkt disable-option in IE niet?

Berichtdoor Robin » 01 jun 2006 16:21

Bedankt, in FF werkt het. Maar in IE veranderd de stijl niet:
*knip*
Laatst bijgewerkt door Robin op 01 jan 1970 01:00, in totaal 2 keer bewerkt.
Avatar gebruiker
Robin
wmpr
 
Berichten: 66
Geregistreerd: 29 sep 2005 20:30
Woonplaats: Amsterdam

Re: Bij multiple select werkt disable-option in IE niet?

Berichtdoor mats » 01 jun 2006 17:11

Ik zie in ie zoals ik het in ff zie
Avatar gebruiker
mats
wmpr
 
Berichten: 3748
Geregistreerd: 19 sep 2004 12:00

Re: Bij multiple select werkt disable-option in IE niet?

Berichtdoor LinkinTED » 01 jun 2006 17:48

IE (6-) accepteert volgens mij geen styles voor opt(group|ion).
Slicer nodig? ( xHTML | CSS | Semantische opbouw | Div )
http://www.iSlice.nl/
Avatar gebruiker
LinkinTED
wmpr
 
Berichten: 131
Geregistreerd: 14 jan 2006 16:47

Re: Bij multiple select werkt disable-option in IE niet?

Berichtdoor Robin » 02 jun 2006 20:58

Avatar gebruiker
Robin
wmpr
 
Berichten: 66
Geregistreerd: 29 sep 2005 20:30
Woonplaats: Amsterdam


Keer terug naar HTML, CSS, Javascript



cron