Results 1 to 2 of 2

Thread: Popup codes

  1. #1
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Question Popup codes

    Hello,

    I'm searching for a fine way to use popup from differnet affiliate programs in my cat and detail header.

    As example I have this code:

    <script type="text/javascript">
    <!--
    window.open("http://www.lottowahn.de/p/p/?pid=26085&id=264","Lottowahn"," width=250,height=300,back,resizable=no,locationbar
    =no,status=no,menubar=no")
    //-->
    </script>

    How can I make a background Popup out of this and how can I fix the position without using the body tag (If I Use the body tag, I need two fields for every popup...) ?

    Greetings
    Frank

  2. #2
    Join Date
    Jul 2002
    Posts
    189

    Lightbulb

    Hello Frank,

    second problem: you can call an external JS file between the head-tags like this:
    Code:
    <head>
    <script language="Javascript" src="script/popup.js" type="text/javascript"></script>
    </head>
    first problem:

    give your pop up code a variable and make it blur.

    Code:
    banner=window.open("http://www.lottowahn.de/p/p/?pid=26085&id=264","Lottowahn","width=250,height=300,back,resizable=no,locationbar 
    =no,status=no,menubar=no")
    banner.blur();
    You can make it show up again by banner.focus();

    greets

    Joerg
    Last edited by tjoerg; 06-19-2003 at 05:02 AM.
    --------- applying hacks require a knack ---------

Similar Threads

  1. Full site links in a popup menu?
    By dulger in forum v5.x
    Replies: 2
    Last Post: 11-07-2003, 09:55 AM
  2. Display Category Codes in cat_view.php
    By AllenNance in forum v5.x
    Replies: 3
    Last Post: 09-20-2003, 09:43 PM
  3. popup menu in submit link forum
    By persut in forum v5.x
    Replies: 2
    Last Post: 05-14-2003, 06:26 AM

Posting Permissions

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