Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Javascript and DIV popup help...

1 view
Skip to first unread message

vbMark

unread,
Nov 14, 2008, 1:15:33 PM11/14/08
to
Hello,

I am trying to add some functionality to an existing web app which is to do
this: when the mouse hovers over a link, a little DIV window shows some
text.

Instead of the DIV window acting like a popup, the text is written to the
page.

The problem, I believe, is due to the application already inheriting a
class to render the page. I have tried something like this with the DIV...

<div id="none"

But that just breaks it completely so nothing happens on the mouseOver
event.

Any ideas?

Thanks!


--
Only the Best Freeware at http://www.vbmark.com

Geoffrey Summerhayes

unread,
Nov 14, 2008, 3:29:59 PM11/14/08
to
On Nov 14, 1:15 pm, vbMark <n...@email.com> wrote:
> Hello,
>
> I am trying to add some functionality to an existing web app which is to do
> this: when the mouse hovers over a link, a little DIV window shows some
> text.
>
> Instead of the DIV window acting like a popup, the text is written to the
> page.
>
> The problem, I believe, is due to the application already inheriting a
> class to render the page.  I have tried something like this with the DIV...
>
> <div id="none"
>
> But that just breaks it completely so nothing happens on the mouseOver
> event.
>
> Any ideas?

Don't use javascript, this can be done with css.

---
Geoff

Thomas 'PointedEars' Lahn

unread,
Nov 14, 2008, 3:45:43 PM11/14/08
to
Geoffrey Summerhayes wrote:
> On Nov 14, 1:15 pm, vbMark <n...@email.com> wrote:
>> I am trying to add some functionality to an existing web app which is to do
>> this: when the mouse hovers over a link, a little DIV window shows some
^^^^^

>> text.
>>
>> Instead of the DIV window acting like a popup, the text is written to the
>> page.
>> [...]

>
> Don't use javascript, this can be done with css.

Depends on what "shows" encompasses and what link means. For alpha blending
and non-`a' elements you need both stylesheets and scripting.

> ---
> Geoff

The proper signature delimiter is dash-dash-space-CR-LF, but with Google
Groups you can't create one as it removes the trailing space (like earlier
versions of Outlook Express). You should use a local newsreader application
instead.


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann

0 new messages