Jump to content

Can Javascript Select Context Menu Items?


chibineku
 Share

Recommended Posts

Is it possible to have JavaScript select an item from the context menu? Say I have an array of images and I display one randomly, can I then use JS to select the "set as background" option from the context menu that would open should I click on that image? I merely wondered if it would be a viable way to set your desktop wallpaper randomly...just run the page whenever you're feeling bored with your wallpaper. You could then add PHP / AJAX to allow others to upload images/add image links to an XML file/database/folder for you to choose from. I'm aware of the sort of things you would end up with if you let people upload or suggest anything, I just wonder if it's possible.

Link to comment
Share on other sites

Yes, but...but...an online one! With community ethos! And...and...yeah, just like that.

Link to comment
Share on other sites

Ah, das is verdad.

Link to comment
Share on other sites

Hai, pa-russki agis Nihongo aussi. Why speak in one language when you can speak in six concurrently?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...