douren6035 2015-09-03 02:56
浏览 21

评论表/提交有问题吗?

Please note: the site I'm working with doesn't allow the use of Javascript. It's a huge pain, but I can't do anything about it. I'm looking for (hopefully) a work around for my problem.

This is a bit of a weird situation, so I'm going to try and explain my problem as best as possible without getting too complicated.

I write style sheets and stuff for this site I go on called AniRoleplay, which is basically an cheap knock-off version of the old Myspace. I was making a custom bulletin, trying to move the comment section to another location on the page. To do that, I copy/pasted the form that the site uses by default to post comments.

That code is as follows:

<table align='center' class='txt_label'>
<tr>
    <td width='100%'><p align='left'> <font face='Verdana' color='#000000' size='2'> <b>Add a Comment :</b> </font> </td>
</tr>
<tr>
    <td width='100%'><p align='left'>
            <textarea id='textarea1' name='comment_text' rows='5' cols='30' style='width:700; height:75'></textarea>
            <br>
            <br>
            <b><font color='black'>Your image will display properly if this URL ends in .GIF, .PNG or .JPG. Anything else will not work.</font></b><br>
            <input name='image' type='text' size='95' style='width:700px' placeholder='Image URL --- EXAMPLE: http://i.imgur.com/s7BBFmm.JPG'/>
    </td>
</tr>
<tr> </tr>
<tr>
    <td width='100%'><p align='left'>
            <INPUT class=flat id=Submit onclick=document.theForm.details.value=idContent.document.body.innerHTML; type=submit value='Add Comment' name=Submit>
    </td>
</tr>
</table>

However, when I added it and tested it.. I got this error from the site:

"You did not enter any text for your comment."

The result I'm looking for is something like this:

http://i.stack.imgur.com/1XaOg.jpg

I got that result by accident, but had no idea how I had gotten it. I ended up going back to an older version of the layout though because the submit button wasn't responding, but even when I did get it to respond, I kept constantly running into the "no text" error.

Last but not least, here's the link to the CodePen I have been working on for this layout: http://codepen.io/Peechiee/pen/qOBQZe?editors=110

I have seriously run out of ideas here. D: I don't know anything about PHP (I'm self taught and am pretty much only familiar with CSS and HTML) so I don't know if that is relevant to the situation but I'd really really appreciate some help.

Thanks in advance!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
    • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
    • ¥16 mybatis的代理对象无法通过@Autowired装填
    • ¥15 可见光定位matlab仿真
    • ¥15 arduino 四自由度机械臂
    • ¥15 wordpress 产品图片 GIF 没法显示
    • ¥15 求三国群英传pl国战时间的修改方法
    • ¥15 matlab代码代写,需写出详细代码,代价私
    • ¥15 ROS系统搭建请教(跨境电商用途)
    • ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。