Resize-script verkleint onderste banner...

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
Ludix-Forum
Berichten: 12
Lid geworden op: 05 mei 2005, 14:38
Locatie: Amsterdam

Resize-script verkleint onderste banner...

Bericht door Ludix-Forum » 01 jun 2006, 20:06

Ik heb onderstaand resize-script geprobeerd en aangepast ivm mijn logo maar mijn onderste banner op mijn pagina blijft ie resizen. Is er een manier om die onderste banner te isoleren of een ander truukje ?

http://www.ludix-forum.nl/

B.v.d.

Code: Selecteer alles

#
#-----[ COPY ]---------------------------
#

copy resizefix.php to templates/subSilver/resizefix.php

# 
#-----[ OPEN ]------------------------------------------ 
#

subSilver/bbcode.tpl

# 
#-----[FIND]------------------------------------------ 
# 

<!-- BEGIN img --><img src="{URL}" border="0" /><!-- END img -->

# 
#-----[REPLACE WITH]------------------------------------------ 
# 

<!-- BEGIN img -->
<script language="javascript" type="text/javascript"> 
<!-- 
function pointercursor(){document.body.style.cursor = "move";}
function unpointercursor(){document.body.style.cursor="";}
//--> 
</script>
<img src="{URL}" border="0" onmouseout="unpointercursor();" onmouseover="if(this.width == 550) {pointercursor();}" onclick="if(this.width == 550) { window.open('templates/subSilver/resizefix.php?originalsize={URL}', '_blank' ,'scrollbars=1,toolbar=no,resizable=1,menubar=no,directories=no,status=yes'); return false; }" alt="" />
<!-- END img -->

# 
#-----[ OPEN ]------------------------------------------ 
#

subSilver/overall_header.tpl

# 
#-----[FIND]------------------------------------------ 
#

<!-- END switch_enable_pm_popup -->

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

<script language="javascript" type="text/javascript"> 
<!-- 
  function resize_images() 
  { 
    for (i = 1; i < document.images.length; i++) 
    { 
      while ( !document.images[i].complete ) 
      { 
        break;
      } 
      if ( document.images[i].width > 550 ) 
      { 
        document.images[i].width = 550; 
      } 
    } 
  } 
//--> 
</script>

# 
#-----[FIND]------------------------------------------ 
#

<body>

# 
#-----[REPLACE WITH]------------------------------------------ 
# 

<body onload="resize_images()">

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM

Gesloten