Java problem for newbie

  • Thread starter Thread starter QBAdvisorLinda
  • Start date Start date
Q

QBAdvisorLinda

function goURL(){

location.href=msg_url[count];

}

The above line is causing a visual basic error.
This is part of a script which allows
messages to change within a cell within a table.

The error only occurs when I clicked on this changing
message.

What does the above 2 lines do? Do I need to put
my url in this line somewhere?

Linda Saltz
www.QBalance.com
 
Hi Linda,

First of all, I'm rather curious as to why you would be getting a VBScript
error, since what you posted is JavaScript. I'm going to assume that it is
JavaScript for the moment. If it was, what it would be doing is navigating
the browser to a new URL, which would be in a global array of string values
named "msg_url[]" and the "count" would have to be a global variable. So, if
this is the only script on the page, it would not work.

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Big things are made up of
lots of Little things.
 
Back
Top