While I was surfing the web I ran into quite an interesting website, namely of Compagnie Financière Richemont S.A. ([url]http://www.richemont.com/[/url]). I know there is some php involved. But I am not sure how it’s done exactly. I would greatly appreciate it if someone could clarify its workings somewhat and tell me how I can achieve the same effect with my website (my server supports php).
var newURL = Selected.options[Selected.selectedIndex].value ;
if (newURL!=" ") {
document.location.href = newURL;
}
}
</script>
These codes should do it. All I need know is some side server scripting. I am not completely sure how to write this though. Notice that tablecolor of the www.richemont.com site also differ each time. So I think a random image viewing script isn't enough.