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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:27:59+00:00 2026-06-02T13:27:59+00:00

Im using multiple (2) jquery versions on a site, i thought that it was

  • 0

Im using multiple (2) jquery versions on a site, i thought that it was a problem, but it doesnt seem so. I found out that i actually got a problem with magic-line navigation http://css-tricks.com/jquery-magicline-navigation/ .

What happens is that it works only on sites that are included in the menu itself. Lets say im on projects site(that is included in the menu itself), everything works ok, but when i open a view of a certain project, the “underline” effect stops working, this is how it looks:

a not workin magic line

i didnt sleep for 4 days, im late for deadline , my brain hurts, plx help

EDIT: i dont think its my code but if it was here it is

some additional info about the code:

base.html

                <ul class="group" id="example-one">
                {% for i in mains %}
                <li class="{% block activetab %}{% endblock %}"><a href="{{ i.menulink }}">{{ i.name }}</a></li>
                {% endfor %}
                </ul>

whats included in certain views:

    {% block activetab %}
    {% ifequal request.get_full_path|cut:"/" i.menulink|cut:"/" %}current_page_item{% endifequal %}
    {% endblock %}
  • 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-02T13:28:01+00:00Added an answer on June 2, 2026 at 1:28 pm

    It seems that menu buggs if there is no single li with current_page_item class, i hacked it by forcing:

    {% ifequal ourprojects i.menulink|cut:"/" %}current_page_item{% endifequal %}
    

    on single project view.
    ALthough it works now, it wont if someone changes the path to ourprojects in the admin panel. I would still like to find a proper solution that would work even if someone changes the path… #or i could just disallow changing the path… but thats another sucky solution.

    and so it stayed.

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

Sidebar

Related Questions

I have a problem using multiple (2) jQuery plugins. I've googled a little but
I'm using the jQuery multi-file upload plugin found here: http://www.fyneworks.com/jquery/multiple-file-upload/ I don't see in
I don't want to use flash. I've found multiple jquery libraries that do this.
I am using the multi-upload plugin found at: http://www.fyneworks.com/jquery/multiple-file-upload/ This is what I am
Im using multiple instances with valums fileuploader , but it seems that uploader only
I am having a problem using multiple jQuery commands. My code: $('td[background=/images/PBox_Border_Left.gif]').remove(); $('td[background=/images/PBox_Border_Bottom.gif]').remove(); $('td[background=/images/PBox_Border_Right.gif]').remove();
On a page I have multiple Jquery UI Sliders that fade out/in the opacity
How to pass multiple checkboxes using jQuery ajax post this is the ajax function
I want to read multiple RSS feeds using jQuery. I'm trying to write a
I am using jquery autocomplete pluguin. Configured to use multiple Values. I set option

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.