# Link\_to and firefox

**URL:** <https://www.ruby-forum.com/t/link-to-and-firefox/126157>\
**Category:** Rails\
**Created:** [January 15, 2008, 9:41pm UTC](https://www.ruby-forum.com/t/link-to-and-firefox/126157 "2008-01-15T21:41:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 15, 2008, 9:41pm UTC](https://www.ruby-forum.com/t/link-to-and-firefox/126157/1 "2008-01-15T21:41:05Z")

</div>

I ve got the following in my code:  
link\_to “Prev Month” , {:controller =\> “rind\_kalender”, :action =\>  
“index”, :planday =\> h(@plan\_day \<\< 1)} , :class =\> “prevMonth”

controller and action are my default controller and action in  
routes.rb

The generated html code for the link looks like:  
Prev Month

Unfortunetly, Firefox (2.0.0.11) does not allow me to click on that  
link.  
The link is working in IE 7.

Has anybody similar experiences?  
Is there anything wrong with my link\_to statement?

–  
Volker

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 15, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/link-to-and-firefox/126157/2 "2008-01-15T22:33:58Z")

</div>

> Prev Month
> 
> Unfortunetly, Firefox (2.0.0.11) does not allow me to click on that  
> link.  
> The link is working in IE 7.
> 
> Has anybody similar experiences?  
> Is there anything wrong with my link\_to statement?

there shouldn’t be any connection to the ruby u wrote.  
if it generated html (which, as u posted, it did) the problem lies in  
other issues such as css / other browser compatabilities annoyances -

(general advice - download firebug addon for firefox, makes life  
amazingly better)

check to see if there isn’t some z-index issue (css) that has a layer  
above the link which blocks it / etc . the answer lies within

good luck  
s

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 17, 2008, 9:10pm UTC](https://www.ruby-forum.com/t/link-to-and-firefox/126157/3 "2008-01-17T21:10:20Z")

</div>

> check to see if there isn’t some z-index issue (css) that has a layer  
> above the link which blocks it / etc . the answer lies within

Unfortunelty, I ve still got no solution. css throws no errors. no js  
errors.  
I m not using z-index on my page. I ve set a z-index for my links but  
still… they are not reacting to my mouse clicks.

IE 7.0 is working…

Any further ideas?

Thanks a lot in advance.

–  
Volker
