This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 30, 2012, 6:44 AM
15 Posts

Alignment problem

  • Category: Other
  • Platform: Windows
  • Release: 8.5
  • Role: Developer
  • Tags:
  • Replies: 1
 Hi,
Now I'm working on my system, and have tried to create my first page. But I realized that it is not easy to keep defined alignments for every browsers as well as in Lotus Notes. Not only that it depends on the version of the browser too.   
We can resolve this problem, if we can provide Unit type of height, width, etc as Percentages(%). Domino Designer is not compatible with Percentages. So how can we rescue from this problem?
 
And also, if you have javascript tutorial which is relevant to XPages (except "w3schools") and if anyone have Dojo tutorial Please send me those things as well. 
 
Thanxz. 
May 30, 2012, 7:40 AM
126 Posts
Re: Alignment problem
Were have you tried to use percentages and it hasn't worked?
 
<xp:panel style="width:50%; height:50%; border: 1px solid black;"> </xp:panel>
 
Theres also "styleClass" which you can use to add css classes.
 
 
If your looking for general javascript advice then w3 is where I go, if your looking for XPages javascript API I use the script editor in designer for most of my work and google the odd method I find if I have an issue. 
 
For dojo again the dojo toolkit docs / API's are the only place to get the full list, but what I find really useful is to go to  http://archive.dojotoolkit.org/nightly/dojotoolkit 
Here there is demos and inside each dojo, dijit, dojox there is a "tests" folder which has examples of each control.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal