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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:08:17+00:00 2026-05-19T12:08:17+00:00

I am using a very cool jquery drop down menu by Zach at One

  • 0

I am using a very cool jquery drop down menu by Zach at One Mighty Roar. I cannot get this to link to let’s say, a Facebook page in a new window. The js file is below:

$(document).ready(function(){

//Remove outline from links
$("a").click(function(){
$(this).blur();
});

//When mouse rolls over
$("li").mouseover(function(){
$(this).stop().animate({height:'150px'},{queue:false, duration:600, easing: 'easeOutBounce'})
});

//When mouse is removed
$("li").mouseout(function(){
$(this).stop().animate({height:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'})
});

});

The html is below:

<div id="nav">
<ul class="tabNav">
<li><a href="#tab=5"><img src="../images/facebook.png" alt="Check out our Facebook page!" width="36" height="36" border="0" /></a></li>
<li><a href="#tab=4">FTP Site</a></li>
<li><a href="#tab=3">Contact</a></li>
<li><a href="#tab=2">Services</a></li>
<li class="current"><a href="#tab=1">Projects</a></li>
</ul>

<div class="tabContainer">
<div class="tab"><p><a href="http://www.facebook.com" target="_blank">Click here to be taken to our Facebook page.</a></p></div>
<div class="tab"><p>Click here to be taken to our ftp site to download your documents.</p></div>
<div class="tab">Contact Info</div>
<div class="tab">Services Info</div>
<div class="tab current">Projects Info</div>
</div>

The css:

/* MENU */

ul.tabNav {
    list-style: none;
    width: 100%;
    float: left;
}
ul.tabNav li {
    float: right;
    margin: 0;
}
.tab.current ul li {
    list-style-type: none;
    margin-left: 15px;
    line-height: 1.5em;
}
.tabNav li a img {
    margin-top: 15px;
}
ul.tabNav li.current {

}
ul.tabNav a {
    color: #FFF;
    display: block;
    height: 66px;
    padding: 10px;
    text-decoration: none;
    width: 66px;
    margin-left: 4px;
    font-size: 16px;
    border: 1px solid #FF9933;
    text-align: center;
    font-weight: normal;
    text-transform: lowercase;
    font-family: "Century Gothic";
    letter-spacing: 1px;
    line-height: 60px;
}
ul.tabNav li.current a {
    padding: 10px;
}
div.tabContainer {
    clear: both;
    float: right;
    width: 500px;
    z-index: 9999;
}
div.tabContainer div.tab {
    border: 1px solid #FF9933;
    color: #FFF;
    display: none;
    padding: 10px;
    background-image: url(images/slideshow_bg.png);
    background-repeat: repeat;
    margin-top: 14px;
    height: 500px;
}
div.tab p:last-child { margin-bottom: 0; }
.tabContainer .tab { display: none; }

I have tried adding my http:// up in the tabNav AND/OR the tabContainer sections and I cannot link out. Frustrating.

  • 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-19T12:08:18+00:00Added an answer on May 19, 2026 at 12:08 pm

    Have you tried:

    <a href="#" onclick="window.open('http://www.facebook.com')">Click here to be taken to our Facebook page.</a>
    

    You can also set other attributes. Check out the documentation and examples here: http://www.w3schools.com/jsref/met_win_open.asp

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

Sidebar

Related Questions

Using python 2.4 and the built-in ZipFile library, I cannot read very large zip
jQuery has the very cool feature/method .data, I wonder if there is a way
We are using LINQ very widely in our system. Particularly LINQ-to-objects. So in some
I am using a very intrinsic database with a CakePHP application and so far
I have been using Hibernate very successfully, but today I noticed a bizarre phenomenon
Background I am writing and using a very simple CGI-based (Perl) content management tool
I still very new using Subversion. Is it possible to have a working copy
I'm using forms authentication on a very small ASP.NET web app (Web Forms) in
I am posting a very simple form using a method I have used frequently
I have a very simple WPF application in which I am using data binding

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.