LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-18-2001, 11:01 AM
Av Av is offline

Super Moderator
 
Join Date: Aug 2000
Location: England
Posts: 960
Rep Power: 13
Av has disabled reputation
Question

Hey all.

I'm using the javascript command window.open() in the usual format to open a popup window. But What I want to do is open the window BUT with different pages.

Example:

I have this code in the HTML page ....
Code:
[script language=javascript]
[!--
function newwindow(){
 whatever = window.open("whatever.htm", "nonsense", "width=284,height=341,screenX=100,screenY=150,status=0,top=210,left=10,resizeable=0");
 whatever.focus();
}
--]
[/script]
Now all this is fine BUT I need to Change the target page from "whatever.htm" to one selected by choice..... I know I could create a function for each individual page I want to open, Is there another way of passing a variable through JavaScript from a HTML (a href) link ? like [a href="javascript:newwindow()?url='new.htm'"]link[/a] ??

I'm only guessing here as my JavaScript Knowledge is limited.

Any help would be greatly appreciated~

~Av~
__________________
Remember, before you post, SEARCH

old F5 tuts here

av@flashmove.com
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Fscommand to open Javascript windows? iwgalloway Flash MX 3 07-05-2006 05:00 PM
opening windows folder via flash button... Arlene Flash MX ActionScript 2 02-14-2005 11:10 AM
Javascript Popup windows have stopped working AJD Client Side 21 03-07-2003 06:12 PM
Opening a popup without html and Javascript?!? Billye72 General Flash 1 01-24-2003 12:45 PM
Flash 4: Opening new windows flyingbuddha Flash 5 Actionscript 16 12-11-2000 05:23 AM




All times are GMT. The time now is 12:27 PM.