WordPress.org

Ready to get started?Download WordPress

Forums

sidebar page/post links - functions, AJAX refresh and div layers? (1 post)

  1. syanide
    Member
    Posted 6 years ago #

    Hi, I am designing a website with draggable and movable div layers using jQuery and wordpress. My problem is that when a user clicks on a link the page refreshes and the position and scale of the customized div layers are lost.

    Solutions:
    1. Some sort of AJAX page loader (the one on this site doesn't work yet) please suggest an alternative.

    2. Savable div layouts with the help of cookies : http://demos.mootools.net/Hash.Cookie

    My question:
    is it possible to somehow tell wordpress when a user clicks a specific link (or anything) and to send information that can control the hash.cookie javascript. In their example the save function is assigned to the id class of an html button
    <input type="button" name="save" id="save" value="save" />

    Thanks in advance for any help.

Topic Closed

This topic has been closed to new replies.

About this Topic