On Wed November 5 2003 05:46, [EMAIL PROTECTED] wrote: > Off the subject but you guys and gals have way more brains than I :)
no need to say stuff like that. just because some people know more than others in certain areas doesn't make any of them smarter or dumber > How do I Make a Java Alert Box on OnLoad with Multiple Link Options... I'm assuming you mean javascript, aka website stuff... > Example: > What are you??? > Man Woman Not Sure > OK OK OK > > Once they click OK, they would be redirected to a different link based on > their choice.... > Also... a "Cancel" Link for "None of Your Damn Business!" that would take > them to yet another url if possible :) > > Thanks > > Dave as far as I know, the alert box can only have the one button. you can have a prompt where they enter text, but that probably wouldn't help. you'd have to have a group of links (or a form with three buttons, that would work probably closer to what you wanted) to do that. if you really want it to pop up, you could always have the onload use a javascript function that opens a new window with those three links (or buttons or whatever else you might want), and you don't even have to have another page to do it, you can write the HTML for that pop-up in the code of the main page if you do this, though, also have a way of doing stuff on the page itself. some browsers will kill the pop-ups, others can't load pop-ups (links, lynx and webgets are probably the main ones) though I doubt it's a bit issue for you, and some people have javascript disabled. it's always good to have plain HTML to fall back on, because unless you're writing non-standard HTML (and no-one wants to do that, right? 8^) you'll never cut off anyone. on that same point, if you use graphics instead of text links or buttons, have it so there's still something to click for those who don't automatically load images how to actually do the javascript to pop up another window is another issue though, and it's outside of my skill level. there's javascript examples (javascript.internet.com was great back many years when I looked at javascript, if I recall right) that do this though, so it shouldn't be hard to find something and work it into exactly what you want HTH Adam -- -bash: cd: /dev/mouse: No such file or directory. Should I `killall -5 cat` ? (y or n) _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
