Solved

Internet Explorer IE 7 - Object Tag issue...

Posted on 2006-10-24
17
1,291 Views
Last Modified: 2013-11-19
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
Comment
Question by:fivezerotwo
17 Comments
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17799584
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
 

Author Comment

by:fivezerotwo
ID: 17799739
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
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17803117
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
 

Author Comment

by:fivezerotwo
ID: 17806194
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
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17811550
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
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17811563
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
 

Author Comment

by:fivezerotwo
ID: 17811660
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
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17816234
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:fivezerotwo
ID: 17818784
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
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17820187
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
 

Author Comment

by:fivezerotwo
ID: 17858060
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
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17859380
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
 

Author Comment

by:fivezerotwo
ID: 17859871
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
 
LVL 1

Accepted Solution

by:
kodiakbear earned 0 total points
ID: 17886495
Closed, 250 points refunded.
kb
Experts Exchange Moderator
0
 
LVL 16

Expert Comment

by:HackneyCab
ID: 17888303
How can the points be refunded, and an answer accepted at the same time?
0
 

Expert Comment

by:ChidigamBhanu
ID: 23836588
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Read about why website design really matters in today's demanding market.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now