Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form problem with animated gif

Status
Not open for further replies.

elck

Programmer
Apr 19, 2004
176
NL
In a banner I show an animated gif,
which obviously takes quite some clock ticks.

This shows when I hover the cursor over an input field, the cursor flashes nervously.

It even becomes hard to click the particular field to enter a value.

Is there a way, other than removing the gif, to give the form more processor time?
 
What on earth are you doing to the poor gif? I've *never* come across a gif take so many clock ticks that the browser can't handle a form!

I suspect either:
- invalid HTML code
or
- excessive JavaScript

is the root cause of your problem. Invalid HTML code can confuse the browser as it tries to decifer what exactly it should present on screen. Validate your code using the W3C HTML Validator.

Make sure you have 'display script errors' enabled to check JavaScript for errors. Of course, it only displays genuine errors - it'll miss crazy, almost-never-ending loops which could rack up the clock ticks, but are still technically valid.

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
You are right, it is not the animated gif.
When I remove it the irratic behaviour of the cursor stops,
but I still have problems clicking on some input fields.

The form is in an iframe, the input fields are in a table.
for some one has to find an exact place to click, somewhere near the upper border of the field, where to cursor shape changes to textinput.


It seems that when I run the html not in the iframe the problem is not there.


Any more ideas?

 

How about we use either this thread, or the same thread in the JS forum (thread216-954393) for this problem?

elck, can you please decide which of the two is more appropriate and use only that for discussion? Having two different threads will lead to overlap and confusion.

Dan
 
Yep you are right, Please see the other forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top