Internet Explorer & objects... HELP!

This is a discussion on "Internet Explorer & objects... HELP!" within the Web Page Design section. This forum, and the thread "Internet Explorer & objects... HELP! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 5th, 2005, 21:06
New Member
Join Date: Jul 2005
Location: Thousand Oaks, CA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Internet Explorer & objects... HELP!

I've looked everywhere I can think for a solution and haven't found anything so far. I hope you can help!

In my website there are boxes on the side that I want to have loaded from separate documents. I used to do them in iframes but I found out last week that those have been deprecated. So I changed all of my iframes to be objects type=text/html. My page now loads beautifully in firefox (of course) but when I load it in Internet Explorer the boxes show up as lines. Most unfortunate.

What can I do to make these boxes show up in IE like they do in firefox? I need to keep the content of these boxes separate so I can update the information for all sub-pages once rather than on each individual page. This information may change on a weekly basis and going through a page at a time would be incredibly time consuming.

Here is a link to the page: http://www.theronyx.com

The boxes on the right hand side are the ones that are causing difficulty. The code for the boxes is:
Code: Select all
<div class="calltoaction">
		<object data="calltoaction/call2act1.htm" type="text/html"></object>
		</div>
		<div class="calltoaction">
		<object data="calltoaction/call2act2.htm" type="text/html"></object>
		</div>
		<div class="calltoaction">
		<object data="calltoaction/call2act3.htm" type="text/html"></object>
		</div>
You can find it at line 43.

Thank you in advance for help!!

-Brittny
Reply With Quote

  #2 (permalink)  
Old Jul 5th, 2005, 21:18
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Using server side includes would be best. Do a search in the forumz here for SSI to find examples and links for it.
Reply With Quote
  #3 (permalink)  
Old Jul 5th, 2005, 22:28
New Member
Join Date: Jul 2005
Location: Thousand Oaks, CA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
fried brain

Thanks, I will look into SSI further. But, is there a way to make it work the way I have it set up currently? If I can keep it with <object> tags like I already have it I'd rather do it that way. I really just want to know what it is that's making it so it won't render in IE. I'm surprised that more people aren't having the same problem as I am... do I just need to have a size set for the object boxes so they will render at whatever size I set? I've been avoiding doing so because I would rather have them be variable depending on what content is going in. But, I'd rather have a size set and have it non-variable, than have it render incorrectly in IE.

Sorry, I don't want to sound like I'm ungrateful for that input, because really I do think it will be useful. I've just been trying to learn a lot of this as I go, and my brain's starting to feel a fried. So, I will look into SSI, I just think that most of it will look like gibberish until I let everything I've already forced into my head process a little bit further, yaknow?

Thanks!
-Brittny
Reply With Quote
  #4 (permalink)  
Old Jul 5th, 2005, 22:42
New Member
Join Date: Jul 2005
Location: Thousand Oaks, CA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
guess not...

Just kidding.... I tried setting an absolute size value to the boxes and they just show up empty. So apparently the problem is that the object tag's data attribute isn't supported? I found a site that showed how to make objects of type image work in IE(http://code.jenseng.com/object/objectifier.html) using an XSL... is there a similar fix for objects type=text/html?

It looks like you're right SSI might be my best bet, but so far it's making my head spin.

who would have thought that getting a webpage up to standards would be made so difficult by the most commonly used browser?!

Thanks!
-Brittny
Reply With Quote
  #5 (permalink)  
Old Jul 6th, 2005, 05:41
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I've never seen object tags used like that before. IE has it's own databinding methods but they're specific to IE.

Iframes with xhtml transitional doctype or SSI is the "normal" way of doing that without resorting to server side scripting.
Reply With Quote
  #6 (permalink)  
Old Jul 6th, 2005, 08:03
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
what makes you think iframes are depreciated?

I think there might be security issues with using objects in IE, that might be why they dont work, i dont know anyone who has used them in the way you've used them.

If you use SSI you just need one line of code:

above is for ASP, if you're using PHP it might be abit different but along the same lines...
Reply With Quote
  #7 (permalink)  
Old Jul 6th, 2005, 17:14
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
With PHP you simply do:
Code: Select all
include('file.html');
Reply With Quote
  #8 (permalink)  
Old Jul 6th, 2005, 23:29
New Member
Join Date: Jul 2005
Location: Thousand Oaks, CA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you!!

Thank you all soo much! I spent the remainder of the day yesterday and this morning figuring out SSI. The biggest problem was that for some reason apache isn't set up correctly on our testing server... but it is on our web hosting server. So our network admin had to come in and help me out. The website will be live later tonight with all it's new improvements.

Quote:
I think there might be security issues with using objects in IE, that might be why they dont work, i dont know anyone who has used them in the way you've used them.
I guess I must just be really creative to use object tags in a completely new wrong way! :P Anyways, thanks again!

-Brittny
Web Master at www.theronyx.com
Reply With Quote
Reply

Tags
internet, explorer, objects, help

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer 6.0 & 5.5 don't like me bodgit Web Page Design 0 May 10th, 2008 17:40
Internet Explorer 8 CloudedVision Webforumz Cafe 9 Feb 20th, 2008 23:05
CSS Internet Explorer only Kropotkin Web Page Design 8 Sep 5th, 2007 12:34
firefox and Internet Explorer! crackafaza Web Page Design 2 Jul 2nd, 2007 10:43
Internet Explorer Vs Firefox Shoray Introduce Yourself 9 Jun 30th, 2007 08:24


All times are GMT. The time now is 17:44.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43