473,480 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

What's up with this object?

I needed to implement a "page within a page" and rather than use frames
(yecchh)
decided to try using the object tag. Flung a test page together, tried it
out in IE
and Firefox on my PC, it worked perfectly (apart from the right hand
scrollbar
in IE). Picked up the page to be inserted (
http://sms.connexus.co.nz/sst/default.asp)
and displayed it exactly as I hoped in both browsers. Great!

Uploaded the page to the site, tried it out in Firefox, worked perfectly.
But in
IE... the inserted page is blank, nothing displayed at all, zilch, nada,
just the
object box and the right hand scrollbar. The page concerned is here
http://www.safe-nz.org.nz/meetingsobject.htm

What's up with that? How come it displays the content when it's on my local
machine - but not when it's up on the webserver?

I'm asking this out of curiosity rather than desperation, I used an iframe
tag
instead which works OK in all situations, I'm just intrigued as to what
could
be behind such peculiar behaviour, and thought someone here might have
struck this before and might have some insight.
Regards
Peter J
Jul 23 '05 #1
9 1937
Peter Jenkins wrote:
I needed to implement a "page within a page" and rather than use frames
(yecchh)
decided to try using the object tag. Flung a test page together, tried it
out in IE
and Firefox on my PC, it worked perfectly (apart from the right hand
scrollbar
in IE). Picked up the page to be inserted (
http://sms.connexus.co.nz/sst/default.asp)
and displayed it exactly as I hoped in both browsers. Great! Uploaded the page to the site, tried it out in Firefox, worked perfectly.
But in
IE... the inserted page is blank, nothing displayed at all, zilch, nada,
just the
object box and the right hand scrollbar. The page concerned is here
http://www.safe-nz.org.nz/meetingsobject.htm What's up with that? How come it displays the content when it's on my
local machine - but not when it's up on the webserver? I'm asking this out of curiosity rather than desperation, I used an
iframe tag
instead which works OK in all situations, I'm just intrigued as to what
could
be behind such peculiar behaviour, and thought someone here might have
struck this before and might have some insight.
Regards
Peter J

Generally, when you have an issue between the local machine and the
webserver, it is due to the path name not being proper for the webserver.
For instance, you might show locally, /images/photo.jpg and the photo will
show locally but not on the server.
To correct, change the path name to the full name instead of the shortcut.
http://www.domain.com/images/photo.jpg.
Make sure you have a folder named "images" and that the characters match
case for case.
If you're still having problems, you may need to contact your host and see
precisely what they require for that situation.

Not sure just what it was you are asking about.
Using IE6, the page loaded just fine but there was nothing in the text box.
I don't believe that a text box can be loaded from an outside source in the
way you are attempting.
Jul 23 '05 #2

"Richard" <An*******@127.001> wrote in message

Generally, when you have an issue between the local machine and the
webserver, it is due to the path name not being proper for the webserver.
For instance, you might show locally, /images/photo.jpg and the photo will
show locally but not on the server.
To correct, change the path name to the full name instead of the shortcut.
http://www.domain.com/images/photo.jpg.
First thing I thought of.. made sure I used the full name. Also doesn't
explain
why it DOES work perfectly in Firefox
Make sure you have a folder named "images" and that the characters match
case for case.
If you're still having problems, you may need to contact your host and see
precisely what they require for that situation.

Not sure just what it was you are asking about.
Using IE6, the page loaded just fine but there was nothing in the text box. I don't believe that a text box can be loaded from an outside source in the way you are attempting.
Hmmmm... Firefox does it OK, appears to be another defect in IE, ho hum
I understand why seem people dislike it :-)
Regards
Peter J

Jul 23 '05 #3
On Fri, 26 Nov 2004 17:20:24 +1300, Peter Jenkins
<pe***********@extrer.com.enzed> wrote:
I needed to implement a "page within a page" and rather than use frames
(yecchh)
...
I'm asking this out of curiosity rather than desperation, I used an
iframe tag instead which works OK in all situations


Um.... there's a certain irony to that.
--
Mitja
Jul 23 '05 #4
Peter Jenkins wrote:
I needed to implement a "page within a page" and rather than use frames
decided to try using the object tag.

<snip>

Just curious, why didn't you use an iframe?

<style type="text/css">
..dpoll{
overflow: hidden;
width: 260px;
height: 90px;
border: 0px;
background-color: #FFFFFF;
}
</style>

<iframe class="dpoll" src="http://sms.connexus.co.nz/sst/default.asp">
</iframe>

Mike
Jul 23 '05 #5
mscir wrote:
Peter Jenkins wrote:
I needed to implement a "page within a page" and rather than use frames
decided to try using the object tag.

<snip>

Just curious, why didn't you use an iframe? <style type="text/css">
.dpoll{
overflow: hidden;
width: 260px;
height: 90px;
border: 0px;
background-color: #FFFFFF;
}
</style> <iframe class="dpoll" src="http://sms.connexus.co.nz/sst/default.asp">
</iframe> Mike


iframes are even more worse than frames and may only be supported by IE.
Jul 23 '05 #6
On Fri, 26 Nov 2004 07:53:41 -0600, Richard <An*******@127.001> wrote:
iframes [...] may only be supported by IE.


Where did you get that idea? I can see the contents of an iframe in all
graphical browsers I know and I can access its content easily with for
example Lynx if the iframe is set up correctly.

--
Weblog | <http://home.wanadoo.nl/b.de.zoete/_private/weblog.html>
Webontwerp | <http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html>
Zweefvliegen | <http://home.wanadoo.nl/b.de.zoete/html/vliegen.html>
Jul 23 '05 #7
Richard wrote:
mscir wrote:
> Just curious, why didn't you use an iframe?


iframes are even more worse than frames and may only be supported by IE.


Worse how?

Browser support for iframes:

http://www.websitegravy.com/pages/iframe/

- IE: IE appears to support the iframe since v4 (Mac since v3)
- Netscape: v6 and later
- Opera: the 4.02 beta is said to support iframes (Mac and Unix since
v5; BeOS since v3.62)
- Mozilla: since v1
- Bezilla: since v1
- Galleon: since v1.2
- WarpZilla: since v1
- Lynx: support since 2.8.2
http://www.cs.tut.fi/~jkorpela/html/iframe.html

- Internet Explorer has supported iframe since version 3. However, IE as
well other browsers have problems in the support, as discussed later in
this document.
- Netscape 6 supports iframe. It has been reported that Netscape 4.7 on
Mac has iframe support, but all Netscape 4.x versions on Windows
probably lack support. And it has been reported that Mozilla M12
supports iframe.
- iCab supports it, with a user option to disable the support.
- WebTV Plus has iframe support, but the "small bugs" include failure to
comply with the fundamental idea of using the content of the element
only if the inline frame itself is not displayed.
- Lynx 2.8.2 handles iframe in a manner similar to its treatment of
normal frames: it provides a link (preceded by the text IFRAME:) to the
document specified in the src attribute of the iframe tag and then
renders the content of the iframe element. As the link text, it uses the
name attribute if present, otherwise the URL (the src attribute value).
- Opera 4.0 beta supports iframe, with the option to turn the support
off (as independently of normal frame support), and the default setting
seems to be to have the support disabled.
http://www.quirksmode.org/

- iframes are not supported by Netscape 4.
- iframes inside layers are buggy in Opera 6 (solved in 7). Even outside
layers, they can be very buggy in Opera 5 on Mac.
- WebTV reloads the entire page when reloading an iframe.
- Using location.href in an iframe to change the page in the iframe does
not work in Explorer 4 and 5.0 on Windows and Opera 5 and 6.
Jul 23 '05 #8
Richard wrote:
iframes are even more worse than frames


How is an object element used in the same way as an iframe any better?
Jul 23 '05 #9
mscir wrote:
- Galleon: since v1.2


Pretty sure Galeon has supported iframes since day one -- it used the
already-quite-mature Gecko engine.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./ryan_adams/demolition/12_chin_up_cheer_up.ogg

Jul 23 '05 #10

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

Similar topics

0
6782
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
220
18789
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
21
1574
by: godwin | last post by:
Hi all, I wanna thank Martin for helping out with my ignorance concerning execution of stored procedure with python. Now i have decided to write a web app that googles into my companies...
12
3268
by: Steven T. Hatton | last post by:
This is something I've been looking at because it is central to a currently broken part of the KDevelop new application wizard. I'm not complaining about it being broken, It's a CVS images. ...
6
2541
by: Alfonso Morra | last post by:
I have written the following code, to test the concept of storing objects in a vector. I encounter two run time errors: 1). myClass gets destructed when pushed onto the vector 2). Prog throws a...
3
1769
by: Brett | last post by:
What is the following code doing? I see evt and event but what is the difference? <input type="radio" id="us_countryFlag1" name="us_country" onclick="togglePurDec(event)">Yes <script>...
9
3096
by: gulu man | last post by:
Hi, What is the substitute for COM objects in .NET? How can I create something similar to com in .net? Is it still possible? Thank you
21
13779
by: Helge Jensen | last post by:
I've got some data that has Set structure, that is membership, insert and delete is fast (O(1), hashing). I can't find a System.Collections interface that matches the operations naturally offered...
4
39928
by: Rachel Suddeth | last post by:
What is the difference between a managed/unmanaged resource, and how do you tell which is which? I'm trying to understand how to write some Dispose() methods, and we are supposed to put code that...
167
8135
by: darren | last post by:
Hi I have to write a multi-threaded program. I decided to take an OO approach to it. I had the idea to wrap up all of the thread functions in a mix-in class called Threadable. Then when an...
0
7037
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
6904
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...
0
7032
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,...
0
7076
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...
1
6730
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
2990
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...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
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...

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.