We have a script in place on our website and inside the script is code to display text in a popup window. Each page has the following call function for the script
The text above "Click on any of the 4 ways to contact us!!" is the text we are trying to get center aligned. It is currently aligned to the left of the popup box.
I noticed something in the main javascript file that has a section for that particular area
The rest of the javascript file can be viewed at:
I've contacted the author of the script regarding this and they have provided a couple solutions that had no help and I have not heard anymore from them, so I am turning to the experts here at Tek-Tips for assistance.
I've tried putting that line of text in a div wrapper, but that did not help it at all. If anyone can help me out, it would be greatly appreciated. Thanks!
Enkrypted
A+
Code:
function ModalPopupsAlert99() {
ModalPopups.Alert("jsAlert99",
"Click on any of the 4 ways to contact us!!",
"",
{
okButtonText: "Close",
loadHTMLFile: "contact_us_box.html",
width: 410,
height: 500
}
);
}
The text above "Click on any of the 4 ways to contact us!!" is the text we are trying to get center aligned. It is currently aligned to the left of the popup box.
I noticed something in the main javascript file that has a section for that particular area
Code:
//Support function to create all layers
_createAllLayers: function(id, title, message, parameters) {
//Create all 6 layers for; BackGround, Popup, Shadow, PopupTitle, PopupBody, PopupFooter
var oBackground = ModalPopupsSupport.makeLayer(id+'_background', true, null); // 0
var oPopup = ModalPopupsSupport.makeLayer(id+'_popup', true, null); // 1
var oShadow = ModalPopupsSupport.makeLayer(id+'_shadow', true, null); // 2
var oPopupTitle = ModalPopupsSupport.makeLayer(id+'_popupTitle', true, oPopup); // 3
var oPopupBody = ModalPopupsSupport.makeLayer(id+'_popupBody', true, oPopup); // 4
var oPopupFooter = ModalPopupsSupport.makeLayer(id+'_popupFooter', true, oPopup); // 5
The rest of the javascript file can be viewed at:
I've contacted the author of the script regarding this and they have provided a couple solutions that had no help and I have not heard anymore from them, so I am turning to the experts here at Tek-Tips for assistance.
I've tried putting that line of text in a div wrapper, but that did not help it at all. If anyone can help me out, it would be greatly appreciated. Thanks!
Enkrypted
A+