Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26265

Re: How to put a popup box over text on a webpage?

From Gregor Kofler <usenet@gregorkofler.com>
Newsgroups comp.lang.javascript
Subject Re: How to put a popup box over text on a webpage?
Date 2014-12-01 17:06 +0100
Organization A noiseless patient Spider
Message-ID <m5i3ko$ikp$1@dont-email.me> (permalink)
References <ae8f78de-33cd-4dcb-8ba0-7b8d2e89f0d2@googlegroups.com>

Show all headers | View raw


Am 2014-12-01 um 08:26 schrieb bit-naughty@hotmail.com:
> If I have a <div> and </div> section on my website, and I want a popup box to appear when I mouseover that section, what must I do? Is it possible to do it only in CSS,

Yes.

> or do I need Javascript?

No. (Oh dear, he said "Jehova"...)

> The popup box must have rounded corners, and an arrow sticking out of it (like in a comic book), so I assume it must be a GIF or JPEG or whatever....?

Depends.

> There'll be text within this box, is there any way to draw the box dynamically, so that if there's more text, it'll show a bigger box?

Yes.

> (the text will come from the server side).
>
>
> Thanks.

You are welcome.

Gregor

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to put a popup box over text on a webpage? bit-naughty@hotmail.com - 2014-11-30 23:26 -0800
  Re: How to put a popup box over text on a webpage? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-12-01 09:49 +0100
  Re: How to put a popup box over text on a webpage? Gregor Kofler <usenet@gregorkofler.com> - 2014-12-01 17:06 +0100
  Re: How to put a popup box over text on a webpage? Tim Streater <timstreater@greenbee.net> - 2014-12-01 17:59 +0000

csiph-web