Autor Beitrag
Kroni
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 720

Win 98, Win ME, Win2k, Win XP
D3 Pro
BeitragVerfasst: So 24.04.05 20:53 
Kurze Frage:
kennt sich hier jemand n bissl mit HTML code aus?
Also, ich möchte in einen Text ein kleines Foto einfügen. Wenn ich dann auf das Foto klicke, soll er die Quelldatei, also quasi das Foto nur größer in einem Extra fenster öffnen.
Also...quasi wie Vorschaubild, bei Klick aufs Vorschaubild soll er dann das große Bild öffnen.

Wie muss ich das mit dem HTML code realisieren???

Danke im vorraus,
+
KRoni
Roosevelt
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 223

Win XP prof. SP2, Win XP Home SP2, Suse 9.2
Delphi 6 Personal, Delphi 2005
BeitragVerfasst: So 24.04.05 20:59 
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
<html>

<head>
<title> der Titel halt</title>
</head>

<body>

<p>text</p>
<p><a target="_blank" href="image.jpg">
<img border="0" src="asdf.JPG" width="640" height="480"></a></p>

</body>

</html>


so was in etwa???

_________________
Glaube niemals das was du weißt!!!
Blackheart
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 164

ME
D3Prof.-D6Standard
BeitragVerfasst: So 24.04.05 21:00 
Du verlinkstst das Bild und Startest dadurch eine neue Seite mit dem Bild in Original Größe !
Kroni Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 720

Win 98, Win ME, Win2k, Win XP
D3 Pro
BeitragVerfasst: So 24.04.05 21:06 
na das hab ich ja vor, ich hab nur ka, wie ich das machen soll!
Also mit dem Code da oben...
ausblenden Quelltext
1:
2:
<p><a target="_blank" href="image.jpg">
<img border="0" src="asdf.JPG" width="640" height="480"></a></p>

ist das mit dem img das vorschaubild und in dem href muss ich dann den Link zum großen Bild eingeben oder wie??
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: So 24.04.05 21:10 
Jep, das ist korrekt.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Blackheart
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 164

ME
D3Prof.-D6Standard
BeitragVerfasst: So 24.04.05 21:19 
<a href="Großes_Bild.html"><img src="Kleines_Bild.jpg" alt="" border="0"></a>
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Mo 25.04.05 10:09 
Für HTML kann ich auch nur immer wieder SelfHTML empfehlen:

de.selfhtml.org

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce