Sounds like an issue with a browser plugin (for example web development toolbars, etc) or maybe firewall, ad blocking or av software (for example, Norton stuff is known to inject HTML and JS, which can cause issues).
Best, Thomas Am 23.10.2006 um 17:16 schrieb Keith Davis: > It's the strangest thing. It's something wrong with IE on this PC. > The links work fine on all other machines. > > From: [email protected] [mailto:rubyonrails- > [EMAIL PROTECTED] On Behalf Of Sonny Savage > Sent: Friday, October 20, 2006 8:09 PM > To: [email protected] > Subject: [Rails-spinoffs] Re: Event.observe, refer to the object > observed > > I'd check for tags that aren't being properly closed as well. > > On 10/20/06, Keith Davis <[EMAIL PROTECTED]> wrote: > I know this sounds crazy, but the CSS is acting crazy on these pages. > The hover only works on some links (it seems like it's only on non- > visited > links, if that makes any sense) and I'm having to build a > workaround until I > can figure out what's wrong. > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Colin > Mollenhour > Sent: Thursday, October 19, 2006 11:43 PM > To: [email protected] > Subject: [Rails-spinoffs] Re: Event.observe, refer to the object > observed > > > Even though I answered your question in the first message, I should > point > out that this is a perfect candidate for CSS. Javascript in your > example is > completely unnecessary. > > a.toplinks_links:hover { > color: #FF0000; > font-size: 18px; > } > > Colin > > Keith wrote: > > Ok, I've used this before, but I can't seem to make it work with an > > array of objects. How do I make ButtonHover use the object applied? > > > > <script language="javascript" type="text/javascript"> function > > ButtonHover($s){ > > > > $s.style.color = '#FF0000'; > > $s.style.fontSize = '18px'; > > > > } > > > > function ButtonOut($s){ > > > > $s.style.color = '#FF0000'; > > $s.style.fontSize = '18px'; > > > > } > > </script> > > <div class="toplinks" style="width: 100%; font-size: 14px; > > font-weight: bold; border-bottom: 1px solid #000000; background- > color: > > #FFFFFF;"> > > <a href="http://sharepoint" id="toplink1" > > class="toplinks_links">Home</a> > > <a href="/rm5_reporting.php"' class="toplinks_links" > > id="toplink2">RM5 Reporting</a> > > <a href="/form_menu.php"' class="toplinks_links" > > id="toplink3">Forms</a> > > </div> > > <script language="javascript" type="text/javascript"> > > $aTD = document.getElementsByClassName('toplinks_links'); > > > > for($i = 0; $i < $aTD.length; $i ++){ > > > > Event.observe($aTD[$i], 'mouseover', function(){ > > ButtonHover(this); }) > > > > } > > </script> > > > > > > > > > > > > > > > > > > > > > > -- Thomas Fuchs wollzelle http://www.wollzelle.com questentier on AIM madrobby on irc.freenode.net http://www.fluxiom.com :: online digital asset management http://script.aculo.us :: Web 2.0 JavaScript http://mir.aculo.us :: Where no web developer has gone before --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
