Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jscroller issue..

Featured Replies

Ive added the JS jscroller into my page as i want to have "testemonials" scrolling down the right hand div....the actual scroller just appears in the top left of the page though when viewing....i have put the html, JS and css below...

I also have jquery cyle at the top, that is to be used later for a picture scroller at the bottom of the right hand div also.

 

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Paul Harley Injury Therapist - Corporate</title>

<meta name="keywords" content="physio Nottingham, physio Derby, physio Leicester, sports massage Derby, sports massage Nottingham, sports massage Leicester, PHIT for all Nottingham, PHIT for all Derby, PHIT for all Leicester, PHIT for all corporate, PHIT for all physio, PHIT for all sports injury" />

<meta name="description" content="PHIT for all offers high quality physio, sports injury treatments, sports massage and nutritional programs to both private and corporate clients." />

<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<script type="text/javascript" src="js/jquery.reflect.js"></script>
<script type="text/javascript" src="js/jscroller-0.4.js"></script>

<!-- Slider Javascript Start -->
<script type="text/javascript">
$('#slider').cycle({
	fx:	'scrollLeft',
	speed:	'fast',
	timeout:	6000,
	next:	'#next',
	prev:	'#prev'
	
});
</script>
<!-- Slider Javascript End -->
<!-- Text Slider -->
<script type="text/javascript">

        $(function() {
        // Add Scroller Object
        $jScroller.add("#scroller_container","#scroller","down",1);
        // Start Autoscroller
        $jScroller.start();
        });

</script>
<!-- Text Slider End -->

<link href="css/style1.css" rel="stylesheet" type="text/css">

</head>

<body>

<div id="wrapper1">
  <div id="logo">
<p> </p>
<p> </p>
<a href="mailto:paul@phitforall.co.uk">Email:paul@phitforall.co.uk</a>
  </div>
</div>

<div id="wrapper2">
<div id="menu">
<div id="menu1"><a href="index.html">Home</a></div>
<div id="menu2"><a href="about.html">About</a></div>
<div id="menu3"><a href="individual.html">Individual</a></div>
<div id="menu4"><a href="corporate.html">Corporate</a></div>
<div id="menu5"><a href="contact.php">Contact Us</a></div>
<div id="menu6"><a href="prices.html">Our Prices</a></div><br>
</div>

<div id="content4">
	<div id="c4wrap2">
    	<div id="c4b2">
          <div id="scroller_container">
              <div id="scroller">
                This text should scroll<br>
                So should this<br>
                and this....<br>
              </div>
          </div>
        </div>
    </div>
    <div id="c4wrap1">
    	<div id="c4b1">
<h3>CORPORATE TREATMENTS PACKAGE</h3>
If you or your employees are absent through sickness or ill health it could have adetrimental effect on to your business.  This could be through the potential cost of covering sickness through overtime or temporary or permanent recruitment drives.  The added potential of failing to meet targets due to an already stretched workforce and the long term effects on the business of having key line managers / management personnel absent from work could all be addressed by having PHIT for all's mobile medical professionals at your place of work, at your convienience, as often as you or your business requires.<br>
1/2 day or full day packages available weekly, monthly, quarterley tailored to meet your companies needs.  A mobile clinic set up at your work premises.  Each clinic will consist of your employees having access to:-<br>
<br>
<ul>
<li>Sports massage and injury therapist</li>
<li>Physiotherapist</li>
<li>Personal trainer</li>
<li>Nutritional advisor</li>
<li>Lifestyle advisor</li>
</ul>
All of the above highly qualified individuals aim to work with you, your employees and any occupatioanl health department to get personnel back to full fitness and return to work quicker than being left to the NHS. The current waiting time on the NHS for a physiotherapist consultation is 6-8 weeks. PHIT for all are commited to ensuring that a clinic can be established on your premise within 5 working days of any request for our services wherever possible.<br>
For further details and quotations please <a href="mailto:paul@phitforall.co.uk">CONTACT US.</a><br>
      </div>
    </div>
</div>



</div>

<div id="wrapper3">
<div id="footer">
<div id="f1">
<a href="index.html">HOME</a> | <a href="about.html">ABOUT</a> | <a href="contact.php">CONTACT US</a> | <a href="individual.html">INDIVIDUAL</a> | <a href="corporate.html">CORPORATE</a> | <a href="prices.html">PRICES</a><br>All images © PHIT for all 2013<br>
    Website designed by SCL Design 2013 ©
</div>
<div id="f2"><img src="images/facebook.gif" width="100" height="60" alt=""></div>
<div id="f3"><img src="images/fht.gif" width="100" height="60" alt=""></div>
</div>

</div>

</body>
</html>
#scroller_container {
 position: relative;
 width: 340px;
 height: 300px;
 overflow: hidden;
}

#scroller p {
 padding: 0;
}
/*
 * jScroller 0.4 - Autoscroller PlugIn for jQuery
 *
 * Copyright (c) 2007 Markus Bordihn (http://markusbordihn.de)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * $Date: 2009-06-18 20:00:00 +0100 (Sat, 18 Jul 2009) $
 * $Rev: 0.4 $
 */

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$2={Q:{R:"S 2 T w U",V:0.4,W:"X Y (Z://10.11)",12:"13 14 15"},5:{g:[],x:16,s:{6:/([0-9,.\\-]+)6/}},h:{m:0,y:0},17:j(a,b,c,d,e){3($(a).F&&$(.F&&c&&d>=1){$(a).k({18:\'19\'});$(.k({1a:\'1b\',7:0,8:0});3(e){$(.1c(j(){$2.n($(,1d)},j(){$2.n($(,G)})}$2.5.g.1e({z:$(a),f:$(,H:c,o:d,n:G})}},n:j(a,{3(a&&I b!==\'J\'){w(t i K $2.5.g){3($2.5.g[i].f.L("M")===a.L("M")){$2.5.g[i].n=b}}}},p:j(){3($2.h.m===0&&$2.5.x>0){$2.h.m=l.1f($2.A,$2.5.x)}3(!$2.h.y){$(l).1g($2.N);$(l).O($2.p);$(l).1h($2.p);$(l).A($2.p);$(1i).1j($2.p);3($.1k.1l){l.O()}$2.h.y=1}},N:j(){3($2.h.m){l.1m($2.h.m);$2.h.m=0}},B:{6:j(a){t b=\'\';3(a){3(a.C($2.5.s.6)){3(I a.C($2.5.s.6)[1]!==\'J\'){b=a.C($2.5.s.6)[1]}}}1n b}},A:j(){w(t i K $2.5.g){3($2.5.g.1o(i)){t a=$2.5.g[i],7=P(($2.B.6(a.f.k(\'7\'))||0)),8=P(($2.B.6(a.f.k(\'8\'))||0)),D=a.z.q(),E=a.z.r(),q=a.f.q(),r=a.f.r();3(!a.n){1p(a.H){u\'1q\':3(8<=-1*q){8=D}a.f.k(\'8\',8-a.o+\'6\');v;u\'1r\':3(7>=E){7=-1*r}a.f.k(\'7\',7+a.o+\'6\');v;u\'7\':3(7<=-1*r){7=E}a.f.k(\'7\',7-a.o+\'6\');v;u\'1s\':3(8>=D){8=-1*q}a.f.k(\'8\',8+a.o+\'6\');v}}}}}};',62,91,'||jScroller|if||config|px|left|top|||||||child|obj|cache||function|css|window|timer|pause|speed|start|height|width|regExp|var|case|break|for|refresh|init|parent|scroll|get|match|min_height|min_width|length|false|direction|typeof|undefined|in|attr|id|stop|focus|Number|info|Name|ByRei|Plugin|jQuery|Version|Author|Markus|Bordihn|http|markusbordihn|de|Description|Next|Generation|Autoscroller|120|add|overflow|hidden|position|absolute|hover|true|push|setInterval|blur|resize|document|mousemove|browser|msie|clearInterval|return|hasOwnProperty|switch|up|right|down'.split('|'),0,{}))

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.