Jump to content

Google Chrome And Dropdown Menu's


Classico

Recommended Posts

I have a dropdown menu which uses the onclick="window.location =''" feature to navigate to different pages on my statistics website, and it works fine in FireFox. But it doesn't seem to be working at all when I try it in Chrome....

 

Is there a simple way on how to get it working for both FireFox and Chrome, or doesn't Chrome support it?

 

Here's my dropdown if needed.

 

 <select>
	 <option></option>
	 <option onclick="window.location = 'http://www.stats.dawncraftmc.com/online.php'">Online</option>
	 <option onclick="window.location = 'http://www.stats.dawncraftmc.com/kills.php'">Kills</option>
	 <option onclick="window.location = 'http://www.stats.dawncraftmc.com/deaths.php'">Deaths</option>
	 <option onclick="window.location = 'http://www.stats.dawncraftmc.com/xp.php'">XP</option>
	 <option onclick="window.location = 'http://www.stats.dawncraftmc.com/blocks.php'">Blocks</option>
 </select>

Link to comment
https://forums.phpfreaks.com/topic/270671-google-chrome-and-dropdown-menus/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.