Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-10-2003, 05:56 AM   PM User | #1
jasonborst
New to the CF scene

 
Join Date: Jan 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
jasonborst is an unknown quantity at this point
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
jasonborst is offline   Reply With Quote
Old 01-10-2003, 09:35 PM   PM User | #2
Mr J
Senior Coder

 
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
Mr J is on a distinguished road
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 is offline   Reply With Quote
Old 01-12-2003, 05:31 PM   PM User | #3
Mr J
Senior Coder

 
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
Mr J is on a distinguished road
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
File Type: zip gallery.zip (1.1 KB, 105 views)
Mr J is offline   Reply With Quote
Old 01-13-2003, 06:51 PM   PM User | #4
Mr J
Senior Coder

 
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
Mr J is on a distinguished road
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
File Type: zip jasonborst.zip (5.3 KB, 97 views)
Mr J is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:41 AM.


Advertisement
Log in to turn off these ads.