+ Reply to Thread
Results 1 to 8 of 8

Thread: html question

  1. #1
    Member
    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

  2. #2
    Retired 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

  3. #3
    Junior 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.

  4. #4
    Junior Member
    Join Date
    Feb 2003
    Location
    Ohio
    Posts
    4
    Agreed with mad. That script will run perfectly.

  5. #5
    Go back to sleep Creatures's Avatar
    Join Date
    Jul 2002
    Location
    Switzerland
    Posts
    9,278
    but opera will block it!! (pop up blocker too! i put another link on my page for pop up blocker!!

    Creatures
    Canon EOS 550D | Tamron 18 - 270mm 1:3.5 - 6.3 | Lensbaby Scout (Soft Focus Optic, Fisheye Optic) | Canon Speedlite 430EX II

  6. #6
    Retired 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

  7. #7
    Go back to sleep Creatures's Avatar
    Join Date
    Jul 2002
    Location
    Switzerland
    Posts
    9,278
    go to my site with opera (refuse pop ups) and klick on the image it wont open the window! just try it!

    Creatures
    Canon EOS 550D | Tamron 18 - 270mm 1:3.5 - 6.3 | Lensbaby Scout (Soft Focus Optic, Fisheye Optic) | Canon Speedlite 430EX II

  8. #8
    Member devildude8989's Avatar
    Join Date
    Sep 2002
    Location
    White Rock, BC, Canada
    Posts
    191
    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)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews