Results 1 to 3 of 3

Thread: Popup Blocker Generator Help

  1. #1
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Popup Blocker Generator Help

    1) Script Title: Popup Blocker Generator

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/popwin.htm

    3) Describe problem: Hi all - The Popup Blocker works just fine and does mostly what I want it to do. However, I would like the link text that is created to to turn white on hover. Any ideas how I could do this please? The working code is below. I would be very appreciative if anyone could help me here.

    I did try emailing the author of the script, but the given email address no longer appears to be active.

    HTML Code:
    <a href="Rex36.htm" onclick="NewWindow(this.href,'mywin','300','300','no','center');return false" onfocus="this.blur()" style="text-decoration: none"><font color="#000080">Rex 36&nbsp; <span style="font-variant: small-caps">&gt;</span></font></a>

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    a.poplink {
    color:#000080;
    text-decoration: none;
    }
    a.poplink:hover {
    color:white;
    text-decoration: none;
    }
    a.poplink span {
    font-variant: small-caps;
    }
    </style>
    </head>
    <body>
    <a class="poplink" href="Rex36.htm" onclick="NewWindow(this.href,'mywin','300','300','no','center');return false" onfocus="this.blur()">Rex 36&nbsp; <span>&gt;</span></a>
    </body>
    </html>
    If there are other styles on or linked to the page that affect <a> tags, they may interfere with this in IE and perhaps some other browsers, unless measures are taken to prevent that.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John

    Many thanks for such a speedy reply. That worked a treat. I am a happy chappy. Thank you again.

    Mark

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
  •