d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Wp Question (advanced) 100fg
Add Reply New Topic New Poll
Member
Posts: 2,414
Joined: Mar 16 2012
Gold: 0.00
May 2 2014 04:18pm
Hi i'm using a premium Wordpress tabs plugin,

i can link to those tabs on the very same page through <a href and some other parameters>

i can link to those tabs from other sites by using www.domainname.com/#tabname

but as soon as i use www.domainname.com/#tabname in my wordpress menu as a custom link it doesnt work. On navigation-menu click it just puts the url in the URLbar but nothing loads.

a symbolic 100fg for the genious that could help me out.

kind regards
Member
Posts: 45,291
Joined: Dec 25 2006
Gold: 2,819.99
May 3 2014 02:31am
post some code
Member
Posts: 2,414
Joined: Mar 16 2012
Gold: 0.00
May 4 2014 05:20pm
Hi there mx0, thanks alot for your reply. I was losing faith for a second :D!

I think this might be my theme thats causing the custom link on the navigation not to load, there is no code to post.

Raising to a 150fg donation.

kind regards
Member
Posts: 2,217
Joined: Sep 10 2007
Gold: 35.88
May 6 2014 12:55pm
Quote (mxO @ May 3 2014 02:31am)
post some code


there are an infinite number of ways to code even the simplest of themes.
please post code.
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
May 8 2014 10:28am
Post your <a href=""></a> code and check to see if any javascript is preventing it from running.
Member
Posts: 2,414
Joined: Mar 16 2012
Gold: 0.00
May 11 2014 08:40am
Hi there guys!

i noticed this error when i press on the navigation link:

Code
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Failed to load resource: the server responded with a status of 404 (Not Found) https://encrypted-tbn1.gstatic.com/favicon?q=tbn:ANd9GcRK_9rb3j3USowmytHD41hMyCBfqwHcWCGoy8lSf8O6VwH8Xu9QmeRDDjOKy5QNPg
Failed to load resource: the server responded with a status of 404 (Not Found) https://encrypted-tbn3.gstatic.com/favicon?q=tbn:ANd9GcTG6vGfa-Vw9dgsf8UlfECgeRWr06vjFBHwx0Lm3LBlugyP2Y5Nlc68MUYqSmqjDskS2AffdiCvZ0iRkpPofA
Uncaught Error: Syntax error, unrecognized expression: http://www.reisverzekering-faq.nl/#welke-reisverzekering-heb-ik-nodig jquery-1.8.3.min.js:2
Member
Posts: 9,202
Joined: Sep 22 2009
Gold: 18,819.66
May 23 2014 08:23am
Most likely what its doing is reading it as an anchor link. So it's trying to pull you somewhere on the page.
The way the tabs plugin works is by calling Javascript. Therefore a link cannot pull you to a certain tab from a top menu item. (Possible.. I'm sure... Easy... Definitely not)

Basically if you are off page, it's looking for an anchor link on page and isn't finding one within the source so you return an error.

Source - Me - Wordpress Developer for 5+ Years. (If it's "Premium WP Tabs", I've also used the plugin"
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll