I am using prototype to build modal popups and am now having trouble
with the timing of the fade-in effect in Firefox 3 and Safari. It
gets super choppy when loading the fade, and sometimes I can see the
element behind the popup flashes on top of the popup before it is
stationed on the screen.
I am having trouble writing a function that will allow users to submit
a form that is in a modal popup using the enter key in IE6. It works
in all other browsers. I was thinking something along the lines of
this:
$('form_submit').onkeydown=if(event.keyCode==13){this.form.submit
();return
Im looking for ideas on how to implement a pull down menu that uses a
scroll bar. There are about 30 items in a list and I only want to
show 5 of them at a time. Anyone have any advice on how I would start
this?
--~--~-~--~~~---~--~~
You received this message
I am trying to build my own select pull down menu that will close when
a click is observed outside of the pull down div, but I am having
trouble stopping the click event from triggering when the link to show
the pull down is clicked. This is the relevant code:
a onclick=showSelect();
I am using the ScrollTo() effect to scroll down to an element on the
page, but there are some links in between that have a mouseover event
that highlights them and it looks rather odd when they flicker during
the ScrollTo() transition. Im wondering if anyone has any suggestions
for avoiding
Im wondering, what is the difference between the following:
$('object_id').observe('click', function(event){
element = event.element()
}
VERSUS
$('object_id').observe('click', function(event){
element = $('object_id)
}
Is there a difference in speed? Is one better than the other in
I am trying to use pre-existing functions in a new prototype class but
am having some trouble with binding. When I call a function within a
function it says that one of my class variables is undefined. I have
defined the class variable correctly I think:
var DropDown = Class.create({
I'm not sure what is best practice in this situation. I have a quiz
add icon that, when clicked, adds an element to a quiz list. Right
now it is using a link_to_remote with an image_tag (in ruby rails) and
when clicked it hits the server, saves the quiz add/remove toggle and
then uses rjs to
I am having an issue: when inserting a number of elements that end up
push the page downward so that the scroll bar has to be adjusted, all
of the css shifts to the left. I am using firefox 3.0 and have
noticed this occurance before. Has anyone else come across this or
know what might be
-- Sent from my Palm Prē
Dave L wrote:
I am having an issue: when inserting a number of elements that end up
push the page downward so that the scroll bar has to be adjusted, all
of the css shifts to the left. I am using firefox 3.0 and have
noticed this occurance before. Has anyone else
10 matches
Mail list logo