473,385 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

<OBJECT> tag

When I put my <object> tag out of <table> (and <div>), VBScript code
below works fine. When I put <object> tag into <table> (and put
<table> into <div> tag) it doesn't work. What I am doing wrong?
<html>
<script language=VBScript>
Function Toggle()
If toggleView.innerText = "Show Files" Then
toggleView.innerText = "Hide Files"
signatures.style.display = "none"
FileList.style.display = ""
MainTable.style.display = ""
Else
toggleView.innerText = "Show Files"
signatures.style.display = ""
FileList.style.display = "none"
MainTable.style.display = "none"
End If
End Function
</script>

<body>
<table width="100%">
<tr><td>
<b>%THISDIRNAME%</b>--------------
<a id=toggleView href=vbscript:Toggle>Show Files</a>
</td><td>
<a href="http://www.example.org" TARGET="_blank">EXAMPLE</a>
</td>
</table>
<hr>
<div id=MainTable style=display:none><table width="100%"><tr><td>
<image src="background1.jpg">
</td><td><object id=FileList border=0
width=100% height=50% tabindex=1
style=display:none
classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2">
</object>
</td></tr></table>
</div>
<div id=signatures>
Here goes the actual content of the folder...
</div>
</body>
</html>
Jul 20 '05 #1
3 4911
Milan wrote:
When I put my <object> tag out of <table> (and <div>), VBScript code
below works fine. When I put <object> tag into <table> (and put
<table> into <div> tag) it doesn't work. What I am doing wrong?


I am really not sure what you mean by this, but...

(1) Your HTML is invalid. Try fixing that first. <http://validator.w3.org/>
(2) Client side VBScript will only work in IE, you should probably consider
rewriting it in JavaScript (and asking for help in comp.lang.javascript)

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #2
David Dorward wrote:
(2) Client side VBScript will only work in IE


And so will ActiveX.

Jul 20 '05 #3
Keith Bowes <do****@spam.me> wrote:
(2) Client side VBScript will only work in IE


And so will ActiveX.


IIRC Mozilla has implemented a small subset of ActiveX support, afaik
it's limited to MS MediaPlayer stuff.

--
Spartanicus
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
6
by: Christopher Benson-Manica | last post by:
(I posted this as a reply to my thread about iframes, but I think it may get mostly ignored there.) http://ataru.gomen.org/files/test.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
4
by: KC | last post by:
Could some one explain to me the casting rules for sending generic lists, ex. List<Person>, to a function that accepts List<object>? I cannot get the following easy-cheesy app to work. I get the...
1
by: easy.lin | last post by:
.... <object id="10">door</object> .... I try to write this in clipse XSD editor <element name="object" type="string"> <attribute name="id" type="int"></attribute> </element> but get wrong...
4
by: colson | last post by:
Hi, If I have a class A, and a List<List<object>> containing instances of A. How do I explicitly cast List<List<object>> as List<List<A>>?
4
by: msnews.microsoft.com | last post by:
hello every one i am using media player in internet explorer but i cannot access it directly in code behind, so do you know a way to access it? <object id="video123"...
0
by: diver | last post by:
I was using an <iframe> to load a website within my .aspx page. When the user "logged out", I called a javascript break out function to breakout of the frame and load the appropriate page when...
9
by: Stephan Steiner | last post by:
Hi I seem to have a bit of trouble understanding one bit of how generics work: In C#, every class automatically derives from object, and inherits a bunch of properties (i.e. ToString()). Thus,...
4
by: Alan Silver | last post by:
Hello, I have an <objecttag that is used to display a Flash file. I would like the whole Flash file to be a link. The obvious thought would be to do this... <a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.