Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how do i get several java windows to open correctly??

    Im not sure if my subject at all helps..but ill be as descriptive as possible..
    Ok, i am a small time no brained, didnt got to school web designer.
    Just made a site for myself, and now Im building one for my brother. I use several java pop up scripts (not that i know what that is)mostly done by a friend who has tought me several different things. But this stumped him, and it stumps me, and I would love for you to help me..PLLEEAASEEE???
    Ok heres the problem...and you will be able to see... go to www.jasonborst.com there you will have to turn off your pop up buster because the main index window is going to
    pop up, in there if you goto my gallery and click a pic it comes up in its own window, its own Java window right?..ok, now if you close that window and then the main index back
    to where you are looking at the Jasonborst.com window and click the pic, you will then be able to have the pop up for the main index window to come back up, like an entrance to
    those who have the pop up buster on. Well now when you go to my gallery and click a pic, it loads in the main index window...I have no idea why it will do it one way, but not the
    other.. Im soooo lost and I hope that you can help me...please if you have the time, im not a rich amn, and i dun wanna make $$ from the site, just my personal site for me and friends..thanks for you time, sincerely
    Jason BOrst

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Instead of using the .js file


    <script LANGUAGE="JavaScript1.1" SRC="http://fdl.ex.ac.uk/scripts/fdlscripts.js"></script>


    Try the following in your gallery page


    <script>
    function popup(theURL,Attributes,Width,Height){
    var newWin=open(theURL,'NAME',''+Attributes+',width='+Width+',height='+Height+'' );
    newWin.focus()
    }
    </script>


    NOTE:
    The line in bold should be all one line

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    I have entered the script into your page.

    I have tested it out and the popup windows still open even when your home page is closed.

    Do not delete your original file, save it somewhere.

    Replace your original file with the one contained in the attached zip file.

    Let me know how it goes.



    Attached Files Attached Files

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Please try the files in the attached zip.

    Unzip to your deskstop open the folder and click on jasonborst.html.

    Select the pics link and then select any one of the top three pics.

    I only downloaded these first three.

    The pics will open in a popup window.

    If you close jasonborst.html and select a pic they still open in a popup window.


    Is this problem solve here?

    Note:

    Please see the Readme file in the zip as I could not include the pics in the zip.
    This forum has a upload file size limit.
    Attached Files Attached Files


  •  

    Posting Permissions

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