• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1341
  • Last Modified:

Internet Explorer IE 7 - Object Tag issue...

we run a text editor on our system that is no longer working after upgrades to IE 7.0. Ive searched and searched and searched for help on this and nothing is available.

The code...

<tr>
<td width="100%">
<TEXTAREA id="plainmsg" name="callinfo" style=""></TEXTAREA>
<OBJECT data="htmleditor.ihtml" height="300" id="plainedt" style="" type="text/x-scriptlet" width="100%" viewastext></OBJECT>
</td>
</tr>

in combination with some javascript and stylesheets.


the area shows as a missing image red X.

ANY HELP ON THIS APPRECIATED!!!!
0
fivezerotwo
Asked:
fivezerotwo
1 Solution
 
HackneyCabCommented:
I'm guessing you're seeing the red X because IE7 has no idea how to handle an object of type text/x-scriptlet. For that matter, neither would I. What software is needed to run a text/x-scriptlet and what does it do? I've never heard of such a type. Possibly a plug-in does exist in your copy of IE6, but not in your new copy of IE7. Check to see whether an update for the plug-in exists, and then ask yourself whether anyone else will be able to see objects of type text/x-scriptlet.

Also, the viewastext attribute is not part of the W3C specification for the object element:

http://www.w3.org/TR/html4/struct/objects.html

So I doubt that's doing you much good either.
0
 
fivezerotwoAuthor Commented:
Honestly, its been put in my lap to fix. I didnt write the original bit. I know that IE6 never forced a download or warned of any issues. Thats why Im so confused as to why IE7 has issue with it. Its a simple Rich Text Editor, the "text/x-scriptlet" is odd to me as well, but many instances of it can be found around the net.

Thanks for the feedback, Ive posted this question tons of places and they all just sit. Thanks!!
0
 
HackneyCabCommented:
It looks like this object is used in conjunction with Javascript. Which means that I'm of no use. I despise Javascript and DHTML. They caused me endless trouble.

You may be better off asking this question in the Javascript channel.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
fivezerotwoAuthor Commented:
heres something that may help in diagnosing this ordeal... acting on the HackneyCab statement about the TYPE attribute. I changed the TYPE to text/html and the text editor shows in what appears to be an iFrame. Im pretty sure its still busted, but at least getting somewhere with it. any one know where a list of all possible TYPE's are?
0
 
HackneyCabCommented:
If you're trying to create a scriptlet, then I'm guessing that the type of "text/x-scriptlet" is the correct type. I just don't know why IE7 doesn't understand it. Possibly IE7 has broken compatibility with this feature. It's the sort of thing that makes it a nightmare to develop features that work in all browsers, because Microsoft never stick with standards.
0
 
HackneyCabCommented:
I think you're best off asking a moderator to delete this question with a refund of points, and then asking again in a more specific channel. I'm guessing that your scriptlet is written in Javascript. If so, you're best off asking there.
0
 
fivezerotwoAuthor Commented:
Thanks again HackneyCab! Ill see about posting it in a more specific forum and hopefully find a fix.

Im right there with you. Thankfully, we took the path of requiring and only supporting IE with our system. I hated to do it, but a small number of developers and a large number of clients will do that. Thanks again for you help!!

0
 
HackneyCabCommented:
Is your site only for internal use?

If it's for public use, then I strongly urge you to take other browsers into account. For a start, many countries now have an accessibility law that requires sight-impaired visitors be taken into account. Developing for only IE will certainly leave you afoul of such laws.
0
 
fivezerotwoAuthor Commented:
its an internal system. our users are car dealerships and we are a CRM for them. so we can kind of set the standards. i agree on developing for all browsers, as a personal rule on any side gigs that i do. but they have taken the low road and decided to develop for IE, and if anything breaks in other browsers, so be it. the boss sets the rules i just follow 'em. =)
0
 
HackneyCabCommented:
I hated the people who specified the websites I used to develop. They didn't have a clue. My favourite phrase was: "I could do that, but it would take several weeks longer to finish than my suggestion." They caved every time.

Good luck with your project.
0
 
fivezerotwoAuthor Commented:
the answer to this issue is that IE7 no longer supports Scriplets... But there is a work around that will allow you to enable them.

By going to Tools -> Internet Options -> Security Tab -> Internet Zone -> Custom Level Button -> Scroll until you see ActiveX Controls and Plug-Ins -> "Allow Scriplets" Set to Enable -> Apply and OK out of the windows.

Thanks go to some one who read my post on another forum and emailed me directly. I love the community of developers!!
0
 
HackneyCabCommented:
As you've solved the problem yourself, post in the Community channel and ask that this question be closed (not deleted) with points refunded to you.

If scriptlets are disabled by default in IE7, then I have to assume that MS are nervous about the security implications of having scriptlets enabled.
0
 
fivezerotwoAuthor Commented:
i would agree with the security issues and thier fears. although, from what ive read, they actually started the ball rolling on phasing them out in IE5.5. they just dropped the hammer in this release.

thanks for your time Hackney!! Ill drop a note in the Community forum for this thread. Thanks!!
0
 
kodiakbearCommented:
Closed, 250 points refunded.
kb
Experts Exchange Moderator
0
 
HackneyCabCommented:
How can the points be refunded, and an answer accepted at the same time?
0
 
ChidigamBhanuCommented:
I have  simillar  problem with IE 8.0 in Windows 7.0,
file: main.htm
the code <object id = second data=sample/js/second.htm type="text/x-scriptlet" VIEWASTEXT</object>, c
code in second.htm
function second()
{
this.AddStage = public_AddStage;
}
when refer second.AddStage() in main.htm, IE 8.0 throwsa  jScript error as Object or property not found. i cannot understand why i am not able refer AddStage function. It is working fine IE 6.0 and IE 7.0
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now