How to solve a duplicate div issue while using ajax and pushstate in Wordpress? -
i have isue implementing ajax in wordpress site. found function on
http://www.franckmaurin.com/how-to-use-html5-history-with-wordpress-jquery/
and tried implement in wordpress theme. changed #main source code .container_right, adjust function use in theme. succeeded, when click on link in menu .container_right fades out, fades in, stated in function, being duplicated. can check on
when clicking through menu links.
ps. breaks existing jquery plugins on site.
nevermind, found own solution. wrapped .container_right .container_right_wrapper , changed .container_right in function .container_right_wrapper, added css , seem working.
Comments
Post a Comment