WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   shortinfo (http://www.wcm.at/forum/showthread.php?t=48600)

bond 05.03.2002 14:31

shortinfo
 
hallo an alle ich brauch mal wieder eure hilfe:

wie mach ich es, daß bei allen downloads, die ich auf einer Seite anbiete, überall dieselbe shortinfo erscheint (mit shortinfo meine ich diese gelben kastln, die erscheinen wenn man mit der maus über einen Link, etc.. fährt).

ich habs schon mit

<BODY alt="blabla">

versucht nur wird das nicht schön weil das gelbe kastl steckenbleibt und nicht mehr von alleine weggeht.

vielen dank für eure vorschläge

mcs_ 05.03.2002 16:31

äh, wie wärs mit einem alt="bla" in jedem downloadlink? oder du löst das mit einem onmouseover, aber das kann ich nicht, da muss dir jemand anders helfen.

fluff :)

K@sperl 05.03.2002 16:40

Wie schon gesagt, du mußt den "alt" Tag bei jedem Link angeben.

Download Link

käptn 05.03.2002 16:46

kleiner tipp:
 
mit >> title="alles was du willst" << funkts sicher!

[edit]

sorry, hab übersehen, dass du's im body definieren wolltest

title deswegen weil ns6 alt nicht anzeigt mit mouseover (meineswissens)

...however meinich den title im a-tag...nicht in body..

gruss&ahoi

_m3 05.03.2002 17:22

Laut HTML-Spezifikation ist es das title-Attribut des A-Tags. Sieh auch hier: http://www.w3.org/TR/html401/struct/links.html#h-12.2

d.h. mit <a href="..." title="Text" ....> bei jedem Link sollte es bei aktuellen Browsern klappen.

bond 05.03.2002 17:49

danke erst mal für alle antworten

ist mir schon klar, daß man es auch bei jedem link einfügen kann nur wärs eh überall der gleiche text und ich hab gedacht es gibt noch was anderes außer neben "body" einfügen.

was ist eigentlich der unterschied zwischen "alt=" und "title="

_m3 05.03.2002 17:53

ALT:
For user agents that cannot display images, forms, or applets, this attribute specifies alternate text.

TITLE:
This attribute offers advisory information about the element for which it is set.
...
Values of the title attribute may be rendered by user agents in a variety of ways. For instance, visual browsers frequently display the title as a "tool tip" (a short message that appears when the pointing device pauses over an object). Audio user agents may speak the title information in a similar context. For example, setting the attribute on a link allows user agents (visual and non-visual) to tell users about the nature of the linked resource:

moorhahn 05.03.2002 19:08

müsste es denn nicht auch mit css gehen? wenn man die farbe und das ganze zeug für links per css einstellen kann, muss man doch auch den title einstellen können, oder?


Alle Zeitangaben in WEZ +2. Es ist jetzt 18:21 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag