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

  • Home
  • SEARCH
  • 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 9017009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:09:10+00:00 2026-06-16T04:09:10+00:00

I have a Colorbox which opens a hidden div with 2 major divs inside.

  • 0

I have a Colorbox which opens a hidden div with 2 major divs inside.

<div style="display:hidden">
  <div id="legal">
    <div id="tos">Long html here</div>
    <div id="daten">Another Long html here</div>
  </div>
</div>

Additionally there are 2 separate javascript functions that call the same colorbox from flash:

function invoke_tos() {
  $.colorbox({inline:true, href:'#legal', top: 300});
}
function invoke_daten() {
  $.colorbox({inline:true, href:'#legal', top: 300});
}

what I want is invoke_daten to open the “legal” div but scroll to “daten” section.

Is this possible with colorbox or jquery without using additional plugins? If yes how?

  • 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-16T04:09:12+00:00Added an answer on June 16, 2026 at 4:09 am

    I am also facing same situation as @alexander-nenkov clarified in his follow-up comment: “want to show both nested divs but scroll to second. Something like anchor.”

    I believe this is IMPOSSIBLE for inline mode, simply because the traditional anchor notation “#inline_content” has been used by colorbox to trigger inline content, and we can not have “#inline_content#anchor” notation (at the time of writing this post).

    Actually colorbox author, Jack Moore, answered similar question here: “You should be using an iframe”. https://groups.google.com/forum/?fromgroups=#!topic/colorbox/O3ZrA8fvjaU

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

Sidebar

Related Questions

I have this: $(a.money).colorbox({href:$(a.money).attr(href)+ div#content}); Which opens an overlay but only of the content
I have a working webpage which just displays external html files inside a div
I have a set of DIVs, which I am displaying via Colorbox. It works
Hi I have a colorbox which opens on every page when the user clicks
I have a swf that opens up inside a colorbox window. When the video
I have multiple UpdatePanels on a webpage, one inside UserControl (Purple ColorBox as show
I'm using colorbox on a div. I have nested div's. When i click the
I have two colorbox popup boxes which show a YouTube video in each. When
I have a Lightbox clone (colorbox), which works fine and has no real issues.
I have problems laying out the jCarousel pager (which I'm using along with Colorbox

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.