Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Help! Can't change frame content via subs

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,752
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help! Can't change frame content via subs
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Help! Can't change frame content via subs - 1/8/2003 11:39:49 PM   
  orgdoctor

 

Posts: 1
Score: 0
Joined: 1/8/2003
From: USA
Status: offline

I'm an experienced programmer but new to VBScript. I've spent two days on this puzzle and finally have to admit I'm at a loss. Would someone be so kind as to tell me what I'm doing wrong?

In a separate HTML file I set up a page with two frames: Navigator and Main. Then, in the page below I try to change the content of the Main frame by clicking on the content links in the Navigator frame. Rather than just use an anchor to make the change, I have each anchor call a VBScript Sub to make the change. I'm doing this because I want to add other code to the Subs later to alter the pages called before I display them. Here is the code that won't work (I'm not sure you'll be able to see this code because the editor preview gave the interpreted page view of it; haven't figured out how to turn HTML off):





Untitled








Score Report Sections





Overall Performance


Job Function Performance


Performance Within Job Functions


Reported Performance Distributions


Position Feasibility Analysis





-->

When I run this (in IE6) I get a progress bar indicating something is loading when I click on the links in the navigation frame, but nothing changes in the Main frame. I know the call is reaching the Subs because I've tested them with Msgboxes substituted for the page calls.

Show off your stuff, guys. If you can solve this one after it completely defeated me, I will be really impressed and grateful.

Jeff Kane
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help! Can't change frame content via subs Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts