Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8925363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:40:40+00:00 2026-06-15T07:40:40+00:00

On my single page site, I have a script that is called to add

  • 0

On my single page site, I have a script that is called to add a “read more” style link to a content area’s div.
When the button is clicked, it should change the class of the content area to allow view of all of the content.
When clicked again, it should hide the content.

This is the site I’m having trouble on: http://lexisnexis.stacklaw.com.au/
But, it is working OK on this site: http://nundoobah-retreat.com.au/about.html

What have I got wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:40:41+00:00Added an answer on June 15, 2026 at 7:40 am

    JQuery is throwing a script error — “can’t find .curCSS” when your script runs the switchClass method.

    I’m not sure, but this may be due to the fact that you’re running an older version of JQuery UI than the JQuery core:

    <script type="text/javascript" src="/templates/microsites//js//jquery-1.8.3.min.js"></script>     
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js" type="text/javascript"></script>
    

    The curCSS method was deprecated in JQuery 1.8.0.

    I’d suggest upgrading to the latest version JQueryUI. Alternatively, don’t use switchClass (which belongs to JQuery UI), but instead use removeClass / addClass, or slideUp / slideDown (part of the core JQuery library).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I have a single page site that scrolls when the user clicks on
Basically I have a single page on my site that I want any php
I have a single page website that changes content based on variables passed through
I have an ASP.NET 3.5sp1 app that is a single page design. The site
I have a single php script on my site that facilitates my site's downloads
I have a single page site that utilizes tabs - It previously had one
I'm currently managing multiple models from a single SITE MANAGER page. I have the
I have A single page that has the following structure <form runat=server><placeholder></placeholder></form> I have
I have a single page site: http://chiaroscuro.telegraphbranding.com/ Each section is dynamically sized based on
I have a site using a single master.page. In the master.page I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.