javascript frame refresh function for IE4.07

2001-04-26 Thread Mark Smyth

Hi all

This might be a bit of a shot in the dark, but heres hoping.

I'm using the function below to autorefresh a nav bar upon login to provide
a customised menu depending upon access.

SCRIPT LANGUAGE=JavaScript
function UpdateNavBar(){
 
parent.left.window.location.href=http://127.0.0.1/travel/home/nav.cfm;;
 return true;
}
/SCRIPT 

BODY topmargin=8 onLoad=UpdateNavBar(); 


The trouble is it works fine on IE 5, but the client reporteed that dosn't
work (they use IE4.07).

Does anyone know a function which will??

TIA
Mark

Mark Smyth 
Developer 
Systems Union eBusiness Solutions 
01865 880800 
[EMAIL PROTECTED]
www.systemsunion.com 


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javascript frame refresh function for IE4.07

2001-04-26 Thread Phil Ewington

Try document.frames[left].location.href



Phil.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javascript frame refresh function for IE4.07

2001-04-26 Thread Phil Ewington

Sorry, please ignore last post, the correct code is

parent.document.frames['left'].location = nav.cfm;



Phil.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Frame Refresh

2000-05-07 Thread Russ Michaels

If you just want to target the form to another frame to process it then 
just use
FORM action="action.cfm" TARGET="framename".
Using javascript to refresh another frame wouldn't actually accomplish 
anything as the form wont be submitted.

Russ



  Satachi Internet Development
--
 Tel/Fax: 0870 787 3610
 Mobile: 07050 648684
 http://www.satachi.com
 email: [EMAIL PROTECTED]

--
 To join the Satachi-news mailing list
 send a blank e-mail to
 mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
 or visit http://www.satachi.listbot.comsatachi.listbot.com

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Frame Refresh

2000-05-06 Thread Brett Payne-Rhodes

My apologies if this question has been asked before. I've searched the
archive with no success, so my thanks for your tolerance if I've just
not found the answer...

In essence I have a page with a number of frames. On one frame I enter a
search value and click a 'submit' button. The button links to an
'action'.cfm file. What I want to happen is that the 'action' file
forces a refresh of another frame without any further input from the
user, ie there is no change to the frame that called the action.cfm
file. I've used action.cfm files before but I have usually put up a
message in the first frame saying something like 'Done That' with
another submit button which then refreshes the entire frameset, but I
would like to avoid that scenario in this case if I can.

I'm guessing that I will need a javascript function to do this and I'm
looking at that too but I just seem to be going in circles...

Many Thanks,

Brett Payne-Rhodes
B)
Eaglehawk Computing
[EMAIL PROTECTED]
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Frame Refresh

2000-05-06 Thread Computer Simplistics Suppoer

Sounds like you need an "on-load" script. Try:

script language="JavaScript"
!--
function MM_goToURL() { file://v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i(args.length-1); i+=2)
eval(args[i]+".location='"+args[i+1]+"'");
}
file://--
/script

body bgcolor="#FF"
onLoad="MM_goToURL('parent.frames[\'nameofframe\']','nameofpage.html');retur
n document.MM_returnValue"

replace nameofframe and nameofpage with your own.

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315

- Original Message -
From: "Brett Payne-Rhodes" [EMAIL PROTECTED]
To: "cf-talk" [EMAIL PROTECTED]
Sent: Saturday, May 06, 2000 7:13 PM
Subject: Frame Refresh


 My apologies if this question has been asked before. I've searched the
 archive with no success, so my thanks for your tolerance if I've just
 not found the answer...

 In essence I have a page with a number of frames. On one frame I enter a
 search value and click a 'submit' button. The button links to an
 'action'.cfm file. What I want to happen is that the 'action' file
 forces a refresh of another frame without any further input from the
 user, ie there is no change to the frame that called the action.cfm
 file. I've used action.cfm files before but I have usually put up a
 message in the first frame saying something like 'Done That' with
 another submit button which then refreshes the entire frameset, but I
 would like to avoid that scenario in this case if I can.

 I'm guessing that I will need a javascript function to do this and I'm
 looking at that too but I just seem to be going in circles...

 Many Thanks,

 Brett Payne-Rhodes
 B)
 Eaglehawk Computing
 [EMAIL PROTECTED]
 --

 Archives: http://www.eGroups.com/list/cf-talk
 To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.




--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.