Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello all I am designing a mobile website and am pretty inexperienced in mobile jQuery, so if you can all be kind enough to help me out. If I could get his part of the page to refresh when you swipe. This div contains a product catalog code within so that the products change when ever you refresh the page. What I would like to be able to do is have one specific div tag in my page to refresh upon making a swiping motion.

<div data-role="content" id="colorme">

<!-- Start:Here is where the product come up-->
<div style="padding: 1em .5em 1.5em .5em; text-align:center;" id="bg" >
    <div style="background-color:#ffffff; margin-removed .5em;"> <a href="product.asp?itemid=[catalogid]"><img src= "/thumbnail.asp?file=[THUMBNAIL]&maxx=200&maxy=0" width="200" alt="[name]" border="0"></a>
    <div style="padding-removed.5em;" class="name"> [name]
    <a href="product.asp?itemid=[catalogid]"><img src="images/btn-more-details.png"></a>
<!-- END: stop products-->


  <div data-role="footer">
    <h1>My Footer</h1>

Thanks a bunch!

You can view the website here:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900