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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:33:33+00:00 2026-05-24T23:33:33+00:00

Have a dropdown with a bunch of links alongwith Open directly , Next and

  • 0

Have a dropdown with a bunch of links alongwith Open directly, Next and Previous buttons on IE8.

var count = -1
var total = 24

function goToNext() 
{
 count = parent.nav.openfile.file.selectedIndex
 count ++ 
 if  (count > total)
count = 0;
  parent.display.location= parent.nav.openfile.file.options[count].value
  parent.nav.openfile.file.selectedIndex = count
}

function goToPrevious() 
{
  count = parent.nav.openfile.file.selectedIndex
  count --
  if  (count < 0)
count = total;
  parent.display.location=parent.nav.openfile.file.options[count].value
  parent.nav.openfile.file.selectedIndex = count
}

function LoadFirst() 
{
 parent.display.location=parent.nav.openfile.file.options[0].value
}


function OpenDirectly() 
{
  parent.display.location = parent.nav.openfile.file.options[parent.nav.openfile.file.selectedIndex ].value
}
<FRAMESET  ROWS="45,*"> 
<FRAME 
 BORDER="1"
 FRAMEBORDER="YES"
 MARGINHEIGHT="10" 
 MARGINWIDTH="10" 
 NAME="nav" 
 SCROLLING="NO" 
 SRC="/Slide/test.jsp"
/> 
<FRAME 
  BORDER="1"
  FRAMEBORDER="YES"
  MARGINHEIGHT="10" 
  MARGINWIDTH="10" 
  NAME="display" 
  ID="display"
  SCROLLING="AUTO" 
  SRC="/page.html"
 /> 
 </FRAMESET> 

Above is the code(test.jsp followed by the HTML code containing main frame and navigation frame – the navigation frame is navigation and all the links within it should open within the main frame) which gets called on click of these buttons to move forward, previous or load directly. The issue is that these links open in either new window or new tab but never in same window. Would highly appreciate if anyone provides any recommendations around the same.

  • 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-24T23:33:34+00:00Added an answer on May 24, 2026 at 11:33 pm

    On every link of navigation page, you need to add the target of the display frame or better add <base target="display"> to the head section of test.jsp. The target decides where to open the link in.

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

Sidebar

Related Questions

I have a form with a bunch of dropdown options that I'm dressing up
I'm using Jquery 1.6. I have a dropdown list that has a bunch of
i have a bunch of code where i dynamically create dropdown boxes in javascript.
I have a bunch of items with the same class that when selected open
I have a jquery click event for a bunch of links and one drop-down
i have a bunch of text fields that i want to run a function
I have a page that loads a bunch of scripts to prepopulate dropdowns and
I have dropdown-Lists which have a lot of elements (>1000). When I select one
I have dropdown menu..which is dynamic.. How can get value of the last item
I have dropdown menu below where it retrieves the possible modules id's and their

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.