The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Get immediately to the advanced search?

5 posters

Go down

Solved Get immediately to the advanced search?

Post by Bigtuber March 29th 2016, 2:17 pm

Technical Details


Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : All members
Forum link : http://kingsroadforum.forumieren.com/

Description of problem

Hello,

first I want to say that I couldn't find anything about this in the search.

It is possible to get immediately to the advanced search, if you click "Search" on the navbar?
So it shouldn't come the little pop-up search.


Thanks in advance and best regards


Last edited by Bigtuber57 on April 3rd 2016, 3:18 am; edited 3 times in total
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur March 29th 2016, 3:26 pm

Hi,

Add the script below to javascript codes management with placement in all the pages.
Code:
$(function() {
  var search = $('a.mainmenu[href^="/search"]')[0];
  if (search) search.onclick = null;
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber March 29th 2016, 7:52 pm

Thanks Ange,

works perfectly! Smile


Edit: Do you have the code for the sticky navbar too? Very Happy
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by SLGray March 29th 2016, 8:16 pm

Code:
        $(function() {
          var search = $('fa_sticky_nav a.mainmenu[href^="/search"]')[0];
          if (search) search.onclick = null;
        });


Get immediately to the advanced search? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51532
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber March 30th 2016, 2:52 pm

Hey @SLGray

unfortunalety that doesn't work. ( I also thought that will work, but nothing :o )
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Draxion March 30th 2016, 3:22 pm

Hello there,

Just follow this link to the Navbar Sticky.

Regards.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber March 30th 2016, 5:25 pm

Draxion wrote:Hello there,

Just follow this link to the Navbar Sticky.

Regards.

Huh?
I already have the sticky navbar, but I try to get immediately to the advanced search, if I click on "Search" on the sticky navbar.
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Draxion March 30th 2016, 6:05 pm

Oh my bad. Disregard that post then. Sorry, misread the topic.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber April 1st 2016, 3:28 pm

Bump Smile
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur April 1st 2016, 5:01 pm

Hey,

Sorry for the delay, replace the script I gave you with this one :
Code:
$(function(){$(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search.onclick = null;
  }
})});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber April 1st 2016, 10:59 pm

Hey Ange,

no problem. Smile

Unfortunalety that script does not change anything. (Yep I placed in all the pages)



Best regards
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by SLGray April 1st 2016, 11:01 pm

Are members the only ones allowed to see the search link in the navigation bar?  I do not see it.


Get immediately to the advanced search? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51532
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber April 2nd 2016, 5:00 am

Hey @SLGray

Yea they were the only ones, but I changed it to guests till this problem is solved. Smile
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur April 2nd 2016, 6:59 pm

That's odd. Delete the script I gave you, and then proceed to edit your sticky navigation script. Paste this script at the top of the sticky nav :
Code:
$(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search.onclick = null;
  }
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber April 2nd 2016, 11:00 pm

Hi Ange,

unfortunalety that doesn't work too. Sad

Get immediately to the advanced search? Loool10

I paste latest script you gave me at the top of the sticky navbar script but nothing. (And yes, the other scripts are deleted)


Strange?
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur April 2nd 2016, 11:22 pm

Sorry, I made a small mistake in the loop. Replace the script with this :
Code:
$(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search[i].onclick = null;
  }
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber April 3rd 2016, 12:16 am

Hi Ange,

now it goes immediately to the advanced serach on the normal navbar.
But on the sticky navbar, the search pop up appears again. Crying or Very sad
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur April 3rd 2016, 12:20 am

You placed it in the same script as the navbar, correct ? If so, it should have worked. Think

Use this as a last resort :
Code:
$(window).load(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search[i].onclick = null;
  }
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber April 3rd 2016, 3:17 am

Heya Ange,

with your last script it works Smile

Solved. banana
Bigtuber
Bigtuber
Forumember

Male Posts : 450
Reputation : 19
Language : German, English
Location : Germany

https://hilfe.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by brandon_g April 3rd 2016, 4:58 pm

Thanks for your awesome help @Ange Tuteur . Very Happy

Topic solved and archived ~ brandon_g


Get immediately to the advanced search? Brando10
Remember to mark your topic Get immediately to the advanced search? Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Get immediately to the advanced search? Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10112
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum