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.

Cant see content in jquery content slider

Featured Replies

Try this jQuery Cycle plugin instead.

 

It's very easy to set up, and I guarantee it will work. I'm using it on my own website.

 

You could set up a navigation just like the one you have, by pasting this:

 


<html>

<head>

<title>My Page Title</title>

</head>

<body><!-- open body -->

<div id="featured-slider">

	<div id="slider">

		<!-- all elements in here, will get cycled through. Could be a div, an image, or a link -->

	</div><!-- end #slider -->

	<div id="navigation">

		<a id="prev">Prev</a>

		<ul id="nav"><!-- tabs will be auto generated in here --></ul>

		<a id="next">Next</a>

</div>

</div>

</body><!-- end body -->

<!-- Links to JS -->

<script src="/path/to/folder/jquery.js" type="text/javascript"></script>

script src="/path/to/folder/cycle.js" type="text/javascript"></script>

<script type="text/javascript">
$(function() {

   $('#slideshow').cycle({
       fx:      'scrollHorz',
       timeout:  0,
       prev:    '#prev',
       next:    '#next',
       pager:   '#nav',
       pagerAnchorBuilder: pagerFactory
   });

   function pagerFactory(idx, slide) {
       var s = idx > 2 ? ' style="display:none"' : '';
       return '<li'+s+'><a href="#">'+(idx+1)+'</a></li>';
   };

});
</script>

</html>

Let me know if you need help.

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.