Afficher un message
Vieux 28/02/2008, 19h21   #3
Beauregard T. Shagnasty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set focus to a div?

Amir Michail wrote:

> Under Firefox, you can't scroll using the keyboard on this links page
> unless you click on the div first:
>
> http://numbrosia.com/?cmd=links


Eww.

Why - if I scroll to the right (a no-no itself) do I find an extra
scrollbar lodged inside my own vertical scrollbar?

Why: "Please enable JavaScript." So I can see your Google ads?
(obtrusive ads are one big reason a lot of people surf with JavaScript
disabled)

> Is there a way to automatically set focus to a div?


<div id="somename"> ... content ... </div>

and with a link of: http://example.com/mypage.html#somename

--
-bts
-Motorcycles defy gravity; cars just suck
  Réponse avec citation
 
Page generated in 0,04709 seconds with 9 queries