473,320 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

MSN Search : how do they do that?

Hi

Just trying to work out how they do the buttons on the MSN Search Beta

search.msn.co.uk

When you roll over the words at the botton, "Search Builder", "Settings" and
"Help", a border appears around them. They obviously arent asp:button s or
anything, just links, but how do they that cool look with the borders??

Cheers
Dan
Nov 19 '05 #1
6 1048
Hi, Dan.

In common.js ( the Javascript source file ),
look at this function :

function toggleQB(show)

That function toggles the display style
for the links from "block" to "none".

Then, if you look in common.css,
and check the properties for "qb",
you'll see how the border properties
which are toggled by the function are set.

Quite creative, I must say.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

"dhnriverside" <da*@musoswire.com> wrote in message
news:9A**********************************@microsof t.com...
Hi

Just trying to work out how they do the buttons on the MSN Search Beta

search.msn.co.uk

When you roll over the words at the botton, "Search Builder", "Settings"
and
"Help", a border appears around them. They obviously arent asp:button s or
anything, just links, but how do they that cool look with the borders??

Cheers
Dan

Nov 19 '05 #2
Dan,

If you look at
www.search.msn.co.uk/s/common.css
you will find rule
#commands a:hover
{
border: 1px solid #aacef2;
padding: 2px 4px;

margin: 0;

}

It does the trick.

Eliyahu

"dhnriverside" <da*@musoswire.com> wrote in message
news:9A**********************************@microsof t.com...
Hi

Just trying to work out how they do the buttons on the MSN Search Beta

search.msn.co.uk

When you roll over the words at the botton, "Search Builder", "Settings" and "Help", a border appears around them. They obviously arent asp:button s or
anything, just links, but how do they that cool look with the borders??

Cheers
Dan

Nov 19 '05 #3
Hmmm...you're right.

My apologies for sending incorrect info.
I could have sworn it was the ToggleQB function...

<crawling back to my desktop...>

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:OM**************@TK2MSFTNGP10.phx.gbl...
Dan,

If you look at
www.search.msn.co.uk/s/common.css
you will find rule
#commands a:hover
{
border: 1px solid #aacef2;
padding: 2px 4px;

margin: 0;

}

It does the trick.

Eliyahu

"dhnriverside" <da*@musoswire.com> wrote in message
news:9A**********************************@microsof t.com...
Hi

Just trying to work out how they do the buttons on the MSN Search Beta

search.msn.co.uk

When you roll over the words at the botton, "Search Builder", "Settings"

and
"Help", a border appears around them. They obviously arent asp:button s
or
anything, just links, but how do they that cool look with the borders??

Cheers
Dan


Nov 19 '05 #4
> I could have sworn it was the ToggleQB function...
They use it to show Search Builder panel.

I think it's perfectly ok to suggest things that are not 100% precise. Most
important, the answers should encourage original posters to make their own
research in the right direction.
Nov 19 '05 #5
re:
I think it's perfectly ok to suggest
things that are not 100% precise.
A top-rated baseball hitter is successful in 30-35% of
his turns at bat ( hitting .300 to .350 for the season ).

Here, the norm is expecting close to 100% success rate.
Hitting .975 in this league makes one look like a piker.

;-)

re: Most important, the answers should encourage original
posters to make their own research in the right direction.


Truer words have never been spoken.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O7**************@TK2MSFTNGP10.phx.gbl...
I could have sworn it was the ToggleQB function...

They use it to show Search Builder panel.

I think it's perfectly ok to suggest things that are not 100% precise.
Most
important, the answers should encourage original posters to make their own
research in the right direction.

Nov 19 '05 #6
Cool, thanks :) Had tried to get the CSS but hadnt managed it, t'all makes
sense now!

"Juan T. Llibre" wrote:
re:
I think it's perfectly ok to suggest
things that are not 100% precise.


A top-rated baseball hitter is successful in 30-35% of
his turns at bat ( hitting .300 to .350 for the season ).

Here, the norm is expecting close to 100% success rate.
Hitting .975 in this league makes one look like a piker.

;-)

re:
Most important, the answers should encourage original
posters to make their own research in the right direction.


Truer words have never been spoken.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:O7**************@TK2MSFTNGP10.phx.gbl...
I could have sworn it was the ToggleQB function...

They use it to show Search Builder panel.

I think it's perfectly ok to suggest things that are not 100% precise.
Most
important, the answers should encourage original posters to make their own
research in the right direction.


Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lance Hoffmeyer | last post by:
Hi all, Anyone know where I can find a python script to search ebay? I have been looking around but haven't found anything. I know there must be one somewhere so I am probably just looking in...
22
by: Phlip | last post by:
C++ers: Here's an open ended STL question. What's the smarmiest most templated way to use <string>, <algorithms> etc. to turn this: " able search baker search charlie " into this: " able...
16
by: Stanley Sinclair | last post by:
Bear with me. I am being very calm; took a Valium. I have waited two weeks to write this, because every time I wrote it before the message was, at best, nasty. I need to use the services of...
8
by: Huihong | last post by:
Please check out our newly released source code search engine here, http://www.codase.com e.g., search socket method call,...
2
by: Scott | last post by:
I'm trying to use the HTMLHelp API calls in a VB.NET program because I want a little more functionality than is offered by the Help class in .NET. Everything works fine except for displaying the...
0
by: Hriday | last post by:
Hi there, I am working on a web application in ASP.NET My web server and AD machine are in the same domain but located on diffrent phisical machine, I am not able to search user's info by the...
4
by: BenCoo | last post by:
Hello, In a Binary Search Tree I get the error : Object must be of type String if I run the form only with the "Dim bstLidnummer As New BinarySearchTree" it works fine. Thanks for any...
1
by: cglewis03 | last post by:
Hello, I am trying to build a search form with several different options to choose from. Currently it is set up to open within the same window if a single option is selected and open within a...
5
by: nicehulk | last post by:
I'm doing a library for DVD-movies and I'm trying to figure out how to search different categories like director, title, actor etc. (which are all variables in a DVD-class). Previously I did like...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.