0

How to make the position of Messagebox in the Center of Scroll View of browser?

asked 2009-11-06 01:39:10 +0800

lovetide gravatar image lovetide
169 1 7

updated 2009-11-06 01:39:56 +0800

When click a button to show Messagebox at the bottom of scroll view, Messagebox is shown on the top of scroll view, users need to scroll up to close the messagebox, it's a not friendly to users.

sample code:

please scroll down to bottom and click the button
<div height='1500px'/>
<button label='show messsagebox' onClick='alert("Test")'/>


Is there a way to tweak it?

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-11-06 03:36:04 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi,lovetide
you can use window instead of alert

link publish delete flag offensive edit

answered 2009-12-13 19:14:53 +0800

lovetide gravatar image lovetide
169 1 7

I've roll back to zk-3.6.2, zk-3.6.2 is fine.

link publish delete flag offensive edit

answered 2009-12-13 20:01:00 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

OK,you can post it to bug

link publish delete flag offensive edit
link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-11-06 01:39:10 +0800

Seen: 1,445 times

Last updated: Dec 14 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More