Friday, November 6, 2009

[jQuery] Re: How to avoid page refresh with jquery in typo3 ?

i was tempted not to say anything anymore but Rick's comment
encouraged me to make one last attempt at keeping this civilized and
to the point.

i have a rather simple question and all i'm looking for is a simple
answer, you don't have an answer ... don't reply, spare me your
venting/lecturing/philosophy .. Michel, just let it go !

FIY, when i post a question in a forum, right after i post it i
continue to work, document myself and trying out stuff working through
examples/tutorials/manuals etc ... i don't sit there waiting until
someone posts me the solution while drinking coffee, i continue to
wade through thousands of potentially irrelevant posts/documents and
learn about technologies i'm probably not going to need

what i don't need however is any of the completely irrelevant
blabbering full of assumptions and hate above .. i asked a pretty
simple question and repeated it politely when i was getting a lecture
instead of any usefull info (i had found the links to the manual and
the google website on my own while ago, but thx for that anyway)

so once again since i think my initial question might have been too
vague:

i am looking for a way to INTEGRATE Typo3 with the jquery asynchronous
load functions. The problem i have is that i do not know how to 'get
to the clicks' from typo3.
I don't have a problem loading content from a typo3 page into a DIV
via jquery, but i don't know how to make the typo3 menu 'talk' to the
url variable in jquery.

The following works with a 'static' link (but then again i had that
working with other ajaxLibs but couldn't make the 'connection' to
typo3 :

<script> function loadAJAX() {
$(document).ready(function(){
$("#ilink").load("http://mytypo3site.com/index.php?
id=20
.contentClass"); });
} </script>
</head>
<body> <div id="ilink" onclick="loadAJAX();">xxx</div> </body>
</html>

can i 'intercept' the current click in javascript or php somehow ? do
i have to code something into the setup/constant of my main typo3 page
template ? do i need to develop a custom extension ? do i need to use
the xajax/mootools/prototype extensions or can i get around this via
jquery ?

these are the questions i'm asking myself ...

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate