Skip to:
Content
Pages
Categories
Search
Top
Bottom

Seriously need help on loading a different banner via ajax


  • imjscn
    Participant

    @imjscn

    I need to load a big banner if viewport width >1024, otherwise load a small banner.
    The viewport width is detected by javascrip, and the banner is provided by advertizer’s java script.
    After searcching around, I got to know that ajax is a way to pass javascript variable to php ( I need to tell php to load different banner file according to viewport width). but I got no clue how to do it.
    Please help!

  • The topic ‘Seriously need help on loading a different banner via ajax’ is closed to new replies.
Skip to toolbar