Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 25
Seite < 1 [2]
fUnK3r ClanSphere Team


Specialist





Beiträge: 1656
# Antwort: 21 - 11.05.2009 um 21:36 Uhr
Hi ihr, bin grade so weit, einen PNG-Fix einzubauen, aber irgenwie raff ich es grade (nach 2 Stunden Probieren) nimmer ^^

Ich erzähle mal was ich bis jetzt gemacht habe.

Als Fix habe ich den hier heruntergeladen: http://www.twinhelix.com/test/
Anleitung^^ +-
1. Copy and paste iepngfix.htc and blank.gif into your website folder.
2. Copy and paste this into your website's CSS or HTML:

<style type="text/css">
img, div { behavior: url(iepngfix.htc) }
</style>

That CSS selector must include the tags/elements on which you want PNG support -- basically, give it a comma-separated list of tags you use. It must also include the correct path to the .HTC relative to the HTML document location (not relative to the CSS document!). For instance, yours may look like this:

<style type="text/css">
img, div, a, input { behavior: url(/css/resources/iepngfix.htc) }
</style>

3. If your site uses subfolders, open the .HTC file in a text editor like Windows Notepad and change the blankImg variable to include a correct path to blank.gif like so:

IEPNGFix.blankImg = '/images/blank.gif';

Again the path is relative to the HTML file. Otherwise, you will see a "broken image" graphic!
4. If you want support for CSS1 background-repeat and background-position, make sure you include the add-on .JS file in your <head>:

<script type="text/javascript" src="iepngfix_tilebg.js"></script>

Otherwise, background images will work but won't repeat or position.
5. Sit back and enjoy! Perhaps consider making a donation to support this script's development if you like what you see, as I have spent hundreds of hours developing, testing and supporting it . Alternatively, I would certainly appreciate a crediting link on your site back to mine!


Danach habe ich eine iefix.css in meinem Template erstellt. In diese hab ich das folgendes geschrieben:

img, div, a { behavior: url(iepngfix.htc) }


In die Index.htm hab ich nun noch folgendes geschrieben:
<!--[if lte IE 6]>
<link href="iefix.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="iepngfix_tilebg.js"></script>
<![endif]-->


in dieser iepngfix.htc hab ich nun noch das
"blank.gif" mit "/images/blank.gif" ersetzt.

Danach habe ich diese .htc und .js noch ins Template reingeschoben und das gif Bild ins image-Verzeichnis.

Leider funktioniert das ganze nicht, die Hintergrundbilder bleiben so "doof" wie davor^^
Weis jemand zufällig, spontan woran es liegen könnte bzw. wo mein Denkfehler ist?
Oder weis jemand eine Alternative?


------------------
Grüßle Jo
><(((°> Son of God through Jesus Christ his Son <°)))><
www.funk3r.de
while (!asleep() ) sheep++;


Zuletzt editiert von fUnK3r ClanSphere Team am 11.05.2009 um 21:51 Uhr (1x Editiert)
Inaktiv
|
Nachtmeister


Specialist




Herkunft: Bern
Beiträge: 2091
# Antwort: 22 - 11.05.2009 um 21:39 Uhr
<style type="text/css"> und </style> musst du nicht schreiben innerhalb einer CSS Datei.


------------------
"God created the universe in 1 Day, and then spent 5 days making it look good In Internet Explorer"

Inaktiv
|
fUnK3r ClanSphere Team


Specialist





Beiträge: 1656
# Antwort: 23 - 11.05.2009 um 21:50 Uhr
hups, hab ich natürlich nicht, gerade mal oben editieren ... sorry war eben copy n´paste

das kommt von dem ganzen rumprobieren^^

Also, mein Problem ist dass es eben so nicht geht.


------------------
Grüßle Jo
><(((°> Son of God through Jesus Christ his Son <°)))><
www.funk3r.de
while (!asleep() ) sheep++;


Zuletzt editiert von fUnK3r ClanSphere Team am 11.05.2009 um 21:52 Uhr (1x Editiert)
Inaktiv
|
SCHIRI ClanSphere Team


Weltmeister



Herkunft: Hamburg
Beiträge: 5299
# Antwort: 24 - 12.05.2009 um 08:52 Uhr
Vllt der Pfad falsch:

/images/blank.gif ?

weil der slash am anfang verweist ja erstmal ins clansphere-root-verzeichnis.
aber das bild liegt wohl in /templates/TPLNAME/images/blank.gif


------------------
www.laszlokorte.de

Inaktiv
|
fUnK3r ClanSphere Team


Specialist





Beiträge: 1656
# Antwort: 25 - 12.05.2009 um 10:24 Uhr
hm nö, geht immer noch nicht ... wenn ich mal daheim bin kann ich auch mal die Dateien hier reinstellen.

ich hab jetzt mal in der .htc-Datei
IEPNGFix.blankImg = '/images/blank.gif';
in
IEPNGFix.blankImg = '/templates/MEIN TEMPLATE/images/blank.gif';
geändert

und
in meiner iefix.css
img, div, a { behavior: url(iepngfix.htc) }
in
img, div, a { behavior: url(/templates/MEIN TEMPLATE/iepngfix.htc) }

aber irgenwie hat sich am Ergebnis nix geändert.

##################################################
Edit:
Jetzt geht´s auf einmal doch!!!

Außer die Links (also alles mit a-Tag) werden jetzt auf einmal nicht mehr angezeigt^^


------------------
Grüßle Jo
><(((°> Son of God through Jesus Christ his Son <°)))><
www.funk3r.de
while (!asleep() ) sheep++;


Zuletzt editiert von fUnK3r ClanSphere Team am 12.05.2009 um 17:51 Uhr (2x Editiert)
Inaktiv
|
Antworten: 25
Seite < 1 [2]


Sie müssen sich registrieren, um zu antworten.