[Proto-Scripty] Re: Position of div with suggests

2009-03-05 Thread Quleczka

> Is it possible, to manually set the div's position? I had another
> autocomplete script before, where I could playce the div via
> stylesheets and it worked perfect in every browser. Now in
> scriptaculous' autocomplete script no settings related to the div's
> width or position are working.

What do you mean? You can use stylesheet :)

"CSS The styling of the div and the returned UL are important.
Applying a visual cue that an item is selected allows the user to take
advantage of the keyboard navigation of the dropdown and adding
background colors, borders, positioning, etc to the div (as the demo
does) allows the UI element to stand out."

>From http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter

There is even style for div.autocomplete and other classes from
example included.
Like this ones:

div.autocomplete {
  position:absolute;
  width:250px;
  background-color:white;
  border:1px solid #888;
  margin:0;
  padding:0;
}

Quleczka
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Position of div with suggests

2009-03-07 Thread Mr. Snoot

> What do you mean? You can use stylesheet :)

Thtat's what I tried. But most of the settings in the css filey didn't
have any effect, so I thought that the position ist somehow
overwritten via javascript or sth else.

Anyways, I now got my primal (much shorter) script to work correctly,
so I don't need to make experiments with scriptaculous anymore ;-)


Thx for your help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---