matt
October 1, 2009, 8:56pm
1
Hi
This might be more of an HTML question but it could be because of an
interaction with Rails that the solution I use right now is not
working.
I have tried several ways to jump/scroll to a certain row in a large
table, I tried an event like
matt
October 1, 2009, 9:34pm
2
You’re just using the wrong syntax. Use id=“event666” and link to it
like http://some/url#event666
matt
October 1, 2009, 10:10pm
3
2009/10/1 Matt [email protected] :
I have tried several ways to jump/scroll to a certain row in a large
table, I tried an event like
I’ve started using this recently:
–
Greg D.
http://destiney.com/
matt
October 1, 2009, 10:42pm
4
Matt wrote:
Hi
This might be more of an HTML question but it could be because of an
interaction with Rails that the solution I use right now is not
working.
I have tried several ways to jump/scroll to a certain row in a large
table, I tried an event like
Right. This won’t work, both because jumping to an ID doesn’t work and
because a div can’t surround a TR.
I have also tried to use (found this also on the
web somewhere) but it also did not work.
This is the correct tag – but you can’t put a # into the name. What
you want is . Then to refer to it, use the
http://url/of/the/page#some_name .
Is there another solution that is more rails friendly? What am I
messing up?
You’re messing up basic HTML syntax, nothing to do with Rails directly.
Best,
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
matt
October 1, 2009, 11:29pm
5
Thank you! That with:
<% if @section>0 %>
<% end %>
at the start of the file was all that was needed!
On Oct 1, 1:42 pm, Marnen Laibow-Koser <rails-mailing-l…@andreas -
matt
October 1, 2009, 10:00pm
6
2009/10/1 Matt [email protected] :
did not work
I believe div is not valid round a row (or cell for that matter), it
can only encompass the whole table or be within a cell. Paste your
html into the w3c htlm validator to check. Different browsers behave
inconsistently with this sort of html error, it may appear to work
with some.
Colin