|
Post by mikeukmid on Jun 8, 2008 13:36:15 GMT -5
Just returned from holidays and catching up on RB's progress. Email added and Jerry's CM tool to look forward too! New release due soon? My wish is for calldll, pretty soon, pretty please. In case someone has not thought of displaying their data in styled divisions, using a for/next loop, here's a little demo taken from some code I wrote whilst relaxing in the sun and watching the waves break on the seashore. (Yes Jerry, you see, we do get sun in the UK, occasionally ) data " One"," Two"," Three"," Four"," Five"," Six"," Seven"," Eight"," Nine"," Ten" dim bgcol$(2) dim divid$(10) bgcol$(0)="lightblue" bgcol$(1)="lightgreen" html "<h2 align=""center"">Styled divs generated in loop</h2><br />" for n=1 to 10 i=1-i 'alternate the colours read a$ 'name each div for future manipulation divid$(n)="div"+str$(n) html "<div id=""";divid$(n);""" style=""{background:";bgcol$(i);";width:50%;height:25px; font:arial;font-size:12pt;padding-top:5px; margin:auto}"">" print n;a$ html "</div>" next n
Someone may find this useful! Mike.
|
|