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 6912859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:08:40+00:00 2026-05-27T09:08:40+00:00

I have up and down arrows on the right hand side of each section

  • 0

I have up and down arrows on the right hand side of each section where if you click them it scrolls either up or down sections.

<div class="next_section"><a id="after_contact"><img src="<?php echo get_stylesheet_directory_uri() ?>/img/arrow_top.png" width="73" height="36" alt="Prev Section"></a></div> 
<div class="next_section"><a id="after_work5"><img src="<?php echo get_stylesheet_directory_uri() ?>/img/arrow_next.png" width="73" height="36" alt="Next Section"></a></div>

Problem is, not all of the arrows are working to scroll up and down the page. Some work, some don’t. I have made the on each correct to my knowledge with it being an area above or below but if you click on some arrows, it won’t do anything.

Any one know what is going wrong?

URL: http://www.londonadvertising.com/2011
Pastie link: http://pastie.org/2913679

Many Thanks

  • 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-05-27T09:08:41+00:00Added an answer on May 27, 2026 at 9:08 am

    The problem with the page navigation is that not all the < a > tag ids are unique.

    The JavaScript is only finding the first the element with a particular ID and only that one will work. All others with the name ID after that will not do anything.

    If you check, the only arrows that work are the first occurrences of a particular ID.

    Ensure that all < a > tags under a div will class ‘next_section’ have a unique ID

    <div class="next_section first">
     <a id="after_work1"> <!-- <<<< ID must be unique -->
       <img src="something.jpg" alt="Next Section">
     </a>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Unicode has a bunch of arrows, but many of them don't have matching right
I have created an up/down arrow segmented control button on the right side of
I have to create the classic combo-box with arrows up and down to increment
Why I have to press 2 times the arrow key down to get a
I have narrowed down my problem to the mysql_connect call I am doing in
I have narrowed down my issue to a derived classes copy constructor, but I
I have a site at blog.foobar.com that I have closed down, and I want
I have a simple ANTLR grammar, which I have stripped down to its bare
Does anyone have the installer for IronXSLT? xmllab.net seems to have gone down and
With Java and Perl background, I have narrowed down the web framework choices to

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.