473,785 Members | 2,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

<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=VBScri pt>
Function Toggle()
If toggleView.inne rText = "Show Files" Then
toggleView.inne rText = "Hide Files"
signatures.styl e.display = "none"
FileList.style. display = ""
MainTable.style .display = ""
Else
toggleView.inne rText = "Show Files"
signatures.styl e.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:T oggle>Show Files</a>
</td><td>
<a href="http://www.example.org " TARGET="_blank" >EXAMPLE</a>
</td>
</table>
<hr>
<div id=MainTable style=display:n one><table width="100%"><t r><td>
<image src="background 1.jpg">
</td><td><object id=FileList border=0
width=100% height=50% tabindex=1
style=display:n one
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 4919
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.or g/>
(2) Client side VBScript will only work in IE, you should probably consider
rewriting it in JavaScript (and asking for help in comp.lang.javas cript)

--
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
3115
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, which needs a Quicktime plugin, and one Java applet. He's also kindly supplied me with sample HTML code for each. The code looks like this (simplified):
6
2801
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" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>&lt;object&gt; test</title>
4
25413
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 following error: Argument '1': cannot convert from 'GenericsPOC.ArticleCollection' to 'System.Collections.Generic.IList<object>' I tried casting specifically to IList<object> but then I get a runtime error: Unable to cast object of type...
1
1648
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 message....
4
12046
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
1859
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" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" runat="server"> <param name="URL" value="mms://srv-enterprise/site_diffusion/( hi want to add a value here !!!!!!!!! )"/> <param name="SendPlayStateChangeEvents" value="True"/> <param...
0
2000
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 logging out. This worked perfectly on my end, but the website being loaded in the iframe was not functioning properly because it was being loaded within a frame. I then tried using the <object> to load the website within my .aspx page, and the website...
9
6999
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, (MyClass is object) should always evaluate as true. However, if I have a method with the following signature:
4
8615
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 href="http://www.url.com"><object blah....> </object></a> ....but this doesn't work.
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.