Simple VBscript acting funny  09-22-2005, 04:47 PM I have a
simple vbscript to make text appear and disappear with the click
of a link. I am using this on a FAQ page so you can quickly go
down the list of questions and just open the text to the answer
you want.  Anyways - it works fine except if you are at the
bottom of the page and click the link it jumps the browser to
the top - not sure why it is doing that. :confused:  Here is the
script: <script LANGUAGE="VBScript"> sub show (id) if
id.style.display = "" then id.style.display = "none"
id.style.display = "" end if end sub   Here is a link: <a
href="#" onclick="show(q1)">Question here</a>  Here is the span
this link would open: <span id="q1" style="display: none">Answer
here</span>  LIke I said it works fine except it wants to kick
the browser up the top of page if you are at the bottom whne you
click.  Any thoughts?  09-22-2005, 04:55 PM You do realize
vbscript on the client is only supported by IE, so those of us
who won't or can't use it are screwed, ri