XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently March 29th, 2024, 2:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: July 29th, 2013, 11:38 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Alerts - it seems the XWidget alert function does not allow anything more than a simple alert.

I was proposing to use the alert function:
var answer = alert("blah, blah, blah - proceed?", "Open Browser Window", "No Thanks");
if (answer === 1) {
openURL("http://www.blah-blah.co.uk");
} else {
something else;
}

Do you have a good alternative to this method?

Your help appreciated.


Last edited by yereverluvinuncleber on August 8th, 2013, 7:16 am, edited 2 times in total.

Top
 Profile  
 
PostPosted: July 29th, 2013, 7:31 pm 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
if (confirm2("Open Browser Window"))
{
openURL("http://www.blah-blah.co.uk");
}
else
{
something else;
}


Top
 Profile  
 
PostPosted: July 30th, 2013, 2:55 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Thankyou, that was very useful and quick!.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 73 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group