mercredi 24 décembre 2014

Website disapears after looping a piece of code


I have a website containing code from below. The pop up appears only after i press the a href. It works all fine but i wanted to loop this code. I mean i have a big while loop posting images and things connected with it, so i wanted to put code from below into the loop but my page goes white and looks like it was empty. Why does it happen?



<a href="#" class="popupbutton">asd</a>
<div id='element_to_pop_up'>
<img src='' alt='photo' class='photolink' align='middle'>
<form id='comments' method='post'>
<textarea rows='8' cols='80' name='comments'></textarea> <br />
<input type='hidden' name='pid' value=''>
<input type='submit' name='send' value='Wyślij'>
</form>
<a class='b-close'></a>
</div>


Code link: view-source:http://ift.tt/1t0qXzK





Aucun commentaire:

Enregistrer un commentaire