Results 1 to 4 of 4

Thread: Pop up centered

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pop up centered

    Using:
    http://www.dynamicdrive.com/dynamicindex8/popwin.htm

    It is not showing up centered but only submitting itself to the new page.

    How do I correct this? I added the code properly in header and the body as well. I added the image portion but I'm guessing something is not right?

    Code:
    <a href="http://domain.com/tour/master.htm" onclick="NewWindow(this.href,'Tour','550','400','no','center');return false" onfocus="this.blur()"><img border="0" src="images/tour.gif" width="250" height="57"></a><p>

  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

    Should have a semicolon (added in red) but, that probably isn't it. It could be your browser settings, especially FF and NS settings.

    Code:
    <a href="http://domain.com/tour/master.htm" onclick="NewWindow(this.href,'Tour','550','400','no','center');return false;" onfocus="this.blur()"><img border="0" src="images/tour.gif" width="250" height="57"></a><p>
    I would really need to see your page to have a shot at really being able to tell.

    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

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

  3. #3
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I tried both IE 6.x and Avant browsers, both same problem.

    Can you please at least hint? I don't have the page live as I am working on it.

    Thanks.

  4. #4
    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

    There is nothing wrong, or at least nothing fatally wrong, with the code from your post. Therefore nothing to correct, or even hint at about it. If, as you say, you entered the script in the head of the page properly and you have no other scripts on the page that might conflict, I am like the the police after all the toilet seats were stolen from their restrooms. I have nothing to go on.

    You could post your page's entire code:

    Please provide your code -

    put code tags:

    [code]

    code goes here

    [/code]

    around your code in a message here so that it appears as it was when you copied it from your page.

    OR:

    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

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

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
  •