Bonjour
j'aimerais rajouter une scroll bar dans le code suivant comment faire
function resize() {
window.resizeTo(1024, 760);
}
Version imprimable
Bonjour
j'aimerais rajouter une scroll bar dans le code suivant comment faire
function resize() {
window.resizeTo(1024, 760);
}
Scrollbar où ça ? Une scrollbar ne s'ajoute pas à du code, mais à une fenêtre ... Quelle est ta fenêtre ?
en gros voici le code de ma page
ccc_more_info.php
je comprends pas tres bien ce que tu veux dire , peux tu etre plus clairCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88 <?php /* Custom Computer Creator Version 9.1.1 ccc_more_info.php Designed And Coded By: Stephen Walker You Are Free To Edit This File However You Would Like Custom Computer Creator Is Coded For A Base In OsCommerce Shopping Cart Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); $image_query = tep_db_query('select * from products p, products_description pd where p.products_id = pd.products_id and p.products_id ="'.$_GET['path'].'"'); $image_fetch = tep_db_fetch_array($image_query); $image = $image_fetch['products_description']; ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <script language="javascript"><!-- function resize() { window.scrollBy(0,100); window.resizeTo(1024, 760); } //--></script> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <script language="javascript" src="includes/general.js"></script> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onLoad="resize()"> <!-- header //--> <?php //require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><font style="font-family: Arial (sans-serif); font-size: 18pt; font-weight: bold"><?php echo $image_fetch['products_name'];?></font></td> <td class="pageHeading" align="right"></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main" width="100%"><div id="description" STYLE="position: width=auto; height=auto;"><?php echo $image;?></div></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"></td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php //require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
merci