Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [AJAX] dynamic-content
--ajax--
post
Post #1





Goście







http://www.ajaxdaddy.com/app/webroot/ajax/dynamic-content/

probowalem 500 razy, po prosty nie dziala...
mogby mi ktos napisac ktok po kroku co musze zrobic, w ktorym miejscu zmienic kod aby zadzialalo na localu?
zaloze sie ze wam tez sie nie uda (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 13)
kallosz
post
Post #2





Grupa: Zarejestrowani
Postów: 272
Pomógł: 19
Dołączył: 29.07.2006

Ostrzeżenie: (10%)
X----


to nie bedzie dzialac na localhoscie.
Go to the top of the page
+Quote Post
-gox-
post
Post #3





Goście







dlaczego?
zreszta na hostingu tez nie dziala
Go to the top of the page
+Quote Post
webber
post
Post #4





Grupa: Zarejestrowani
Postów: 107
Pomógł: 19
Dołączył: 30.10.2007

Ostrzeżenie: (0%)
-----


Ale o co chodzi?

Kopiujesz zawartość strony do swojego pliku, modyfikujesz wygląd itd. css`em etc.
Pobierasz sobie ten plik:
http://www.ajaxdaddy.com/app/webroot/ajax/...ascript/sack.js

No i gotowe (IMG:http://forum.php.pl/style_emoticons/default/sleep.gif)

PS: Bym zapomniał do plików odwołujesz się:
// Calling the getAjasFile function. argument to the function is id of this <li> + '.html', example "article1.html"

Czytaj komentarze w kodzie (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)


Po za tym bardziej polecam:
http://stilbuero.de/jquery/tabs_3/

Cytat
to nie bedzie dzialac na localhoscie.


Eee?

Ten post edytował webber 5.09.2008, 17:44:42
Go to the top of the page
+Quote Post
--ajax--
post
Post #5





Goście







taki problem ze nie dziala,
robie po koleji wszystko, zmieniam sciezki... jak klikam to tylko jest loading i czesc...
zrob paczke z tego to bede pod wrazeniem
Go to the top of the page
+Quote Post
--ajax--
post
Post #6





Goście







potrzebuje zeby te tabsy byly w pionie bo nie wiem ile ich bedzie docelowo mzoe 10 a moze 1000 (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)
Go to the top of the page
+Quote Post
webber
post
Post #7





Grupa: Zarejestrowani
Postów: 107
Pomógł: 19
Dołączył: 30.10.2007

Ostrzeżenie: (0%)
-----


Cytat(-ajax- @ 5.09.2008, 18:45:54 ) *
potrzebuje zeby te tabsy byly w pionie bo nie wiem ile ich bedzie docelowo mzoe 10 a moze 1000 (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)


A utworzyłeś pliki article1.html itd. (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post
--ajax--
post
Post #8





Goście







a juz wiem co jest:

Kod
POST /con/files/article6.html HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Opera/9.52 (Windows NT 5.1; U; en)
Host: ***
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: pl-PL,pl;q=0.9,en;q=0.8
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: Keep-Alive, TE
TE: deflate, gzip, chunked, identity, trailers
Content-Length: 20
Content-Transfer-Encoding: binary

rndval=1215555192198


HTTP/1.1 405 Method Not Allowed
Date: Fri, 05 Sep 2008 16:47:01 GMT
Server: WisePanel Web Server/1.0.0 (Unix) mod_extfilter/1.3 Shpanel PHP-CGI Interface v. 1.0
Allow: GET, HEAD, OPTIONS, TRACE
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

f1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>405 Method Not Allowed</TITLE>
</HEAD><BODY>
<H1>Method Not Allowed</H1>
The requested method POST is not allowed for the URL /con/files/article6.html.<P>
</BODY></HTML>

0


dalczego methut not alowet?
Go to the top of the page
+Quote Post
kallosz
post
Post #9





Grupa: Zarejestrowani
Postów: 272
Pomógł: 19
Dołączył: 29.07.2006

Ostrzeżenie: (10%)
X----


Sam kod JS jest po stronie klienta, ale sluzy po prostu do asynchronicznej komunikacj z serwerem.
Musial bys postawic na localu serwer (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
--ajax--
post
Post #10





Goście







mam na lokalu serwer....

zreszta mniejsza o to jzu wiem ze 405 error jest...
po co ta biblioteka probuje POSTem dane pobrac...
jak to naprawic? w js jestem cieniutki
Go to the top of the page
+Quote Post
--ajax--
post
Post #11





Goście







nospor =. patrz 3 posty wyzej
Go to the top of the page
+Quote Post
nospor
post
Post #12





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




@ajax jak pisalem posta nie bylo "3 postow" wyzej (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Ty tez patrz, bo zanim napisales swojego ja swoj juz usunalem (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
--ajax--
post
Post #13





Goście







juz sobie poradzilem, w bibliotece sack.js zmieniamy 3 linie z
this.method = "POST";
na
this.method = "GET";

kto robi takie [zmoderowane] liby broken by design to nie wiem do dzis, pozdro
Go to the top of the page
+Quote Post
webdice
post
Post #14


Developer


Grupa: Moderatorzy
Postów: 3 045
Pomógł: 290
Dołączył: 20.01.2007




Na przyszłość nie pisz posta pod postem ponieważ takie tematy będą zamykane.
Go to the top of the page
+Quote Post

Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 17.09.2025 - 16:26