NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Error when trying to bypass activex (IE) for Java Applet

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-08-2008, 07:36 AM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: Mar 2005
Location: Singapore
Posts: 1,836
1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of
 



Animal Cruelty

Error when trying to bypass activex (IE) for Java Applet


I placed the following code in the html.

It did stop the activex from appearing in IE.
I double check the website in Opera and Safari to make sure the Java Applet appear fine and it did.

But when I check with Firefox, the Java Applet fails to load.

Why is that so?
ClickFix.js is already in the root folder.
????: NamePros.com http://www.namepros.com/programming/429629-error-when-trying-bypass-activex-ie.html


Quote:
<!--[if gte IE 6]>
<script language="javascript">
document.write("<NOSCRIPT class=clickfix>
<OBJECT style=\"display:none\">");
</script>
<!--<![endif]-->

----Java Applet----

<!--[if gte IE 6]>
</OBJECT>
</NOSCRIPT>
<!--<![endif]-->
1901gt is offline  
Old 02-08-2008, 09:32 AM   #2 (permalink)
Senior Member
 
Eric's Avatar
Join Date: Mar 2005
Posts: 4,948
Eric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatness
 

Member of the Month
MOTM September 2005
Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Animal Rescue Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Baby Health Cancer Alzheimer's Protect Our Planet Cancer Survivorship SIDS Child Abuse Diabetes Protect Our Planet Multiple Sclerosis Autism Adoption Special Olympics
1.) No need for the javascript.
2.) You had:
Code:
<!--<![endif]-->
Instead of:
Code:
<![endif]-->
Code:
<!--[if gte IE 6]>
<noscript class="clickfix">
    <object style="display: none;">
<![endif]-->

----Java Applet----

<!--[if gte IE 6]>
    </object>
</noscript>
<![endif]-->
Eric is offline  
Old 02-08-2008, 11:04 AM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: Mar 2005
Location: Singapore
Posts: 1,836
1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of
 



Animal Cruelty
But I don't understand why this thing happen..



The endif closing tag appear above the java applet.
1901gt is offline  
Old 02-09-2008, 10:22 AM THREAD STARTER               #4 (permalink)
Senior Member
Join Date: Mar 2005
Location: Singapore
Posts: 1,836
1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of
 



Animal Cruelty
anyone?
1901gt is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:48 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger