Problem mit Corenews
Also ich brauche eure Hilfe bei dem Newsscript von http://www.coreslawn.de/.
Wie bekomme ich das Icon so hin das es neben der Überschrift und Datum ist?
http://www.lf2.hits4.net/cnews/shownews.php
Wie bekomme ich das Icon so hin das es neben der Überschrift und Datum ist?
http://www.lf2.hits4.net/cnews/shownews.php
Gruß Lev
Dev. Account - fxencore
Dev. Account - fxencore
Am einfachsten geht es wenn Du im jeweiligen Style das Template mal mit nem Editor wie Dreamweaver bearbeitest (Copy / Paste).
Dort siehst Du dann ganz genau wo welche Tabelle sitzt und in welcher was angezeigt wird!
Du kannst hier alles frei editieren und damit den Style komplett anpassen.
Ich hab Dir mal meinen Style angehängt, allerdings sind hier Autor und Link entfernt, da ich das nicht brauche !
Viel Spaß
dsich
Dort siehst Du dann ganz genau wo welche Tabelle sitzt und in welcher was angezeigt wird!
Du kannst hier alles frei editieren und damit den Style komplett anpassen.
Ich hab Dir mal meinen Style angehängt, allerdings sind hier Autor und Link entfernt, da ich das nicht brauche !
Viel Spaß
dsich
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<div class="cnsmalltext">{datum}</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#0000FF">
<tr>
<td height="25"> <table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="5%" bgcolor="#000066">{icon}</td>
<td width="95%" bgcolor="#000066">
<div class="cnheader">{newstitel}</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><div class="cnnews" align="{ausrichtung}">{news}</div></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#0000FF">
<tr>
<td><table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#0000FF">
<tr>
<td bgcolor="#000066">
<div class="cnsmalltext">{kommentare}</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<br>
|
Zitat
<table width="90%" border="0" cellpadding="0" cellspacing="10">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="3">
<tr>
<td>{icon}</td>
<td>
<div class="cnheader">{newstitel}</div>
<div class="cnsmalltext">von {user} ({datum})</div>
<br>
<div class="cnnews" align="{ausrichtung}">{news}</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br><br><br>
Wie soll ich das da machen?
Gruß Lev
Dev. Account - fxencore
Dev. Account - fxencore
Versuche das:
Ich habe die Tabellen mal etwas geändert!
Cu
dsich
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<table width="100%" border="0" cellpadding="0" cellspacing="10">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="3">
<!--DWLayoutTable-->
<tr>
<td width="54" height="88">{icon}</td>
<td > <div class="cnheader">{newstitel}</div>
<div class="cnsmalltext">von {user} ({datum})</div></td>
</tr>
<tr>
<td colspan="3"><div class="cnnews" align="{ausrichtung}">{news}</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br><br><br>
|
Ich habe die Tabellen mal etwas geändert!
Cu
dsich
Danke @ dsich, musste den Code aber noch etwas verändern.
Ich hätte da noch ein Problem: Ich will das ganze in einem iFrame einbinden, aber wenn ich das mache, kann man nicht scrollen. Wie bekomme ich es hin das Scrollbalken angezeigt werden?
Ich hätte da noch ein Problem: Ich will das ganze in einem iFrame einbinden, aber wenn ich das mache, kann man nicht scrollen. Wie bekomme ich es hin das Scrollbalken angezeigt werden?
Gruß Lev
Dev. Account - fxencore
Dev. Account - fxencore
Hab mal ein Beispiel hochgeladen:
http://www.lf2.hits4.net/test/
Bei mir werden einfach keine Scrollleisten angezeigt.
http://www.lf2.hits4.net/test/
Bei mir werden einfach keine Scrollleisten angezeigt.
Gruß Lev
Dev. Account - fxencore
Dev. Account - fxencore
Hmmm ...
ich hab mal Deinen Quellcode angeschaut:
ist für mich einmal "scroll" zu viel ??
mach erst mal zum testen ganz einfach:
irgendwie irritiert mich auch ein height von "250%" ???
Cu
dsich
ich hab mal Deinen Quellcode angeschaut:
|
|
Quellcode |
1 |
<iframe scroll="yes" name="news_frame" height="250%" width="100%" border="0" frameborder="0" src="http://www.lf2.hits4.net/cnews/shownews.php" scrolling="yes"> |
ist für mich einmal "scroll" zu viel ??
mach erst mal zum testen ganz einfach:
|
|
Quellcode |
1 |
<iFrame src="http://www.lf2.hits4.net/cnews/shownews.php" name="iFrame" width="100%" height="250" Frameborder="0" ></iFrame> |
irgendwie irritiert mich auch ein height von "250%" ???
Cu
dsich
@dsich
Also die "height" ist nicht in Prozent sondern in Pixel angegeben. Hab jetzt auch probiert die scroll atribute wegzulassen. Hilft irgendwie nicht. Werde wohl das Script per include einfügen müssen.
Also die "height" ist nicht in Prozent sondern in Pixel angegeben. Hab jetzt auch probiert die scroll atribute wegzulassen. Hilft irgendwie nicht. Werde wohl das Script per include einfügen müssen.
Gruß Lev
Dev. Account - fxencore
Dev. Account - fxencore
Ähnliche Themen
-
PHP »-
suche Newsscript
(17. September 2004, 21:15)
-
PHP »-
[suche] Tagebuch-script
(21. August 2004, 09:16)
-
Kleinanzeigen »-
[suche] corenews design
(6. Oktober 2003, 22:15)
-
PHP »-
Hilfe beim einbinden des Newsscripts
(12. März 2003, 19:39)



