|
From: Sven W. <sve...@in...> - 2003-02-14 15:03:05
|
Manfred Stellenberg schrieb:
> sven:
>=20
>>> what i want to make: (see screenshot!)
>>> 1. statusbar for each download (not graphically, html table)=20
>>> [functions.inc]
>>
>>
>>
>> I thought about it, too. What do the others think about Manfred's=20
>> way!? Would it be possible to put the bar behind the Text. I think so=20
>> (td with background-image, using css: edit the width and put a=20
>> "no-repeat"). Would save space on the gui ;-)=20
>=20
>=20
>=20
> thats right, ehm.. good idea...:)
> *thoughtful*
> i'll try it... or an other has it coded before?
> (ehm, can i use "coded" or what should i use?)
After having read many (!) sites:
It isn't possible to resize a background image :-(
But there is a way, i paste my unfinished code here, i think with this=20
it's a small step ;-)
***
echo " <td>\n";
echo "<div style=3D\"width:100%;height:100%;position:relative;\"=
>";
echo " <img src=3D\"../_sauteurs/_images/back.gif\"=20
style=3D\"width:$value[prozent]%; height:12px; position:absolute;=20
left:0px; top:0px; z-index:1;\">";
echo " <span style=3D\"z-index:2400; position:relative\">";
echo htmlentities($value[name])."</span></div>\n";
echo " </td>\n";
***
isn't it confusing, div and span and z-index... but it works (Mozilla=20
1.2.1) :-)
Things to change:
- correct coding (tabs, spaces, linebreaks...)
- image-height fixed to 12px is bad
- one-color-image has to be put in themes/default/percentBack.png/.gif=20
(and of cource the src=3Dshould be correct ;-)
> p.s.: sven, can u change my email adress for the mailinglist into:=20
> "man...@gm..." ?
> i have some problems with this account....
done ;-)
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> Phpeselgui-developer mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpeselgui-developer
>=20
>=20
--=20
Sven Walther, sve...@in...
Infopark AG
Kitzingstr. 15, D-12277 Berlin, Germany
Tel +49 30 747993-0, Fax +49 30 747993-93
http://www.infopark.de/
Besuchen Sie uns vom 12.-19.03. auf der CeBIT 2003,
Messegel=E4nde Hannover, Halle 6, Stand G39.
Informieren Sie sich =FCber unsere Content Management
Suite NPS und unsere Portal-L=F6sung NPS Portal Manager
f=FCr kundenfreundliche Web-Sites.
Vereinbaren Sie einen individuellen Informationstermin:
http://www.infopark.de/termin/
|