Re: [WSG] Popups

2005-01-18 Thread Ben Curtis
For when you ever have links that open in a new window, it helps to have that little image, would this be appropriate: ? a href=# onclick=newwindow() rel=external/a a[onclick=newwindow()] { padding: 10px; background: url(newwindow.png) no-repeat 0 0; } Yes, but... The point of having

Re: [WSG] Popups

2005-01-16 Thread David R
Hi guys Thanks for the tips, I think I'll opt for the show/hide region option. Just one more thing... For when you ever have links that open in a new window, it helps to have that little image, would this be appropriate: ? a href=# onclick=newwindow() rel=external/a a[onclick=newwindow()] {

Re: [WSG] Popups (plus, standards-based event handling)

2005-01-14 Thread Ben Curtis
Another method I've imagined but never implemented is for each added function to add itself to an array of functions. ... It's efficient. Your imagination is should try it. Er, Your imagination is on the right track; you should try it. My imagination, apparently, completes sentences that my

Re: [WSG] Popups

2005-01-13 Thread Simon Jessey
Hi, David. Why not use a DIV that contains all the extra information you wish to convey? Conceal the DIV with display:none, and then reveal the DIV when the user hovers over some sort of hotspot (use a lowercase white"i" on a blue circle- the universal symbol for "information").Simon

RE: [WSG] Popups

2005-01-13 Thread Chris Taylor
As I read your mail I was going to suggest the hidden DIV with a show/hide toggle button, then there it was at the bottom. I try to stay away from popup windows where I can. When I've needed to do this, and I you have enough space on the page, I've shown the help in a nicely-formatted (light

Re: [WSG] Popups

2005-01-13 Thread Rene Saarsoo
Hi, I think there are two main possibilities, both quite equal: [1] Information on the same page In that case you have link to the helping paragraph on the same page. The onclick and other event handlers are added to the links with javascript and also the help section (probably at the bottom of

RE: [WSG] Popups

2005-01-13 Thread Ted Drake
Hi David I struggled with this as well. I tried the nicetitles javascript which allows you to put the information in the title tag and firefox will show the entire text. It also gives you the ability to style the tooltip window that pops up. We decided against it for our particular use. We have

Re: [WSG] Popups

2005-01-13 Thread Jeffrey Hardy
I got into this discussion late and, while most of the thread has been about showing and hiding layers, I thought I'd try to shed some light on the subject of the message, and David's main question: opening new windows. This has been mentioned here before, but it seems to come up pretty often,

Re: [WSG] Popups

2005-01-13 Thread Paul Novitski
At 11:58 AM 1/13/05, Jeffrey Hardy wrote: ... Here's an example of a call to window.open with the 'properties' argument: onclick=window.open(this.href, '_blank', 'width=500, height=500, menubar=no'); return false; Nice summary, Jeff. One correction: you're not supposed to embed spaces in the

RE: [WSG] Popups

2005-01-13 Thread Seona Bellamy
-Original Message- [mailto:[EMAIL PROTECTED] Behalf Of Paul Novitski Subject: Re: [WSG] Popups Also, while it's convenient to insert javascript event handlers into HTML markup when demonstrating an example, in practice it's probably best to leave the script out of the markup

RE: [WSG] Popups

2005-01-13 Thread Paul Novitski
At 01:20 PM 1/13/05, Seona Bellamy wrote: -Original Message- [mailto:[EMAIL PROTECTED] Behalf Of Paul Novitski Subject: Re: [WSG] Popups Also, while it's convenient to insert javascript event handlers into HTML markup when demonstrating an example, in practice it's probably best

RE: [WSG] Popups

2005-01-13 Thread Seona Bellamy
@webstandardsgroup.org Subject: RE: [WSG] Popups At 01:20 PM 1/13/05, Seona Bellamy wrote: -Original Message- [mailto:[EMAIL PROTECTED] Behalf Of Paul Novitski Subject: Re: [WSG] Popups Also, while it's convenient to insert javascript event handlers into HTML markup when demonstrating

Re: [WSG] Popups (plus, standards-based event handling)

2005-01-13 Thread Ben Curtis
Also, while it's convenient to insert javascript event handlers into HTML markup when demonstrating an example, in practice it's probably best to leave the script out of the markup and apply it from a separate script file at window.onload. I'm curious as to how you do that, because to my mind

Re: [WSG] Popups (plus, standards-based event handling)

2005-01-13 Thread JohnyB
window.onload = externalLinks; This is fine, if it's the only code you are assigning to onload, but it overwrites any previous onloads and is overwritten by subsequent onloads. ... Another issue is that it works only after loading the whole page... I use it in (testing setup of) a

Re: [WSG] Popups (plus, standards-based event handling)

2005-01-13 Thread Paul Novitski
At 02:39 PM 1/13/05, Ben Curtis wrote: Also, while it's convenient to insert javascript event handlers into HTML markup when demonstrating an example, in practice it's probably best to leave the script out of the markup and apply it from a separate script file at window.onload. One beef I have

Re: [WSG] Popups (plus, standards-based event handling)

2005-01-13 Thread Ben Curtis
Also, while it's convenient to insert javascript event handlers into HTML markup when demonstrating an example, in practice it's probably best to leave the script out of the markup and apply it from a separate script file at window.onload. One beef I have with this code, and most code of this