Thread: html question
-
February 6th, 2003, 09:37 AM #1Member
- Join Date
- Oct 2002
- Posts
- 50
html question
is there any sort of maybe html, or even a java applet out there that when u goto a site u click a button to enter it pops up a new window and closes the one that u just clicked the button on.
thanks
-
February 6th, 2003, 09:45 AM #2Retired mostly.
- Join Date
- Oct 2001
- Location
- Finland
- Posts
- 5,150
window.close(self);
that will kill the current window, but I can't remember how to kill it without user intervention (it states whenever close(self); is issued that the webpage is trying to close the window).
A sprung window will close without a question.
-M
-
February 6th, 2003, 05:56 PM #3Junior Member
- Join Date
- Feb 2003
- Location
- Freelton, Ontario, Canada
- Posts
- 12
The following code will get you the new popup window:
onClick="NewWin=window.open('your_page_here.html', 'NewWin','toolbar=no,statusbar=no,scrollbars=no,wi dth=550,height=400'); " STYLE="cursor: hand"
This has to be placed in a tag for either an image or link.
Eg.
<img src="duhhh.gif" onClick......>
<a href="#" onClick....>
Hope this helps.
-
February 7th, 2003, 10:05 PM #4
Agreed with mad. That script will run perfectly.
-
February 8th, 2003, 05:58 AM #5
but opera will block it!! (pop up blocker too! i put another link on my page for pop up blocker!!
CreaturesCanon EOS 550D | Tamron 18 - 270mm 1:3.5 - 6.3 | Lensbaby Scout (Soft Focus Optic, Fisheye Optic) | Canon Speedlite 430EX II
-
February 10th, 2003, 02:53 AM #6Retired mostly.
- Join Date
- Oct 2001
- Location
- Finland
- Posts
- 5,150
The popup stopper should function in a way that it prevents unwanted popups. Not the ones called from a link.
-M
-
February 10th, 2003, 07:54 AM #7
go to my site with opera (refuse pop ups) and klick on the image it wont open the window! just try it!
CreaturesCanon EOS 550D | Tamron 18 - 270mm 1:3.5 - 6.3 | Lensbaby Scout (Soft Focus Optic, Fisheye Optic) | Canon Speedlite 430EX II
-
February 25th, 2003, 12:59 AM #8
Wrong forum but plz people DONT USE POP UPS! My computer wont load ANY Jaascript generated pop up and if its just a normal pop up, then I have to press "stop" then "refresh" ANy help on how to solve this would b appreciated too. It may have been bad uninstall of pop ub blocker(s). Or low resources?? DUnno thnks
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



LinkBack URL
About LinkBacks



Reply With Quote



Of course not. She's still on the payroll. Now that she is compelled to testify, the committee has leverage to force her to talk or go to jail until she does. I think she'll be singing like a...
IRS Lois Lerner Refuses to Resign