Giter VIP home page Giter VIP logo

Comments (7)

devoopsme avatar devoopsme commented on July 20, 2024

Not fully understand what you want. Please write details.

from devoops.

botanicvelious avatar botanicvelious commented on July 20, 2024

Using the theme I created the page, http://tempestintheaether.org/damn/html/#ajax/loader.php?page=projects

as you can see the "projects" page loads just fine, however when i click on a link that was ajax loaded such as Peragro Tempus the ajax loading javascript doesn't get called to bring me to the next page.

I can goto http://tempestintheaether.org/damn/html/#ajax/loader.php?page=projects_id/1 manually and it loads fine, its only when its being loaded from inside the ajax-content class that it doesnt work and im using the url #ajax string.

from devoops.

devoopsme avatar devoopsme commented on July 20, 2024

Why it's need loaded? In devoops.js handler set only for elements in main-menu (see line 2244), with class ajax-link (line 2272, 2280).
First you need add class to required link. for example:
<a class='my-example-load'> You link </a>
And add script at page
$('body').on('click', '.my-example-load', function(e){
e. preventDefault();
var url = $(this).attr('href');
window.location.hash = url;
LoadAjaxContent(url);
});

Please read documentation about jQuery for understanding how it work.

from devoops.

simonckenyon avatar simonckenyon commented on July 20, 2024

i also have code to handle forms and multipart forms, if anyone is interested

from devoops.

botanicvelious avatar botanicvelious commented on July 20, 2024

that would be amazing

from devoops.

simonckenyon avatar simonckenyon commented on July 20, 2024

will make a diff and post it

from devoops.

RaquelOhashi avatar RaquelOhashi commented on July 20, 2024

hey, @simonckenyon can you send me the code to handle forms? i really need it! πŸ‘

from devoops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.