Hi All,
I''m redirecting to an action with an :anchor like:
redirect_to :action => "index", :anchor => @photo.id.to_s
index.rhtml is a page has many photos thumbnails and each photo would
have the id as the "id" for <a href> link. I suppose this would
directly let the browser jump to that photo with the specific id.
Actually, it works fine in FireFox with the url in address bar
redirected to http://localhost/photo#157
However, in Internet Explorer (both version 6 and version 7), it
failed to work. The address bar in IE still displays http://localhost/photo.
It seems the :anchor doesn''t append to the url for IE browser.
Any advise? And thanks very much in advance :)
Regards,
Norman
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---