Displaying 4 results from an estimated 4 matches for "myanchor".
Did you mean:
my_anchor
2009 Nov 11
3
how to use # in a rd doc in url address
I am writing a rd doc, and need to use "#" in a url adress. This would make:
\url{http://www.xxxx.org/myfolder/#myanchor}
Of course, I suppose this will not work because # is a special character
starting a comment line in the rd dialect. I did not found a similar
example in "Writing R exentions". I am not sure bout using \dQuote{a
quotation}), and use \sQuote and \dQuote correctly. Does anyone know how...
2007 Sep 28
2
Event.observe doesn't work
...L PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/
html4/strict.dtd">
<html>
<title>click</title> <head>
<h2>Click!</h2>
<script type="text/javascript" language="javascript">
Event.observe(''myAnchor'', ''click'', function(e){ alert(''clicked
me!'') });
</script>
<a href="#null" id="myAnchor">1</a>
</body>
</html>
Error: Event not define.
--~--~---------~--~----~------------~-------~--~----~
You rec...
2005 Dec 14
1
Problem stopping default event in Safari
...***********************
function loadData(e) {
// load some data here based on the url of the a tag
(removed for simplicity)
// then stop the defaultevent
if(e) {
Event.stop(e);
}
return false;
}
var ajaxRules = {
''.ajaxLink'' : function(myAnchor) {
// ... code to set up Ajax is up here (removed for simplicity)
// put an event handler.
Event.stopObserving(myAnchor, ''click'', loadData, false);
}
};
Behaviour.register(ajaxRules);
*******************************************************
Any idea what I...
2007 Oct 03
2
Scroll to anchor from RJS
Is there an way to tell the browser to scroll to a certain anchor from
an RJS template?
I''m doing a page update, adding stuff at the bottom and want to
browser to go there after it''s been added.
Thanks,
Helzer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.