Afficher un message
Vieux 28/02/2008, 19h35   #4
Amir Michail
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to set focus to a div?

On Feb 28, 2:21 pm, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalid> wrote:
> 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?


This is not a problem under Firefox. I don't know how to fix this
under IE7.

>
> 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
>


Yes, that works, thanks.

Amir


> --
> -bts
> -Motorcycles defy gravity; cars just suck


  Réponse avec citation
 
Page generated in 0,04920 seconds with 9 queries