search for: onmouseov

Displaying 20 results from an estimated 58 matches for "onmouseov".

Did you mean: onmouseover
2008 Mar 05
6
Prototype Observe Links (Mouseover)
...type and after a 2 hours of research I didn''t find a solution for the following question: I have the following list: <ul id="navi"> <li><a href="/about/">Home</a></li> <li><a href="/about/" class="dropdown" onmouseover="showSubnavi(this)">About</a> <ul style="display:none;"> <li><a href="/history/">History</a></li> <li><a href="/facts/">Facts</a></li> <li><a href="/partners/">P...
2006 Apr 07
13
Pop up menus - any ideas?
...ies as links. Each category also has subcategories. I want to set it up so when you mouse over the category the subcategories will pop up (to the right of the main list, but that''s just CSS). This is what I have so far: <% for category in @categories %> <a href="#" onmouseover="Element.show(''subcategories_<%=category.name%>'')"> <%= link_to category.name, :action => ''category'', :id => category %> <div id="subcategories_<%=category.name%>" style="display:none"> <div...
2006 Jun 16
5
Menu using Scriptaculous Effects = OnMouseOver bug
I am trying to achieve a Flash-like menu with OnMouseOver effects on 3 divs below. Unfortunately, the javascript resets when the mouse is rolled over the text and if you go mouse crazy on the divs, the script seems to remember where it cut off, and doesn''t roll down completely afterwards. Is it a good place to ask for help? I couldn...
2006 Jun 20
4
Invoking MouseOver using link_to tag ?
...login", :action => "logout"%> Note: The controller and action should also be there as above. ie invoke the controller function on click of the link and invoke a local JS function on MouseOver of the text ? On a normal href we do something like this rt? for invoking the onMouseover and onMouseout?. But i want to do the same thing but with <%= link_to %> as above ? <a href="http://www.mywebsite.com" onMouseover="myInJsFunction()" onMouseout="myOutJSFunction()">TestingMouseOverEvents</a><br /> Thank You Dinesh -- Pos...
2007 Mar 09
0
link_to_remote with onmouseover event
Anyone have a better method for having the onmouseover event (or any other mouse event) instead of onclick when using link_to_remote: This is what I did, but I''d i have to create one for every mouse event, can''t figure out how to call a mouse event via an argument . anyone else run into this problem. Thanks def link_t...
2006 Jan 15
13
Hotlinking an entire row in an HTML table
Hi, This seems simple but I cant get it to work... I have a table with 4 or 5 columns and 20-30 rows. I''d like to have the ability to click anywhere in a particular row to fire an action, such as bringing up a "Details" page for the clicked row. This would eliminate the need to generate a "Details" link at the end of every row, which is what I have now and looks
2009 Jul 20
0
No subject
...ot;Boa tarde." onmo= useover=3D"this.style.backgroundColor=3D&#39;#ebeff9&#39;" onmouseout=3D"th= is.style.backgroundColor=3D&#39;#fff&#39;">Good afternoon. <br> <br></span><span title=3D"Obrigado =E0 todos pelas respostas." onmouseover= =3D"this.style.backgroundColor=3D&#39;#ebeff9&#39;" onmouseout=3D"this.styl= e.backgroundColor=3D&#39;#fff&#39;">Thanks to everyone for=20 answers. </span><span title=3D"O que eu acho estranho =E9 o asterisk n=E3o possuir= =20 alguma ferrament...
2006 Jul 11
4
validates_unlike plugin
Validates Unlike Plugin (v 0.1) ======================== Validates Unlike plugin validates that the value of the specified attribute doesn''t match against the regular expression provided Class Contact < ActiveRecord::Base validates_unlike :comment, :with =>/html|http|onclick|onmouseover/ , :message => "comment can''t include: href,http,onclick,onmouseover." end ======================== Bug reports and feedback are always welcome. Please send them to edgargonzalez@gmail.com You can also visit http://www.lacaraoscura.com/2006/07/11/validates-unlike-plugin/...
2006 Jan 11
0
RE: Event.observer - unordered list problems
...echanism). It also requires you to keep track the mouseover state of your parent element. (Hopefully I''m using descriptive enough variable names so you can figure out what you need to do). You might use the Event.findElement() function in your case to get the reference to myParentElement. onMouseOver: function(event) { if (!myParentElement.hasBeenMousedOver) { // do mouseover stuff myParentElement.hasBeenMousedOver = true; setTimeout(this.countDown.bind(this), 1000); // 1 second } myPar...
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
...echanism). It also requires you to keep track the mouseover state of your parent element. (Hopefully I''m using descriptive enough variable names so you can figure out what you need to do). You might use the Event.findElement() function in your case to get the reference to myParentElement. onMouseOver: function(event) { if (!myParentElement.hasBeenMousedOver) { // do mouseover stuff myParentElement.hasBeenMousedOver = true; setTimeout(this.countDown.bind(this), 1000); // 1 second } myPar...
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
...delete" link. One of the things I''ve tried is this: <script language="JavaScript"> new Ajax.InPlaceEditor(''answer_<%= answer[''id''] %>_view'', ''update_answer'', {rows:2,cols:40,loadTextURL:"getAnswer"},onMouseover:"Element.show (''delete'')";); </script> I''m am a newbie a javascript, so examples are appreciated. Thanks, Steve _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.o...
2007 Mar 09
0
different mouse event when using link_to_remote
Anybody a have better method for having an onmouseover (or any event). This is the method used but its not as pretty and has to be done for every mouse event. def link_to_remote_mover(name, options = {}, html_options = {}) link_to_function_mover(name, remote_function(options), html_options) end def link_to_function_mover...
2005 Oct 16
1
blindup and blindup confusion
here''s a basic question. i have an h2 element and i want onmouseover to show a div using blinddown; i also expect onmouseout of the mentioned div (but not h2) to have effect blindup to get rid of the div. so i set up: <h2 id = "show" class="show">Show div</h2> <div id = "out" class = "out" style="di...
2005 Oct 11
2
Pushing Javascript Helper to external file.
I have a table and when I mouseover a row I want a pop-up with some additional information for that specific row (called remotely). I can do this easily with something along the lines of... onmouseover="<%= remote_function(:updated => "notediv", :loading => " Element.show(''note'');", :url => {:action => ''get_note'', :id => inventory.id<http://inventory.id>}) -%>" onmouseout="Element.hide(''no...
2006 Jan 06
3
image replacement (new Effect.*****) problem
...he current small image (this.src). I can''t figure out how to link the large image inside of the samll image tag. Thanks again for any help! <%= image_tag url_for_file_column(product, "image_url"), { "class" => "small_product", "onMouseOver" => "this.className = ''product_hover''", "onMouseOut" => "this.className = ''small_product''", "onClick" => "new Effect.Shake(this); new Effect.Fade(''large_image''...
2005 Oct 16
1
prototype help needed - how to get started
...io''s excellent documentation on prototype, I’m still struggling to get started. I hope somebody is able to help me a with a little example to get me going. Please see html code below – I have this little navigation bar and I like to add some events/functions to the buttons. Let’s say, onmouseover, I like to change e.g. the background-color of the button and onclick, I like to execute a specific function. How would I do that using prototype? Thank you in advance for your help. <div id="fm-navbar"> <ul> <li><img class="fm-btn-home"...
2006 Mar 22
3
Which JavaScript effect is this?
http://canadaonrails.com/ (when you hover over news and events) I''ve seen this implemented on a few rails sites now and I was just wondering if it is just a simple javascript from the prototype library. Does anybody know of any links on how to do this? Thanks in advance! -- Posted via http://www.ruby-forum.com/.
2006 Feb 01
1
Combine Ajax call with an effect.
...{ var url = ''/admin/site_admin/news_popup.lasso?news_id='' + news_id; var myDiv = new Ajax.Updater(''thedescription'', url, {asynchronous:true}); } <span class="shownames" id = "show"> <a href="#" title="" onmouseover="getDescription([field:''id''])" onclick="CloseDescription();return false;">[field:''title'']</a> </span> <div id="thedescription"></div> -- Steven Q. Evans Director of Technological Resources Meeting...
2006 Jul 10
2
inline javascript in partials
...ote_function(remote_options) %>; return false; } </script> <% onclick ||= click_fn %> <%= image_tag("/images/tfs/en-#{button}.png", { :onclick => onclick, :name => "submit_#{button}", :width => "32px", :height => "32px", :onmouseover => "setStatusMessage(''#{button} files'');", :onmouseout => "setStatusMessage('''');" }) %>
2006 Jun 23
5
Ajax zooming pictures
Hi, I was wondering if anyone has an idea of the code that I can write to achieve the follow effect. http://www.istockphoto.com/file_search.php?action=file&userID=938503 When you move your mouse over an image, it shows a bigger picture. Thanks -- Posted via http://www.ruby-forum.com/.