SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict Tizer's Avatar
    Join Date
    May 2002
    Location
    Beach
    Posts
    306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pop up window and link also???

    I'm not sure if this is in the correct forum but I'll post it anyway.

    I am trying to have make a link which links to a page as normal, and then also pops up a window with some log-in information.

    My site is straight html with no php support and the link maybe used several times and I only want it to happen once per visit.

    Is there any way of doing this

    Cheers

    Tizer

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    something like this:

    Code:
    <a href="yourloginpage.html" 
    onclick="window.open('yourpopuppage.html','','width=600, height=400');">
    click here to login
    </a>
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #3
    ********* obeah makeda's Avatar
    Join Date
    Jun 2001
    Location
    rollin' on dubs
    Posts
    492
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And if that doesn't work, you could do something like this:

    Code:
    <body onUnLoad="window.open('yourpopuppage.html','','width=600, height=400');">
      <a href="somewhere.html">click me</a>
    </body>

  4. #4
    SitePoint Addict Tizer's Avatar
    Join Date
    May 2002
    Location
    Beach
    Posts
    306
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers Folks,

    I have always wanted to know that but its never come up before, know it has

    Cheers again


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •