Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search Box Not Allowing You To Type In It


getitdone99

Recommended Posts

We have an odd situation with our search box on the home page. . . you can see the white box where you type your search terms, but when you try to place your cursor in it, you cannot, therefore you cannot type anything in the box. Now this only happens on the homepage. Once you visit any of the other pages or click the little "go" graphic next to the box, then you can type in it.

 

Here is the code:

 

==========================

<form action="advanced_search_result.php" method="get">

 

<font face="Arial" style="font-size: 7pt" color="#FFFFFF">

 

<strong style="font-weight: 400">Search:</strong></font><font color="#04214C"><span style="font-size: 13pt"> <input class="textField" name="keywords" type="text" size="10"> <input type="image" src="images/button_search_go.gif" align="absmiddle" width="11" height="14"/>

 

</span>

 

<span style="margin-left:0px;"><font face="Arial" style="font-size: 7pt">  <a title="Advanced Search" href="advanced_search.php">

<font color="#FFFFFF">Advanced search</font></a></font></span></font><span style="margin-left:0px;"><font color="#FFFFFF" face="Arial" style="font-size: 7pt"> </font>

 

</span>

 

<font color="#FFFFFF">

 

</form>

================================================

 

 

It works in IE, but the problem seems to happen in FireFox.

Link to comment
Share on other sites

  • 2 weeks later...

The issue is your javascript, if you disable that you can input text.

 

The problem occurs with all your input fields.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Certainly appreciate your feedback.

 

Now just how do you suppose we disable the javascript? And would that have other adverse effects on the site?

 

 

I simply disabled scripts in the browser to test, as you have a failure on 'home' page only, look for code on the index that's not on others & remove that till you find the problem bit, you've lots of code, I havent looked at any of it.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Maybe it's the absolutely worthless "no right click" script on the home page.

 

On other pages that don't have it, the box works.

:o

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...