...

View Full Version : how do i get several java windows to open correctly??



jasonborst
01-10-2003, 05:56 AM
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

Mr J
01-10-2003, 09:35 PM
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

Mr J
01-12-2003, 05:31 PM
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.



:thumbsup:

Mr J
01-13-2003, 06:51 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum