I saw many websites, when loaded, it will pop up a small window showing some announcements. But looks like it's not achieved by window.open() function, since it's just a small area with fine borders (maybe 1 px), and on top right, just one button to close the window. How to achieve this? Please don't suggest window.open() here. Also in some websites, at the top there a menu bar, and when you move mouse to the links, it will pop up some hints, how to do that also?
Hi, you can do this with scripts like javascripts. I suggest your search websites offering them for free if you cannot do it yourself.
Often this is just a div styled to look like a window. You can use javascript to give it drag and drop properties or to make it 'pop-up' to further mimmick a window...
This is known as the "modal box" technique. Here's one for jquery: jquery.com/demo/thickbox/ (there are better out there)
jquery is the best option. There are many plugin's available that do this. The coolest one uses the jQuery UI and jQuery/. It allows you to resize the window and move it within the browser window. Here's a great example: (httpqueryui.com/demos/dialog/ (I'm not allowed to post links yet but preceed the jqueryui with http) PM me if you need something done.
If you understand JS you should be able to interpret the code in the example I gave. Expecting someone to "Give you the code" defeats the purpose of learning how it works.