Advertisement

07.11.2008 at 03:07PM PDT, ID: 23558811
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

This page works in IE and not in Firefox. How do I make it work in both IE and Firefox?

Asked by lucavilla in JavaScript, Cascading Style Sheets (CSS), PHP Scripting Language

Tags:

This page (indexl.html + config.xml) display correctly in IE but is broken in Firefox. Why? how can I modify it to work in Firefox too?


~~~~~~~~~~~~~~~~~~~~~ file index.html ~~~~~~~~~~~~~~~~~~~~~

<html><head><title>Mobile Home</title><link rel="stylesheet" type="text/css" href="mobile.css"/></head>
<body onload='document.searchForm.searchText.focus();'>
<div class="header">
<b>Mobile Hompage</b>
</div>
<script language="JavaScript">
function doSearch(){
      searchString = document.searchForm.searchText.value;
      if(searchString != ""){
            searchEngine = document.searchForm.whichEngine.selectedIndex - 1;
            if (searchEngine != -1) {
                  searchURL = searchNodes.item(searchEngine).getAttribute('urlprefix') + searchString +searchNodes.item(searchEngine).getAttribute('urlsuffix')
                  document.location.href = searchURL;
            }
            else
            {
                  document.searchForm.whichEngine.focus();
            }
      }
      else
      {
            document.searchForm.searchText.focus();
      }
}
var configDoc = new ActiveXObject("Microsoft.XMLDOM")
configDoc.async = false
configDoc.load("config.xml")
document.write('<form name="searchForm"><input name="searchText" size="16" type="text"> <select name="whichEngine" onChange="doSearch()">')
var searchNodes = configDoc.selectNodes("/config/searches/search")
document.write('<option selected>Select Search...')
for(i=0;i<searchNodes.length;i++){
      document.write('<option>'+searchNodes.item(i).getAttribute('name'))
}
document.write('</select><input value="Go" size="4" type="button" onClick="doSearch()"></form>')
</script>
<b><div class="results" id="myHeader">&nbsp;</div></b>
</body></html>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



~~~~~~~~~~~~~~~~~~~~~ file config.xml ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<config>
      <searches>
            <search name="Google Web" urlprefix="http://www.google.it/search?hl=it&amp;q=" urlsuffix="&amp;meta="/>
            <search name="Google Web IT" urlprefix="http://www.google.it/search?hl=it&amp;q=" urlsuffix="&amp;meta=lr%3Dlang_it"/>
            <search name="Google Groups" urlprefix="http://groups.google.it/groups?hl=it&amp;q=" urlsuffix="&amp;meta="/>
            <search name="Wikipedia" urlprefix="http://en.wikipedia.org/wiki/" urlsuffix=""/>
            <search name="Wikipedia IT" urlprefix="http://it.wikipedia.org/wiki/" urlsuffix=""/>
            <search name="Sapere.it" urlprefix="http://www.sapere.it/SearchWeb/results.jsp?q=" urlsuffix=""/>
            <search name="Etimo.it" urlprefix="http://etimo.it/?term=" urlsuffix=""/>
            <search name="IT civil code" urlprefix="mobile.php?action=itcivil&amp;search=" urlsuffix=""/>
            <search name="IT penal code" urlprefix="mobile.php?action=itpenal&amp;search=" urlsuffix=""/>
            <search name="Juridical dictionary" urlprefix="mobile.php?action=jurid&amp;search=" urlsuffix=""/>
            <search name="Italian laws" urlprefix="mobile.php?action=itlaws&amp;search=" urlsuffix=""/>
            <search name="Garzanti.it" urlprefix="mobile.php?action=garz&amp;search=" urlsuffix=""/>
            <search name="eBay.it ended" urlprefix="mobile.php?action=ebayend&amp;search=" urlsuffix=""/>
            <search name="eBay.it current" urlprefix="http://search.ebay.it/search/search.dll?cgiurl=http%3A%2F%2Fcgi.ebay.it%2Fws%2F&amp;fkr=1&amp;from=R8&amp;satitle=" urlsuffix="&amp;category0="/>
      </searches>
</config>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Start Free Trial
[+][-]07.11.2008 at 03:15PM PDT, ID: 21986485

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.11.2008 at 03:18PM PDT, ID: 21986500

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2008 at 03:19PM PDT, ID: 21986507

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2008 at 04:07PM PDT, ID: 21986718

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2008 at 04:47PM PDT, ID: 21986839

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.13.2008 at 02:08PM PDT, ID: 21994212

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Cascading Style Sheets (CSS), PHP Scripting Language
Tags: PHP, ActiveX
Sign Up Now!
Solution Provided By: lucavilla
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.13.2008 at 02:46PM PDT, ID: 21994349

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.14.2008 at 06:58AM PDT, ID: 21998044

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.14.2008 at 04:49PM PDT, ID: 22003099

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.15.2008 at 04:38AM PDT, ID: 22005882

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.15.2008 at 10:46AM PDT, ID: 22009102

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 04:14AM PDT, ID: 22024113

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628