I just wanted to know how can I create a button that can take a person to multiple websites in a random order when it is clicked each time. I do not want these websites to open all at once, only one at a time. I'm looking for something similar to the "stumble" button that is used on StumbleUpon. I plan on using this button for a toolbar that I'm planning to create so if anyone here can answer this question I'd greatly appreciate it. Thanks!
相关问题
- React Native Inline style for multiple Text in sin
- Set BaseUrl of an existing Pdf Document
- Unity - Get Random Color at Spawning
- Using relative links in Blogger
- Unknown space between links
相关文章
- How to get rid of border around and image used as
- why 48 bit seed in util Random class?
- Removing the href attribute
- Need help generating discrete random numbers from
- How to create a hyperlink to a different Excel she
- Get random records with Doctrine
- Looking for a fast hash-function
- Oracle random row from table
Make a JS array with the target URLs, and randomly pick from it when the button is clicked.
Here is a working example:
And here is a link with this onClick handler assigned.
You can style it to look like a button, if you want.
Just FYI the crazy links come from TheUselessWeb's list.