HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

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 December 18th, 2000, 10:01 PM
amark amark is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: singapore
Posts: 2 amark User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi,

the following simple code working properly in internet explorer but not in netscape.

i need exactly like internet explorer in both browsers

<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>

<P><form name=form1>
<input type=hidden name=ti value=<%=t%>>
<input type=hidden name=ts value=<%=t-3%>>
</form>
<br>
<form name=form2>
<INPUT type="button" value="Control" id=button2 name=button2 width=10 style="BACKGROUND-COLOR:red;height:45px; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH:0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH:3px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH:0px; COLOR: white; FONT-SIZE: thin;" readonly LANGUAGE=javascript onclick="return button2_onclick()">
<A HREF="http://165.21.119.121:8890/cgi-bin/control.cgi?camera=1&presetposno=1" TARGET="hidden_frame">
<INPUT type="button" value="1" id=button7 name=button7 style="BACKGROUND-COLOR:blue;height:45px; width=48px; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH:0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH:2px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH:0px; COLOR: white; FONT-SIZE: thin;"></a>
<A HREF="http://165.21.119.121:8890/cgi-bin/control.cgi?camera=1&presetposno=2" TARGET="hidden_frame">
<INPUT type="button" value="2" id=button6 name=button6 style="BACKGROUND-COLOR:blue; height:45px; width=48px; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH:0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH:2px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH:0px; COLOR: white; FONT-SIZE: thin;"></a>
<A HREF="http://165.21.119.121:8890/cgi-bin/control.cgi?camera=1&presetposno=3" TARGET="hidden_frame">
<INPUT type="button" value="3" id=button3 name=button3 style="BACKGROUND-COLOR:blue; height:45px; width=48px; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH:0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH:2px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH:0px; COLOR: white; FONT-SIZE: thin;"></a>
<A HREF="http://165.21.119.121:8890/cgi-bin/control.cgi?camera=1&presetposno=4" TARGET="hidden_frame">
<INPUT type="button" value="4" id=button4 name=button4 style="BACKGROUND-COLOR:blue; height:45px; width=48px; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH:0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH:2px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH:0px; COLOR: white; FONT-SIZE: thin;"></a>
<A HREF="http://165.21.119.121:8890/cgi-bin/control.cgi?camera=1&presetposno=5" TARGET="hidden_frame">
<INPUT type="button" value="5" id=button5 name=button5 style="BACKGROUND-COLOR:blue; height:45px; width=48px; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH:0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH:2px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH:0px; COLOR: white; FONT-SIZE: thin;"></a>

<b><font color=green">
<b id="wait" style="LEFT:90px; POSITION: absolute; TOP:280px">Please wait
<INPUT id=text2 name=text2 size=2 style="BACKGROUND-COLOR: white; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH: 0px; COLOR: mediumseagreen; FONT-SIZE: medium; VISIBILITY: visible" readonly>seconds</b></b>
</font>
<b id="left" style="LEFT:90px; POSITION: absolute; TOP:280px"><font color="red">time left
<INPUT id=text3 name=text3 size=2 style="BACKGROUND-COLOR: white; BORDER-BOTTOM-COLOR: white; BORDER-BOTTOM-WIDTH:0px; BORDER-LEFT-COLOR: white; BORDER-LEFT-WIDTH:0px; BORDER-RIGHT-COLOR: white; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-COLOR: white; BORDER-TOP-WIDTH:0px; COLOR: red; FONT-SIZE: medium;" readonly>seconds</font></b>
</form>
</P>

</BODY>
</HTML>


thank u

amar

Reply With Quote
  #2  
Old December 19th, 2000, 10:25 AM
luciddream luciddream is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: Ft. Lauderdale, FL, US
Posts: 29 luciddream User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well, your code doesn't work in ie either, you are calling functions that don't exist.

also, readonly, i believe is ie only, if you want the same functionality you can use onfocus="this.blur();"

many of the styles you are using are ie only.

and value=<%=t%>

may cause an error in netscape, you should use:

value="<%=t%>"


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > browser support


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





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