I want a code that when a visitor enter the site, a confirmation (ok/cancel) javascript alert appear. If the visitor click ok, a pop out will appear.
Well, what do you want the popup to do? If you're just looking for a cut and paste script, try a site like http://javascript.internet.com/
Instead of using javascript have two options on your main page and depending on what user selects, direct him/her to that url in new window as you would!!
The popout will only have a mp3 player, that plays music while you browse the website. I just want a popout to appear if the visitor click ok