Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Long Shot JQuery question

New Here ,
Aug 23, 2010 Aug 23, 2010

Copy link to clipboard

Copied

As this is my favourite forum in the world and the only one where i seem to get useful support I thought I would see if there is anyone out there that can shed any light on a JQuery problem I having - Yes I know not strictly Dreamweaver but here goes.

I have building

http://www.plusonetesting.co.uk/template_no_image.php

but for some reason the slider on the scroll bar is defaulting to the platform browser rather than the jquery slider it should have.


This is now driving me nuts so any help appreciated.


Thanks

G

TOPICS
Server side applications

Views

415
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2010 Aug 23, 2010

Copy link to clipboard

Copied

This following tells me that #scroll-pane is an ID

$(function() {

  $('#scroll-pane').jScrollPane();
});

yet in the HTML you have give it a class name.

<div class="scroll-pane" id="boxtemplateonenobox">
<h2>About Us</h2>
<p>The ancient Chinese sages searched for perfect balance in mind, body and spirit and created a method for measuring this balance, Yin and Yang.</p>
<p>Beauté Chinoise has drawn from the wisdom of these ancient Chinese sages and created a range of precious oils. - The Yang Collection.</p>
<p>Essential oils have been used in Oriental and Chinese Medicine for thousands of years as the Ancients recognised their healing benefits and assigned an energetic quality to each oil.</p>
<p>Today we know that organic plant oils are the most effective carriers for delivering essential nutrients to the skin. Beauté Chinoise's luscious oils and xx teas are blended using only the finest ingredients. Hand blended, they embody the definition of luxury and bring balance to the skin, spirit and emotions.</p>
<p>The consistent essential oil in the Yang range of oils is Jasmine. Jasmine is warming, stimulating and nourishing and is said to relax the body, lift depression and boost confidence.</p>
<p>The first oil to released from this beautiful collection is Yang No. 1, Body Oil</p></div>

Maybe it will work if you changed the constructor to

$(function() {
  $('#boxtemplateonenobox').jScrollPane();
});
Wappler, the only real Dreamweaver alternative.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 23, 2010 Aug 23, 2010

Copy link to clipboard

Copied

LATEST

Good idea - but still not having it.

That was a rookie mistake re class and id by me.

Any other suggestions?

G

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines