hi i would like to know how people make the litle blue bar at the top of the mojomarketplace site that someone can exit if they dont want it
?

Recommended Answers

With the majority of browsers, you can right click on a webpage and "View Source". What this allows you to do is look at the various bits of JavaScript, HTML and CSS which makes up the site and from this hopefully you can find what you are looking for.

It …

Jump to Post

Its a jQuery Div.

Empty it like this ...

$('#Somediv').empty();

You can add code to create a cookie so if they come back to the site it won't show again.

Jump to Post

All 5 Replies

With the majority of browsers, you can right click on a webpage and "View Source". What this allows you to do is look at the various bits of JavaScript, HTML and CSS which makes up the site and from this hopefully you can find what you are looking for.

It might take a bit of debugging though, or you can use a tool such as Firebug to do it for you!

Its a jQuery Div.

Empty it like this ...

$('#Somediv').empty();

You can add code to create a cookie so if they come back to the site it won't show again.

i dont want to remove it i want to know how people add it

It's not called anything in particular. It's just another div controlled via jquery.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.