Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: javascript openings |
From: | Stuart Mayhew (Garanti Teknoloji) |
Date: | Tue, 23 May 2000 07:43:58 +0100 |
Hi,
I am having a little trouble with a feature a client wants to add, they currently have an HTML page which I have been converting to Flash, however I have a problem. In the HTML page there are some javascript function included within the links that define the window pop-up sizing as shown below. Of course my question is this how do I define this same script within flash so that the same thing happens when the user clicks on a link??? The actual linked pages are HTML coded pages not flash based but the home page where you link from which this script is used in is Flashed. Please Help......
Thanks for you time
Stuart
Help window;
href="javascript: pushhelp('help.html','height=250,innerHeight=250,width=240,innerWidth=240,left=220,top=300,scrollbars=1')"
Main menu;
techfocus.cfm
href="javascript: pushtime('timeline.html','height=400,innerHeight=400,width 00,innerWidth=600,left=100,top=100, scrollbars=yes')"
crossword.cfm
saver.cfm
Here's the javascript functions for the popup windows (remote...)
<SCRIPT language="javascript">
var remoteWin = null;
var myBrowser = navigator.appVersion;
function pushtime(url,size) {
if (myBrowser.indexOf("X11") == 5) {
// x+13, y+40
remoteWin = window.open(url,"time",size);
} else if (myBrowser.indexOf("Mac") == 5) {
remoteWin = window.open(url,"time",size);
} else {
remoteWin = window.open(url,"time",size);
}
if (remoteWin != null) {
remoteWin.rootWin = self;
remoteWin.location = url;
}
}
function fetch(url) {
rootWin.location = url;
}
var remoteWin = null;
this.name = "timeline";
var myBrowser = navigator.appVersion;
function pushhelp(url,size) {
if (myBrowser.indexOf("X11") == 5) {
// x+13, y+40
remoteWin = window.open(url,"help",size);
} else if (myBrowser.indexOf("Mac") == 5) {
remoteWin = window.open(url,"help",size);
} else {
remoteWin = window.open(url,"help",size);
}
if (remoteWin != null) {
remoteWin.rootWin = self;
remoteWin.location = url;
}
}
function fetch(url) {
rootWin.location = url;
}
</script>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer
Register before May 25 mention flasher and save 25%!! www.wacfest.com
Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]