Java problem for newbie

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
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top