.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 13th, 2004, 07:11 PM
guma1 guma1 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 guma1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
vbscript client side

I have a vbscript on the client side that checks for a plugin.
After checking for the plugin however I set a variable to a string.
I need to access this variable outside the script.

<script language="VBScript">
dim obj
on error resume next
set obj = CreateObject("xxx")

if isObject(obj) Then
page = "Java.asp"
Else
page = "Nojava.asp"
End If
</script>

<frameset rows="5,*" cols="*" framespacing="1" frameborder="NO" border="1">
<frame src="p1.html" name="AppletFrame" scrolling="no" noresize>
<frame src=XXpageXX age="VBSCRIPT"> source </script> name="ContentFrame" scrolling="auto" id="ContentFrame">
</frameset><noframes></noframes>


I want to know how to access the variable page and use it in frame src=XXpageXX. Something similar to <%=page%> that works here.

Thanks in advance.

Reply With Quote
  #2  
Old January 15th, 2004, 12:39 PM
guma1 guma1 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 3 guma1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
never mind!! I realise the question itself is incorrect.
Sorry about the inconvenience. Still learning vbscript :-(

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > vbscript client side


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT