R: progress bar

"Luca Notari" <[email protected]> Thu, 26 Oct 2006 10:52:33 +0200
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <000201c6f8dc$13f1dff0$6501a8c0@evo01>
Hi Clemens, this is a code from ILSE(http://ilse.eveca.de/)
An on-line editor for mod_survey files that i've used with success:

<CUSTOM  ESCAPED="no">
<div style="width:206; font-size:10pt; font-family:arial">
	<span style="text-align:left">0</span>
	<span style="padding-left:162px; text-align:right;">100%</span>
</div>
<div style="width:200px; background-color:#7b9ace; font-size:10px;
border-top: black 1px solid; border-bottom: black 1px solid;
border-left: black 3px solid; border-right: black 3px solid;">
	<div style="width:<!--%progress%-->px; background-color:black;">
	&nbsp;	</div>
</div>
<br />
</CUSTOM>
This code is the html part for a progress bar.

An example for using a progress bar (supposing a multipage survey with 2
pages):

<SURVEY TITLE="progress!!" PROGRES="1/2">
{@myHtmlProgressCode.html@}
...
</SURVEY>
<SURVEY TITLE="progress!!" PROGRES="2/2">
{@myHtmlProgressCode.html@}
...
</SURVEY>
in myHtmlProgressCode.html you can include the above CUSTOM tag

The %progress% variable passes the width value in pixels to the style
attribute of the div tag. 

-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di Clemens
Gruber
Inviato: mercoledì 25 ottobre 2006 18.18
A: [email protected]
Oggetto: survey-discussion-list: progress bar


Hi,

how can I realize a progress bar in mod_survey?

What have I to write in the survey-Tag?
<SURVEY PROGRES="300" ... > or
<SURVEY PROGRES="n1/300" ... > or only
<SURVEY PROGRES ... >

And what means "see the html markup section", p. 7 Syntax Reference? In
the mailinig list archive there is sometihng like <--%progress%-->

but where have I to put it in
  <CUSTOM>
     &lt;--%progress%--&gt;
  </CUSTOM>

or as tag <--%progress%-->

Has somebody an exaple. The relevant (?) url in the mailing list 
http://thread.gmane.org/gmane.comp.apache.mod-survey.general/907 doesn't

work.

Clemens
Skickat av Clemens Gruber <[email protected]>
till survey-discussion

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/493 - Release Date:
23/10/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/493 - Release Date:
23/10/2006
 



Skickat av "Luca Notari" <[email protected]>
till survey-discussion