Hallo,
ich habe folgendes Problem
ich versuche nun schon eine ganze weile die Öffnung meines content divs über ein java script ausklappen zu lassen nun hab ich aber das Problem das es immer nur beim ersten post klappt ...
ich habe nur relativ wenig erfahrung mit css xhtml und php aber hoffe trotzdem das mitr jemand helfen kann... der link zum projekt http://blog.mrs-drumsound.de/
mfg philipp
anhang
---------------------------------
index.php
PHP
<script type="text/javascript" src="http://www.blog.mrs-drumsound.de/wp-content/themes/mrs/js/script.js"></script>
<?php get_header(); ?>
<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
<div id="page"><div id="main">
<div id="Box3SliceContainer2">
<div id="boxtop3">
</div>
<div class="rowWrap" >
<div id="test_r7_c5">
</div>
<div id="colwrap4">
<div class="rowWrap" >
<div id="Txt_BASSTANK">
<a href="<?php the_permalink() ?>" rel="bookmark" title="Link zu <?php the_title(); ?>"><?php the_title(); ?></a>
</div>
<div id="test_r7_c14">
</div>
<br class="clearfloat" />
</div>
<div class="rowWrap" >
<div id="test_r10_c6">
</div>
<div id="test_r10_c7">
</div>
<div id="test_r10_c8">
</div>
<div id="test_r10_c12">
</div>
<br class="clearfloat" />
</div>
[COLOR=Red]<div id="commenthint">
<h4 style="cursor: pointer;">Kommentar-Hilfe</h4><div style="">
<?php the_content('Kompletten Beitrag lesen'); ?><?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { ?>
<br />
<a href="<?php trackback_url(true); ?>" rel="trackback">Trackback</a><?php } ?>
<br />
<br />
<a href="<?php the_permalink() ?>" rel="bookmark">Permanent Link</a>'<br />
<?php if(!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { ?>
Zur Zeit können keine Kommentare abgegeben werden. Setze doch einen <a href="< ?php trackback_url(true); ?> " rel="trackback">Trackback auf deine Seite.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { ?>
Pings setzen ist zur Zeit nicht erlaubt.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { ?>
Weder Pings noch Kommentare sind erlaubt.<?php } ?>
<br />
<div class="infos">Geschrieben am <?php the_time('d.m.Y') ?> von <?php the_author() ?> in <?php the_category(', ') ?>. <?php comments_popup_link('0 Kommentare', '1 Kommentar', '% Kommentare'); ?>. <?php edit_post_link('editieren','','·'); ?></div>
</div></div>
<!-- [commenthint] -->
</div>
<br class="clearfloat" />
</div>
<div id="boxbottom4">
</div>
</div>
<?php endwhile; ?>
[/COLOR] [COLOR=Red]<script type="text/javascript"><!--
expand_collapse_createDocumentStructure('commenthint', 'h4', '', '', '14px', 0);
// --></script>
[/COLOR]
<?php else : ?>
<div class="post">
<h1>Fehler!</h1>
Die gewünschte Seite ist nicht verfügbar.
</div>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen