Jquery and Menu and logo

0 votes

All,

I am trying to set up a website menu using this Jqueryscript.net template.

The instructions accompanying the template tell me to activate the script with

$(function() {
$('#menu').cookcodesmenu();
});
Jun 22, 2022 in Web Development by gaurav
• 23,260 points
415 views

1 answer to this question.

0 votes

Seems your anchor tag is not visible as logo because there is nothing in side anchor tag.please try the below code push something in the anchor tag.

<a href="https://google.com"><img src="yourpath/image.png"></a>

Please use something like this and try it.

 $(function() {
        $('#menu').cookcodesmenu({
            brand: '<a href="https://google.com"><img src="yourpath/image.png"></a>'
        });
    });
answered Jun 22, 2022 by rajatha
• 7,680 points

Related Questions In Web Development

0 votes
1 answer

jQuery find, each, children and accessing sub-children

Well you code is not really correct. .find() does ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,680 points
5,367 views
0 votes
1 answer

how to add erroricon and custom validation message using jquery?

By default, the error message is put ...READ MORE

answered Jun 30, 2022 in Web Development by rajatha
• 7,680 points
4,634 views
0 votes
0 answers

scroll up and down a div on button click using jquery

I am trying to add a feature ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 23,260 points
8,164 views
0 votes
0 answers

jQuery: serialize() form and other parameters

Is it possible to send form elements (serialized with .serialize() method) ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 23,260 points
1,737 views
0 votes
1 answer

What is jQuery?

Hey, jQuery is a fast and concise JavaScript ...READ MORE

answered Feb 14, 2020 in JQuery by kartik
• 37,520 points
1,347 views
0 votes
1 answer

Uncaught TypeError: Cannot read property 'msie' of undefined - jQuery tools

Hello, Use the following script tag in your ...READ MORE

answered Apr 28, 2020 in JQuery by Niroj
• 82,840 points
15,869 views
0 votes
1 answer

Uncaught Error: Bootstrap's JavaScript requires jQuery

Hello @kartik, You have provided wrong order for ...READ MORE

answered Apr 28, 2020 in JQuery by Niroj
• 82,840 points
23,375 views
0 votes
1 answer

How to make Bootstrap popover Appear/Disappear on hover instead of click?

Hello @kartik, Set the trigger option of the popover to hover instead ...READ MORE

answered May 12, 2020 in JQuery by Niroj
• 82,840 points
3,339 views
0 votes
1 answer

jQuery $(this) selector function and limitations

this isn't a jQuery "thing", but a basic JavaScript ...READ MORE

answered Jun 23, 2022 in Web Development by rajatha
• 7,680 points
686 views
0 votes
1 answer

What is the difference between JavaScript and jQuery?

JavaScript is an independent language and can ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,680 points
683 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP