Besttoolbars Development network

Back to Besttoolbars main site

 

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
modalDialogue

 
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> New Feature Suggestion
Author Message
hannah



Joined: 17 Oct 2007
Posts: 11

PostPosted: Fri May 09, 2008 8:18 pm    Post subject: modalDialogue Reply with quote

able to bring up modalDialogue that dim the background.
Back to top
andry.virvich



Joined: 24 Dec 2007
Posts: 13

PostPosted: Sun May 11, 2008 1:57 pm    Post subject: Reply with quote

You can use JS, like

Code:


function _modalDialog(text)
{
   var _body = document.getElementsByTagName('body').item(0);
   var _div = document.createElement('div');
   _div.setAttribute('style', "background:gray;width:100%;height:100%;position:absolute;left:0px;top:0px;filter: alpha(opacity=20);opacity: 0.2;");
   _body.appendChild(_div);
   
   alert(text);
   
   _body.removeChild(_div);

}

</script>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> New Feature Suggestion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group

Copyright c Softomate, 2008. All Rights Reserved
Terms of Service | Privacy Policy