469,902 Members | 1,804 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

Open new window on click and alert buttons and Crazy Browser

I'm pretty green when it comes to web design and worse regarding JS - I'm a
true cut n paste hacker and good at that!! LOL

Two questions. I have a bunch of FAQ's as text questions that I want to do
either one of the following with when a visitor clicks the question -

1) Open a pop-up window of X x Y size, centred with no controls, or
2) Have an alert box do the same.

I know the syntax for the pop-up window but not how to tie it to a text link
(have found the "input type = button" but don't want buttons). The alert
box would maybe be easier but every code generator I have used doesn't seem
to accept alot of text (plus I still need to tie it to a text item). Is
there a max number of characters in an Alert box?

Lastly, for anyone that uses Crazy Browser. Does it have a problem with
handling pop-up windows from JS? They all open as fullsize windows as a new
tab. Is it one of MY settings?

Thanks.

--
Ian Shere
Tarzan Design Ltd
Award Winning Architecture
www.tarzandesign.co.nz
Jul 20 '05 #1
1 1595
"Ian Shere" <ia*@tarzandesign.co.nz> writes:
I'm pretty green when it comes to web design and worse regarding JS - I'm a
true cut n paste hacker and good at that!! LOL
So, you don't know what you are doing, but you are good at it? :)
Two questions. I have a bunch of FAQ's as text questions that I want to do
either one of the following with when a visitor clicks the question -

1) Open a pop-up window of X x Y size, centred with no controls, or
2) Have an alert box do the same.
Alert boxes are small and disruptive. Popup windows can be larger and
marginally less disruptive (because they aren't "modal" and grab
focus). However, popups are also more fragile, since many people are
using poup blockers.
I know the syntax for the pop-up window but not how to tie it to a text link
(have found the "input type = button" but don't want buttons). The alert
box would maybe be easier but every code generator I have used doesn't seem
to accept alot of text (plus I still need to tie it to a text item). Is
there a max number of characters in an Alert box?


Try reading here:
<URL:http://www.infimum.dk/HTML/JSwindows.html#ref_3_4>
Read the rest too.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Rob Wahmann | last post: by
3 posts views Thread by NeverLift | last post: by
8 posts views Thread by Dominic Tocci | last post: by
8 posts views Thread by J Gao | last post: by
2 posts views Thread by carlor | last post: by
13 posts views Thread by Seth Grimes | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.