It is currently Sun 25 Sep 2016 - 00:35 - créer un forum

Redimensionner automatiquement les images, version 2

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 35, 6, 715, 16, 17  >

Redimensionner automatiquement les images, version 2
Author Message
néfertiti58


Joined: 23 Dec 2005
Posts: 111

PostPosted: Tue 6 Nov 2007 - 12:41    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

Oui, peut-être mais en attendant j'ai planté mon header, donc je laisse tomber, ça marche pas chez moi, dommage  Crying or Very sad
Forum
Author Message
manga zaki


Offline
Guest




PostPosted: Fri 4 Jan 2008 - 19:32    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

sa marche pas undecided
mon thème et ca_aphrodite


 
Code: Sélectionner - Agrandir
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="Author" content="http://www.phpbbstyles.com" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://img7.xooimage.com/files/a/5/f/saphic-242276.css" type="text/css" />
<script language="javascript" type="text/javascript" src="http://img8.xooimage.com/files/s/c/scripts-8f741.js"></script>
{CA_INLINE_CSS}
<!-- IE conditional comments: http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp -->
<!--[if IE]>
<style type="text/css">
/* IE hack to emulate the :hover & :focus pseudo-classes
   Add the selectors below that required the extra attributes */
.row1h, .row1h-new { behavior: url("http://img7.xooimage.com/files/p/s/pseudo-hover-8f742.htc"); }
</style>
<![endif]-->
</head>
<body onload="PreloadFlag = true;">

<a name="top"></a>
<table cellspacing="0" width="820px" id="forum" align="center">
<tr>
    <td class="forum-header" align="center"><a href="{U_INDEX}" title="{L_INDEX}"><img src="http://img7.xooimage.com/files/b/d/0/default-229c3c.jpg" alt="{L_INDEX}" /></a></td>
    </td>
</tr>
<tr>
    <td colspan="2" class="forum-buttons" valign="middle">
                <!-- BEGIN switch_user_logged_out -->
                <a href="{U_REGISTER}">{L_REGISTER}</a> •
                <!-- END switch_user_logged_out -->
                <!-- BEGIN switch_user_logged_in -->
                <a href="{U_PROFILE}">{L_PROFILE}</a> •
                <a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a> •
                <!-- END switch_user_logged_in -->
                <a href="{U_SEARCH}">{L_SEARCH}</a> •
                <a href="{U_FAQ}">{L_FAQ}</a> •
                <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> •
                <a href="{U_GROUP_CP}">{L_USERGROUPS}</a> •
                <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>
        </td>
</tr>
<tr>

    <td colspan="2" id="content">

    <!-- BEGIN switch_user_logged_in -->
    <div class="popup{PRIVMSG_IMG}" style="border: 1px solid #6d6d6d; padding-bottom: 10px; padding-top: 10px; width: 250px; text-align: center; background-image: url(http://www.world-hentai.net/templates/images/blue/top_bg.png); background-position: top; margin-left: auto; margin-right: auto; font-weight: bold;" align="center"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div>
    <!-- END switch_user_logged_in -->


 


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 4 Jan 2008 - 20:10    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

bonjour

quel modif à tu fais exactement
la première, la seconde
_______________________


Forum
Author Message
manga zaki


Offline
Guest




PostPosted: Fri 4 Jan 2008 - 20:20    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

la premiére, mais il na pas marche le seconde il fonction bien mais les images ne grandit pas 

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 4 Jan 2008 - 20:23    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

tu es sur la première car tu dois mettre le code après ça

 
Quote:

<body onload="PreloadFlag = true;">


et je ne le vois pas
_______________________


Forum
Author Message
manga zaki


Offline
Guest




PostPosted: Fri 4 Jan 2008 - 20:38    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

oui sa marche mais j'ai j'ai place le code aprés


Code: Sélectionner - Agrandir

</head>
<body onload="PreloadFlag = true;"> 

mais il y a toujour le problime de agrandire les images
http://mangazaki.xooit.com/t327-voila-la-plus-grande-jeu-de-ea-sports-game-…


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 4 Jan 2008 - 20:43    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

c'est bizarre sous firefox j'ai bien les images qui se redimensionne
_______________________


Forum
Author Message
manga zaki


Offline
Guest




PostPosted: Fri 4 Jan 2008 - 20:49    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

maintenant il marche bien aprés change mon bbcode par

 
Code: Sélectionner - Agrandir
<!-- BEGIN img --><img src="{URL}" border="0" onLoad="SMR_resize(this);" onclick="javascript:window.open('{URL}')" /><!-- END img -->  
je veut remercier Mr. Green

Author Message
gp246
Membre


Offline
Membre

Joined: 18 Aug 2007
Posts: 46
Niveau:
Point(s): 47
Moyenne: 1.02
Windows XP (ou plus ancien) Internet Explorer

PostPosted: Thu 17 Jan 2008 - 03:34    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

Bonjour a tous, j'ai appliquer la methode alternative de Altair sur mon forum et elle fonctionne a merveille, la question que je posait etait est-ce possible de realiser la meme chose mais que pour le portail sans toucher au autre image du forum.

Mon probleme se situe plus a ce niveau, les membres y place souvent des images trop grande et ca deforme le portail.

Et est-ce possible de ne pas faire afficher les pointiller autour de l'image?


Forum
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 17 Jan 2008 - 10:29    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

bonjour

sur le portail tu parles surement du module news????

dans ce cas tu le fais dans le template

modportal/mod_news.tpl
_______________________


Forum
Author Message
gp246
Membre


Offline
Membre

Joined: 18 Aug 2007
Posts: 46
Niveau:
Point(s): 47
Moyenne: 1.02
Windows XP (ou plus ancien) Internet Explorer

PostPosted: Fri 18 Jan 2008 - 14:32    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

Et je laisse la partie du bbcode intacte?

J'enleve seulement celui dans overhallheader et je le met dans le modportal.


Forum
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 18 Jan 2008 - 19:07    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

non il faut faire la manip indiqué mais dans l'autre template

laisse la modif que tu as fait dans overall header aussi
_______________________


Forum
Author Message
gp246
Membre


Offline
Membre

Joined: 18 Aug 2007
Posts: 46
Niveau:
Point(s): 47
Moyenne: 1.02
Windows XP (ou plus ancien) Internet Explorer

PostPosted: Sat 19 Jan 2008 - 03:10    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

La je pense qu'ont c'est mal comprit, la modification d'Altair dans le overall concerne toute les images du forum ET celle du portail, je n'ai pas besoin de modifier celui du modportal puisque la modification le fait deja.

Je pensait enlever la modification qui est dans mon overhallheader pour l'appliquer seulement au portail soit le module modportal/mod new mais je ne sait pas si la formule de Altair fonctionnera si ont l'applique dans le module modportal, de toute facon ca marche bien pour le moment mon probleme etait plus sur le portail en tant que tel.


Forum
Author Message
gp246
Membre


Offline
Membre

Joined: 18 Aug 2007
Posts: 46
Niveau:
Point(s): 47
Moyenne: 1.02
Windows XP (ou plus ancien) Internet Explorer

PostPosted: Tue 5 Feb 2008 - 02:27    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

J'ai un petit probleme avec la methode de Altair, elle fonctionne a merveille sauf pour une chose, des que j'ouvre un sujet ou il y a quelques photo, ma page se dirige tout droit vers la fin, elle scrool directement tout en bas du forum, les autres membres aussi ont ce probleme, qu'est-ce qui peut provoquer ca et comment y remedier.

Voici l'adrese pour consulter : http://forumautoplus.xooit.com/portal.php


Forum
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Tue 5 Feb 2008 - 13:47    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

bonjour

tu peux mettre ici ton template modifier pour voir

mets le entre les balises code
_______________________


Forum
Author Message
gp246
Membre


Offline
Membre

Joined: 18 Aug 2007
Posts: 46
Niveau:
Point(s): 47
Moyenne: 1.02
Windows XP (ou plus ancien) Internet Explorer

PostPosted: Wed 6 Feb 2008 - 00:48    Post subject: Redimensionner automatiquement les images, version 2 Reply with quote

Bonne chance

Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head><META name="Forumautoplus"content="Forum,auto,actualité,réparation,entretient,nouveaux modèles">
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img10.xooimage.com/files/b/b/bbr3-909c4.css" type="text/css" -->
<style type="text/css">
<!--
/*
  The original bbr3 Theme for phpBB version 2+
  Created by revaz
  http://revaz-creation.net
  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
      background-attachment: fixed;
      background-position: top CENTER;
 background-color: {T_BODY_BGCOLOR};
 scrollbar-face-color: {T_TR_COLOR2};
 scrollbar-highlight-color: {T_TD_COLOR2};
 scrollbar-shadow-color: {T_TR_COLOR2};
 scrollbar-3dlight-color: {T_TR_COLOR3};
 scrollbar-arrow-color:  {T_BODY_LINK};
 scrollbar-track-color: {T_TR_COLOR1};
 scrollbar-darkshadow-color: {T_TH_COLOR1};
}
/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover  { text-decoration: underline; color : {T_BODY_HLINK}; }
hr { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}
/* This is the border line & background colour round the entire page */
.bodyline  { background: url("http://img3.xooimage.com/files/f/o/fond2-909c5.jpg") background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }
/* This is the outline round the main forum tables */
.forumline { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }
/* Main table cell colours and backgrounds */
td.row1,td.row2,td.row3,td.row3Right,td.spaceRow { background: url("http://img7.xooimage.com/files/f/o/fond-909c6.jpg") background-color: #161616; border: 1px solid #000000;}

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
  background-color: {T_TD_COLOR2};
  background-image: url(http://img9.xooimage.com/files/c/e/cellpic2-909c1.jpg);
  background-repeat: repeat-y;
}
/* Header cells - the blue and silver gradient backgrounds */
th {
 color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold;
 background-color: {T_BODY_LINK}; height: 25px;
 background-image: url(http://img6.xooimage.com/files/c/e/cellpic3-909c2.gif);
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
   background-image: url(http://img3.xooimage.com/files/c/e/cellpic1-909c3.gif);
   background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}
/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
 height: 29px;
 border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR{
   
   font-weight: bold,border:{T_TD_COLOR2};border-style: solid; height: 28px;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow  { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right  { border-width: 1px 1px 1px 1px; }
th.thLeft,td.catLeft   { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop  { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }
/* The largest text used in the index page title and toptic title etc. */
.maintitle {
 font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
 text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}
/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: {T_BODY_HLINK}; text-decoration: underline; }
/* The register, login, search etc links at the top of the page */
.mainmenu  { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu  { text-decoration: none; color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
/* Forum category titles */
.cattitle  { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle  { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink  { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink  { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav   { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav   { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover  { text-decoration: underline; }
/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2 { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover { text-decoration: underline; color : {T_BODY_HLINK}; }
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name   { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
/* Location, number of posts, post date etc */
.postdetails  { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }
/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}
/* Quote & Code blocks */
.code {
 font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
 background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
 border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
.quote {
 font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
 background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
 border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
/* Copyright and bottom info */
.copyright  { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright  { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}
/* Form elements */
input,textarea, select {
 color : {T_BODY_TEXT};
 font: normal {T_FONTSIZE2}px {T_FONTFACE1};
 border-color : {T_BODY_TEXT};
}
/* The text input fields background colour */
input.post, textarea.post, select {
 background-color : {T_TD_COLOR2};
}
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */
input.button {
 background-color : {T_TR_COLOR1};
 color : {T_BODY_TEXT};
 font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}
/* The main submit button option */
input.mainoption {
 background-color : {T_TD_COLOR1};
 font-weight : bold;
}
/* None-bold submit button */
input.liteoption {
 background-color : {T_TD_COLOR1};
 font-weight : normal;
}
/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
 if ( {PRIVATE_MESSAGE_NEW_FLAG} )
 {
  window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
 }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- start mod : Resize Posted Images Based on Max Width -->
<script type="text/javascript">
//<![CDATA[
<!--
var rmw_max_width = 400; // you can change this number, this is the max width in pixels for posted images
var rmw_border_1 = '1px solid {T_BODY_LINK}';
var rmw_border_2 = '1px solid {T_BODY_LINK}';
var rmw_image_title = '{L_RMW_IMAGE_TITLE}';
//-->
//]]>
</script>
<script type="text/javascript" src="{U_RMW_JSLIB}"></script>
<!-- fin mod : Resize Posted Images Based on Max Width --> <script type="text/javascript">
function rmw_go()
{
 var rmw_img_array = document.getElementsByTagName("IMG");
 for (var i = 0; i < rmw_img_array.length; i++)
 {
  var rmw_img = rmw_img_array[i];
  if (String(rmw_img.getAttribute('resizemod')) == 'on')
  {
   if (rmw_wait_for_width && rmw_img.width && !isNaN(rmw_img.width))
   {
    if (rmw_img.width > Number(rmw_max_width))
    {
     rmw_img.setAttribute('resizemod','off');
     rmw_img.onload = null;
     rmw_img.removeAttribute('onload');
     var rmw_clone = rmw_img.cloneNode(false);
     var rmw_parent = rmw_img.parentNode;
     rmw_clone.setAttribute('width',String(rmw_max_width));
     rmw_parent.replaceChild(rmw_clone,rmw_img);
     rmw_make_pop(rmw_clone);
    }
   }
   else if (!rmw_wait_for_width)
   {
    rmw_img.setAttribute('resizemod','off');
    var rmw_clone = rmw_img.cloneNode(false);
    rmw_img.onload = null;
    rmw_img.removeAttribute('onload');
    var rmw_parent = rmw_img.parentNode;
    var rmw_ind = rmw_count++;
    rmw_clone.setAttribute('resizemod',String(rmw_ind));
    rmw_preload[rmw_ind] = new Image();
    rmw_preload[rmw_ind].src = rmw_img.src;
    if (window.showModelessDialog)
    {
     rmw_clone.style.margin = '2px';
    }
    rmw_clone.style.border = rmw_border_1;
    rmw_clone.style.width = '100px';
    rmw_parent.replaceChild(rmw_clone,rmw_img);
   }
  }
 }
 if (!rmw_over && document.getElementById('resizemod'))
 {
  rmw_over = true;
  rmw_go();
 }
 else if (!rmw_over)
 {
  window.setTimeout('rmw_go()',2000);
 }
}
function rmw_img_loaded(rmw_obj)
{
 if (!document.getElementsByTagName || !document.createElement) {return;}
 var rmw_att = String(rmw_obj.getAttribute('resizemod'));
 var rmw_real_width = false;
 if ((rmw_att != 'on') && (rmw_att != 'off'))
 {
  var rmw_index = Number(rmw_att);
  if (rmw_preload[rmw_index].width)
  {
   rmw_real_width = rmw_preload[rmw_index].width;
  }
 }
 else
 {
  rmw_obj.setAttribute('resizemod','off');
  if (rmw_obj.width)
  {
   rmw_real_width = rmw_obj.width;
  }
 }
 if (!rmw_real_width || isNaN(rmw_real_width) || (rmw_real_width <= 0))
 {
  var rmw_rand1 = String(rmw_count++);
  eval("rmw_retry" + rmw_rand1 + " = rmw_obj;");
  eval("window.setTimeout('rmw_img_loaded(rmw_retry" + rmw_rand1 + ")',2000);");
  return;
 }
 if (rmw_real_width > Number(rmw_max_width))
 {
  if (window.showModelessDialog)
  {
   rmw_obj.style.margin = '2px';
  }
  rmw_make_pop(rmw_obj);
 }
 else if (!rmw_wait_for_width)
 {
  rmw_obj.style.width = String(rmw_real_width) + 'px';
  rmw_obj.style.border = '0';
  if (window.showModelessDialog)
  {
   rmw_obj.style.margin = '0px';
  }
 }
 if (window.ActiveXObject) // IE on Mac and Windows
 {
  window.clearTimeout(rmw_timer1);
  rmw_timer1 = window.setTimeout('rmw_refresh_tables()',10000);
 }
}
function rmw_refresh_tables()
{
 var rmw_tables = document.getElementsByTagName("TABLE");
 for (var j = 0; j < rmw_tables.length; j++)
 {
  rmw_tables[j].refresh();
 }
}
function rmw_make_pop(rmw_ref)
{
 rmw_ref.style.border = rmw_border_2;
 rmw_ref.style.width = String(rmw_max_width) + 'px';
 if (!window.opera)
 {
  rmw_ref.onclick = function()
  {
   if (!rmw_pop.closed)
   {
    rmw_pop.close();
   }
   rmw_pop = window.open('about:blank','christianfecteaudotcom',rmw_pop_features);
   rmw_pop.resizeTo(window.screen.availWidth,window.screen.availHeight);
   rmw_pop.moveTo(0,0);
   rmw_pop.focus();
   rmw_pop.location.href = this.src;
  }
 }
 else
 {
  var rmw_rand2 = String(rmw_count++);
  eval("rmw_pop" + rmw_rand2 + " = new Function(\"rmw_pop = window.open('" + rmw_ref.src + "','christianfecteaudotcom','" + rmw_pop_features + "'); if (rmw_pop) {rmw_pop.focus();}\")");
  eval("rmw_ref.onclick = rmw_pop" + rmw_rand2 + ";");
 }
 document.all ? rmw_ref.style.cursor = 'hand' : rmw_ref.style.cursor = 'pointer';
 rmw_ref.title = rmw_image_title;
 if (window.showModelessDialog)
 {
  rmw_ref.style.margin = '0px';
 }
}
if (document.getElementsByTagName && document.createElement) // W3C DOM browsers
{
 rmw_preload = new Array();
 if (window.GeckoActiveXObject || window.showModelessDialog) // Firefox, NN7.1+, and IE5+ for Win
 {
  rmw_wait_for_width = false;
 }
 else
 {
  rmw_wait_for_width = true;
 }
 rmw_pop_features = 'top=0,left=0,width=' + String(window.screen.width-80) + ',height=' + String(window.screen.height-190) + ',scrollbars=1,resizable=1';
 rmw_over = false;
 rmw_count = 1;
 rmw_timer1 = null;
 if (!window.opera)
 {
  rmw_pop = new Object();
  rmw_pop.closed = true;
  rmw_old_onunload = window.onunload;
  window.onunload = function()
  {
   if (rmw_old_onunload)
   {
    rmw_old_onunload();
    rmw_old_onunload = null;
   }
   if (!rmw_pop.closed)
   {
    rmw_pop.close();
   }
  }
 }
 window.setTimeout('rmw_go()',2000);
}
</script></head>
<body   background="http://img3.xooimage.com/files/b/a/background-909c7.jpg" background-position="center" bgproperties="fixed" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<a name="top"></a>
<table width="820" cellspacing="0" cellpadding="10" border="0" bordercolor="#000000"  bgcolor="#000000" align="center">
 <tr>
  <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
   <tr>
    <td align="center" width="100%" valign="middle"><a href="portal.php"><img src="http://img5.xooimage.com/files/9/5/e/image3-189baf.jpg" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
   </tr>
   <tr>
       <td align="center" width="100%" valign="middle"><table cellspacing="0" cellpadding="2" border="0">
     <tr>
      <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
      <!-- BEGIN switch_user_logged_in -->
<a href="{U_INDEX}" class="mainmenu"><img src="http://img4.xooimage.com/files/i/c/icon_mini_forum-909c9.png" width="72" height="49" border="0" alt="{L_INDEX}" hspace="0" /></a><a href="{U_FAQ}" class="mainmenu"><img src="http://img5.xooimage.com/files/i/c/icon_mini_faq-909ca.png" width="35" height="49" border="0" alt="{L_FAQ}" hspace="0" /></a><a href="{U_SEARCH}" class="mainmenu"><img src="http://img10.xooimage.com/files/i/c/icon_mini_search-909cb.png" width="80" height="49" border="0" alt="{L_SEARCH}" hspace="0" /></a><a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_members-909cc.png" width="71" height="49" border="0" alt="{L_MEMBERLIST}" hspace="0" /></a><a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img7.xooimage.com/files/i/c/icon_mini_groups-909cd.png" width="71" height="49" border="0" alt="{L_USERGROUPS}" hspace="0" /></a><a href="{U_PROFILE}" class="mainmenu"><img src="http://img9.xooimage.com/files/i/c/icon_mini_profile-909ce.png" width="62" height="49" border="0" alt="{L_PROFILE}" hspace="0" /></a><a href="http://forumautoplus.xooit.com/portal.php?pid=12" class="mainmenu"><img src="http://i4.photobucket.com/albums/y138/GP246/icon_mini_message-909cf-5.png" width="98" height="49" border="0" alt="{L_PROFIL AUTO}" hspace="0" /></a><a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img5.xooimage.com/files/i/c/icon_mini_message-909cf.png" width="98" height="49" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="0" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_login2-909d0.png" width="121" height="49" border="0" alt="{L_LOGIN_LOGOUT}" hspace="0" /></a></td>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<a href="{U_INDEX}" class="mainmenu"><img src="http://img4.xooimage.com/files/i/c/icon_mini_forum-909c9.png" width="72" height="49" border="0" alt="{L_INDEX}" hspace="0" /></a><a href="{U_FAQ}" class="mainmenu"><img src="http://img5.xooimage.com/files/i/c/icon_mini_faq-909ca.png" width="35" height="49" border="0" alt="{L_FAQ}" hspace="0" /></a><a href="{U_SEARCH}" class="mainmenu"><img src="http://img10.xooimage.com/files/i/c/icon_mini_search-909cb.png" width="80" height="49" border="0" alt="{L_SEARCH}" hspace="0" /><a href="{U_REGISTER}" class="mainmenu"><img src="http://img2.xooimage.com/files/i/c/icon_mini_register-909d1.png" width="180" height="49" border="0" alt="{L_REGISTER}" hspace="0" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img9.xooimage.com/files/i/c/icon_mini_login-909d2.png" width="153" height="49" border="0" alt="{L_LOGIN_LOGOUT}" hspace="0" /></a></td>
<!-- END switch_user_logged_out -->
      </span></td>
     </tr>
    </table></td>
   </tr>
  </table>
  <br />


 


Forum
Author Message
Contenu Sponsorisé





PostPosted: Today at 00:35    Post subject: Redimensionner automatiquement les images, version 2

Display posts from previous:   
Reply to topic Page 6 of 17 Goto page: <  1, 2, 35, 6, 715, 16, 17  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401