Jump to content


Photo

JQuery /Href issues.


  • Please log in to reply
5 replies to this topic

#1 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 12 posts

Posted 09 June 2017 - 09:45 PM

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!


#2 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 12 posts

Posted 11 June 2017 - 02:50 PM

Bump



#3 rbrtsmith

rbrtsmith

    ReferenceError

  • Privileged
  • PipPipPipPipPip
  • 3,928 posts
  • Gender:Male
  • Location:Manchester, UK
  • Experience:Nothing
  • Area of Expertise:Web Developer

Posted 12 June 2017 - 09:33 AM

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)


#4 Jack

Jack

    NaN

  • Moderators
  • PipPipPipPipPip
  • 3,079 posts
  • Gender:Male
  • Location:Jersey Channel Islands
  • Experience:Advanced
  • Area of Expertise:Web Designer

Posted 12 June 2017 - 09:42 AM

It wouldn't be the worst idea to update your version jQuery, 1.11 came out in 2014.



#5 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 12 posts

Posted 16 June 2017 - 10:02 PM

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.



#6 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 12 posts

Posted 17 June 2017 - 07:37 PM

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.

https://codepen.io/L...?editors=0010#0






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users