search for: new_top

Displaying 2 results from an estimated 2 matches for "new_top".

Did you mean: new_op
2006 Feb 18
0
Move element into view
...ents sichtbar und Position des Elements + seine Höhe < screen_bottom // => Element wird schon komplett dargestellt if (element_kante_oben > screen_scrolled && element_kante_oben + element_hoehe + rand < screen_bottom ) { this.delta = 0; return; } var new_top; // Wenn Element höher als Bildschirmhöhe, dann bis zur oberen Kante des Elements scrollen if (element_hoehe + rand > screen_height) { new_top = element_kante_oben - rand; } else { // Muß nach oben gescrollt werden? if (element_kante_oben < screen_scrolled) {...
2006 Apr 11
2
Noobish URI Question
...posted but the search terms (like URI) are so generic I get tons of useless results. I have a controller (in this case "forum_controller") so if I want to read a forum topic the URI is "/forum/topic/1". As of right now for adding a new topic my URI is setup as "/forum/new_topic". I''d really like it to be something like "/forum/topic/new". Is there some method naming convention in the controller to allow for this? -- Posted via http://www.ruby-forum.com/.