4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Sun on July 28, 2009, 04:43:07 PM
-
How to change error "404 Not found" to my page with text? How i remember, i see this solution on this forum, but now i can't find it :oops:
-
Hi!
How to change error "404 Not found" to my page with text? How i remember, i see this solution on this forum, but now i can't find it :oops:
in your htaccess,write:
ErrorDocument 404 /example.html
example.html put in the root
mfg Andi
-
Thank you, Andy!
May i ask you one more question? In you website you use spoilers(for example, in details.html i can close/open information about Exif and etc.). How you do this?
-
Hi!
..for example, in details.html i can close/open information about Exif and etc.). How you do this?
its easy :)
creat a new folder and call "js", add in the root
creat a new file and call "switchtoogle.js" ,and add the file in the "js" folder:
function toggle(obj) {
with (document.getElementById(obj).style) { display = (display == 'none') ? 'block' : 'none'; }
}
in your header.html:
<script type="text/javascript" src="./js/switchtoogle.js"></script>
and the detail.html:
{if iptc_info}
<div class="toggle">
<a href="javascript:toggle('lnk1')" >IPTC Info: anzeigen</a>
</div>
<div id="lnk1" style="DISPLAY:none;">
{iptc_info}
</div>
{endif iptc_info}
next toogle, call 'inkl2'
with tables : http://www.4homepages.de/forum/index.php?topic=22216.msg121180#msg121180
mfg Andi
-
Andy, thank you very-very-very much! :D
I don't know german, but i think, i will cope with it.