SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Apr 2001
    Location
    UK
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi all!

    I'm having a problem with a pop up window I've linked to from my index page ( http://www.dirtbikestore.com) for shipping information. Once clicked on and then closed out of - you are not able to click on the link again and moving gifs become frozen.

    Basically I've used:
    <!-- Hide script from old browsers

    function newWindow()
    {
    newWindow = window.open("http://web1901.vs.netbenefit.co.uk/Shippingcharges.htm", 'newWindow', 'width=400,height=300,scrollbars=yes')
    newWindow.focus()
    }

    // End hiding script from old browsers -->


    with the link as:
    <a href="javascript:newWindow()"><img SRC="shipping.gif" ALT="Click here for details of shipping costs" BORDER=0 height=58 width=282></a></center>

    Can anyone throw any light on why this popup is freezing the page?

    Any help gratefully recieved!!

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    edit
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try making it <a href="javascript://" onClick="newWindow()">blah</a>

  4. #4
    SitePoint Member
    Join Date
    Apr 2001
    Location
    UK
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your suggestion, but it didn't work - it actually gave a "Error 404 - Document Not Found"

    Any other suggestions ???!!!

  5. #5
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mox...

    the 404 error just means that the new window could not find that page you are telling it to load. Make sure the URL is correct and try it again.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  6. #6
    SitePoint Member
    Join Date
    Apr 2001
    Location
    UK
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi - thanks for your suggestions.

    I solved the error 404 - I copied my original typo of java script instead on javascript.

    having said that it still does solve the freezing page issue.

    Anyone have any other ideas I could try?!

    Thanks in advance


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
  •