dousiyou1058 2013-12-01 09:42
浏览 19
已采纳

我的代码中的这个框是否可编辑?

I have this HTML code. This code will make a box leak on my website and it's function is to validate the message sent by the user. Anw you can run the code HERE to understand what I am talking about.

My question is how to edit the box and make it appear in the middle of the screen, above the current webpage? I mean like POPUP WINDOW. It will open with PHP echo and tell the user that his message has been sent successfully. So how to make it popup in the middle of the screen when the user submits his message?

Any help will be highly appreciated. Thanks in advance.

  • 写回答

1条回答 默认 最新

  • drz73366 2013-12-01 10:39
    关注

    Three things to do: 1. Your dropbox position is defined in js, modify here

    var dropboxleft=screen.width/2
    var dropboxtop=screen.height/2
    

    2. Add negative margin to #dropinboxv2cover margin-left:-250px; margin-top:-150; 3. Change your current width of #dropinboxv2cover, it's too wide, change it to 500px.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 有人能看一下我宿舍管理系统的报修功能该怎么改啊?链表那里总是越界
  • ¥15 cs loadimage运行不了,easyx也下了,没有用
  • ¥15 r包runway详细安装教程
  • ¥15 Html中读取Json文件中数据并制作表格
  • ¥15 谁有RH342练习环境
  • ¥15 STM32F407 DMA中断问题
  • ¥15 uniapp连接阿里云无法发布消息和订阅
  • ¥25 麦当劳点餐系统代码纠错
  • ¥15 轮班监督委员会问题。
  • ¥20 关于变压器的具体案例分析