Jump to content
Sign in to follow this  
Louwwieee42

JQuery /Href issues.

Recommended Posts

Hi all,

 

I have changed a navigation href from something like "#Test" to a link to some forums as you can see, but upon doing so my page will now not load at all, (although if you shrink the page enough to a mobile size it does show some colour.) I have also found the following error:

 

"https://pastebin.com/YLv1BJu8"

 

The website link is: "http://www.rustyapple.x10.mx/"
And here is the link to my corresponding jquery file:
Kind regards,
Louwwieee42!

Share this post


Link to post
Share on other sites

We're not gonna be able to gleam much from a minified bundle. Can you put your code up on Codepen?

I am getting the following errors in the console when loading your page, one is syntax error in the JavaScript and two 404s

jquery.min.js:2 Uncaught Error: Syntax error, unrecognized expression: http://forums.rustyapple.x10.mx
    at Function.db.error (jquery.min.js:2)
    at ob (jquery.min.js:2)
    at xb (jquery.min.js:2)
    at Function.db [as find] (jquery.min.js:2)
    at n.fn.init.find (jquery.min.js:2)
    at n.fn.init (jquery.min.js:2)
    at n (jquery.min.js:2)
    at HTMLAnchorElement.<anonymous> (jquery.nav.js:127)
    at Function.each (jquery.min.js:2)
    at n.fn.init.each (jquery.min.js:2)
plus.png Failed to load resource: the server responded with a status of 404 (Not Found)
analytics.js Failed to load resource: the server responded with a status of 404 (Not Found)

Share this post


Link to post
Share on other sites

Hi,

 

This is my JQuery code in CodePen. Sorry I literally have no clue with JQuery - Which shows, if you could edit it for me I would be much appreciative.

Share this post


Link to post
Share on other sites

You've just thrown in a minified dump of jQuery into Codepen, we can't do anything with that! Include jQuery into your codepen using the JavaScript settings and then put in your own code into the editor.

Share this post


Link to post
Share on other sites

The easiest way to get jQuery into a project is via a CDN. What problems are you looking to solve with jQuery? You might not even need it.

https://code.jquery.com/

That URL you posted is in some Asian language so I can't tell you anything about that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing

    No registered users viewing this page.

  • Member Statistics

    • Total Members
      57,534
    • Most Online
      4,970

    Newest Member
    2nd Mortgages GTA
    Joined
  • Forum Statistics

    • Total Topics
      65,734
    • Total Posts
      455,403
×