Jump to content


Photo

JQuery /Href issues.


  • Please log in to reply
11 replies to this topic

#1 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:System Administrator

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
  • 45 posts
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:System Administrator

Posted 11 June 2017 - 02:50 PM

Bump



#3 rbrtsmith

rbrtsmith

    ReferenceError

  • Privileged
  • PipPipPipPipPip
  • 4,004 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,164 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
  • 45 posts
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:System Administrator

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
  • 45 posts
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:System Administrator

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



#7 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:System Administrator

Posted 25 June 2017 - 10:06 AM

Bump.



#8 rbrtsmith

rbrtsmith

    ReferenceError

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

Posted 26 June 2017 - 08:25 AM

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. 



#9 arikstudy1

arikstudy1

    Forum Newcomer

  • Members
  • Pip
  • 1 posts

Posted 26 June 2017 - 10:04 AM

How do I add JQuery to new site ? This is a website that deals with seo-google, is it complex? If it's really complicated I'd love to see comprehensive guides on the subject.



#10 rbrtsmith

rbrtsmith

    ReferenceError

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

Posted 26 June 2017 - 10:31 AM

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.



#11 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:System Administrator

Posted 28 June 2017 - 05:35 PM

https://codepen.io/L...GB?editors=0010



#12 Louwwieee42

Louwwieee42

    Forum Newcomer

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:System Administrator

Posted 09 July 2017 - 08:27 PM

Bump






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users