Autor Beitrag
DD
ontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 41

Win 2000
D6 Pers
BeitragVerfasst: Di 28.10.03 11:52 
Morgen auch.
Ich vermute ihr alle wisst, was der Alternativtext ist (kleiner Kommentar in gelbem Kästchen, der erscheint, wenn man mit der Maus über ein Image fährt).
Meine Frage nun: Lässt sich der Stil dieses Alternativtextes ändern? Sprich andere Farbe (nicht dieses komische gelb) oder andere Schriftart?

Wäre für jedwege Information sehr dankbar.
MfG DD

_________________
Never change a running system!
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Di 28.10.03 12:18 
Hi,

versuchs mal mit

ausblenden Delphi-Quelltext
1:
  Application.HintColor := clRed; // oder halt ne andere Farbe :D					


mfG
mirage228

_________________
May the source be with you, stranger.
Alfons-G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 307

Win XP Prof, Linux, Win 7
D5 Prof, D7 Architect, D2005 Architect, D2007 Architect
BeitragVerfasst: Di 28.10.03 12:19 
Das geht nicht, denn dieses gelbe Fensterchen wird vom Browser in eigener Verantwortung erzeugt.
Ganz abgesehen davon, entsprechen die gelben Fensterchen (= Windows-Standard-Hints) auch in keiner Weise dem HTML-Standard. Der ALT-Text soll eigentlich nur angezeigt werden, wenn der verwendete Browser keine Bilder anzeigen kann, bzw. diese Option abgeschaltet ist.
Deshalb zeigen neuere Opera- und Netscape-Versionen diese Texte auch (richtigerweise) nicht an. Zur Anzeige solcher Fenster soll ein normgerechter Browser stattdessen das TITLE-Tag auswerten. Dieses wird von neueren Browsern unterstützt.

_________________
Alfons Grünewald
Alfons-G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 307

Win XP Prof, Linux, Win 7
D5 Prof, D7 Architect, D2005 Architect, D2007 Architect
BeitragVerfasst: Di 28.10.03 12:20 
UPPS, ich war jetzt in Gedanken :oops: bei HTML-Tooltips gewesen ...

:roll:

_________________
Alfons Grünewald
DD Threadstarter
ontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 41

Win 2000
D6 Pers
BeitragVerfasst: Di 28.10.03 12:31 
Alfons-G hat folgendes geschrieben:
UPPS, ich war jetzt in Gedanken :oops: bei HTML-Tooltips gewesen ...

:roll:


Deine Antwort war aber die die ich wollte. War ne html-Frage.
Danke schön.

Greetz DD

_________________
Never change a running system!
Ja-Pa
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 458

Win XP, Suse 9.3
D1, D3, D5 Std, D7 Pro, D2005 Pers, Kylix 3
BeitragVerfasst: Mi 29.10.03 12:48 
Es geht aber (zumindest im IE) auch, den Stil des Alternativetextes verändern.
Beispiel: www.nightfire.ch
Ich vermute, das das mit einem CSS-Script oder so was gemacht wird.

_________________
Der Autor dieses Textes haftet nicht für Schäden an Soft- oder Hardware
oder Vermögensschäden, die durch das Benutzen des Textes entstehen.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mi 29.10.03 16:11 
Ja-Pa hat folgendes geschrieben:
Es geht aber (zumindest im IE) auch, den Stil des Alternativetextes verändern.
Beispiel: www.nightfire.ch
Ich vermute, das das mit einem CSS-Script oder so was gemacht wird.


das ist kein Hint, sondern ein <div>, der sich mit der Maus bewegt, wenn der Zeiger über dem Link ist...

Stefan

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
Ja-Pa
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 458

Win XP, Suse 9.3
D1, D3, D5 Std, D7 Pro, D2005 Pers, Kylix 3
BeitragVerfasst: Mi 29.10.03 22:37 
Aaah! Gute Idee. Ich schaue nicht immer in den Quelltexten nach :wink:

_________________
Der Autor dieses Textes haftet nicht für Schäden an Soft- oder Hardware
oder Vermögensschäden, die durch das Benutzen des Textes entstehen.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Do 30.10.03 10:32 
Ja-Pa hat folgendes geschrieben:
Aaah! Gute Idee. Ich schaue nicht immer in den Quelltexten nach :wink:


Hast du schon mal einen sich bewegenden Hint gesehn? :lol:

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
Ja-Pa
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 458

Win XP, Suse 9.3
D1, D3, D5 Std, D7 Pro, D2005 Pers, Kylix 3
BeitragVerfasst: Do 30.10.03 16:35 
Stimmt. Jaja, Programmierer passen auch nicht immer auf :D

_________________
Der Autor dieses Textes haftet nicht für Schäden an Soft- oder Hardware
oder Vermögensschäden, die durch das Benutzen des Textes entstehen.