I have a script which is currently dragging data through AJAX / PustState; It works relatively well, but there are definitely some issues I am running. First of all, I am using the code first:
function goTo (href) {$ .ajax ({url: href, success: function (data) {$ ('$ ( "Sharp", 1); $ ("scroll"). Goodcroll ({cursor color: "# f 33de 339)." Cursorwith: "10px", cursorborder: "none", cursorBorardides: "0 pixels", Fixed: True});}); // page title var title = $ ('#Page-Right') Update 'H1'). Text (); $ ('Head'). Find ('Title'). Text (title);}}); } If (history.pushState! == "undefined" type) {var history count = 0; $ ('A [href * = "rage.rage-wrestling.com]'). Live ('click', function) (var href = $ (this) .attr ('href'); $ ('# fadeine 'Slow'); goTo (href); $ ('# page-load'). Delay (2000) .fadeaut ('slow'); history; powerstate (empty, null, href); description is false;}); Window.onpopstate = function {goTo (document.location);} historycount = historycount + 1;};} Now, the code pulls the data I need And displays it but I am running into many problems which I have tried to solve the problem. The car is:
-
The back button does not work on the browser.
-
The title of the pages is always a page back; that is, if I I'm on a page called Cain and I click on a link to go to the other, when the page loads for the other, it displays the title of the page on the browser as the canon. It seems odd that it is weird.
-
I can not find a good way to call function ragecharts (); I; It has placed it after the AJAX load, where I have niskocroll referencing to work, but it only breaks the code I have also tried in the popstate function, but that too is not working. I need to be able to call this function again because when the data is loaded in a page and the function is being used, it does not display the data properly.
-
Loading function; I pushed Jerry, to do this, before calling on the # page-loaded developer, Ajax was pulled as an overlay and later a delay was set, but what I actually wanted was just overlay For, the data is loaded inside the AJAX call. There are a lot of images, which still need to be loaded due to loads being loaded outside of the overlay and I want it to remain fully loaded.
It is too much.
I doubt that as much as I possibly can shoot it, but when I talk about this stuff, I am just a newbie, maybe something that I am not seeing right.
> Thank you in advance if you are able to help.
No comments:
Post a Comment