Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

scrollbar problem!!!!

Posted on 1998-10-29
1
Medium Priority
?
168 Views
Last Modified: 2010-04-30
We have scrollbar in javascript, but we need it to work on internet Explorer. Is there code we can add to this thing to make it work in visual basic? Or does anyone know how to make it compatible with both Netscape and internet Explorer?
This is the script we have:

<SCRIPT LANGUAGE="JavaScript"><!-- Begin
function jumpTo(){
var URL = document.form.list.options[document.form.list.selectedIndex].value;
parent.frames[0].location=URL

}
// End --></SCRIPT></HEAD><DIV ALIGN=right><SELECT NAME="list"
onchange="jumpTo()">
   <OPTION>Please Select
   <OPTION VALUE="SRAprofile.html">About S'RA
   <OPTION VALUE="contact.html">Contact
   <OPTION VALUE="links.html">Links
</SELECT></DIV></P>
</FORM>
</BODY>
</HTML>

0
Comment
Question by:mgratama
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
RobS earned 100 total points
ID: 1442352
Do you mean selection list when you say scrollbar (I'm confused).
It seems like you want to jump to a url when the user selects an option from the combo box.

If that is the case, he's a javaScript that works (the JavaScript code is directly in the select tag):

      <SELECT NAME = "list" onChange = "if (htmlSite.options[list.selectedIndex].value != 'nope'){location.href = list.options[list.selectedIndex].value};">
        <OPTION VALUE="nope">Please Select
        <OPTION VALUE="SRAprofile.html">About S'RA
        <OPTION VALUE="contact.html">Contact
        <OPTION VALUE="links.html">Links
      </SELECT>

Hope this helps.  It works in IE and Netscape
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question