rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tdv

Pages: 1
1
Programmers corner / Re: loading file list
« on: November 24, 2013, 05:06:21 PM »
Maybe {.get item|a|b.}? But unfortunately, it will not work.
jQuery.load send http request via ajax mechanism on the server, and all that I want is to process it according to all rules but from another section to eliminate all unnecessary html code. The result of this query is placed directly in the DIV tag. By the way, thus it is possible build and XML  response

I want to make walking on directories without reloading the page.

2
Programmers corner / loading file list
« on: November 24, 2013, 09:38:51 AM »
I was so hoping that this method will work to get the files list, but alas.  :(

Template code:
Code: [Select]
[]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
<head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
</head>
<body>
 <div id="FilesContainer"></div>

<script type="text/javascript">
jQuery(document).ready(function()
 {
  $("#FilesContainer").load("%folder%?mode=section&id=FileList.html");
 });
</script>

</body>
</html>

[file=folder=link|private]
<br>%item-url%

[FileList.html]
%list%

May be worth processing a list of files in such (%folder%?mode=section&id=FileList.html) requests?

Pages: 1