SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    two ajax instances on same page and lightbox problem

    To make it clearer, I have one main php file with two included php files where ajax pagination is in action. One for left side (main) news section and other for the right side (other) news section. Every random time content on left side is duplicated on both sides and lightbox effect dont work.

    if anyone have idea or question for details,

    regards,

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,496
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    I think this isn't a PHP problem, but a JS one. The result of the request to the server is returned to the client and handled by JS. So if that result appears twice on your site, then the problem must lie in your javascript.

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2009
    Location
    Ljubljana, Slovenia
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had this issue with some Ajax. The solution was something with html ID-s.
    Gregor Grajzar, web developer
    http://xweblabs.com
    http://grajzar.info


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •