Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 3
Seite [1]
zlobson


Beginner





Beiträge: 12
# Thema - 09.11.2009 um 14:38 Uhr
Hi everybody,
I have a question. Exist any update for BANNERS module with support title="xyz..." parameter ? For banners its this function important and cool! (I think )


------------------
Damn ! I am GOOD !! My web ( http://www.100life.cz ) is 100% VALID in CSS, XHTML and RSS !! How is it possible??
Inaktiv
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 1 - 09.11.2009 um 15:37 Uhr
Yep, all modern browsers now only show the title when you are hovering over the picture, alt has been removed, it is only used as alternative when the picture is not available.


Inaktiv
|
Tom08 ClanSphere Team

Supporter
Supporter



Herkunft: Daheim
Beiträge: 2923
# Antwort: 2 - 09.11.2009 um 18:40 Uhr
It's no Problem.
This change makes the alt-Text to the title-Text.

 
1.
1. / 2. / ... 
 $picture cs_html_img($go,0,0," style=\"margin-bottom:4px\"",


Replace it with
 
1.
1. / 2. / ... 
 $picture cs_html_img($go,0,0," style=\"margin-bottom:4px\" title=\"".cs_secure($data['banners'][$run]['banners_alt']) . "\"",


I haven't tested it, but it should work =)

Tom


------------------
Bei Problemen mit Code von mir bitte eine Private Nachricht an mich


Inaktiv
|
zlobson
Thread-Ersteller


Beginner





Beiträge: 12
# Antwort: 3 - 12.11.2009 um 21:09 Uhr
YUP !!! This change working AND passed in W3C xhtml validator !!! THX !!!



------------------
Damn ! I am GOOD !! My web ( http://www.100life.cz ) is 100% VALID in CSS, XHTML and RSS !! How is it possible??

Inaktiv
|
Antworten: 3
Seite [1]


Sie müssen sich registrieren, um zu antworten.