Moin Leutz!
Sitze seit ca. 4 Stunden an einem Problem verwende Oscommerce und wollte da nun ein kleines Javascript einbauen nur irgendwie will das teil nicht so wie ich will :(
Das Script was ich einbinden möchte:
PHP-Code:
<a href="javascript:void(0)"
onclick="window.open('Contact.php','welcome','width=300,height=660')">
und hier der Quellcode wo ich das einbinden möchte:
PHP-Code:
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_INFORMATION);
new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
$info_box_contents[] = array('text' => '<ul>
<li class="bg_list_un"><a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a></li>' .
'[B][COLOR="Red"]<li><a href="' . tep_href_link(FILENAME_HAVALE_FORMU) . '" target="_blank">' . 'Havale/EFT Bildirim Formu' . '</a></li>' .[/COLOR][/B] '<li><a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>' .
'<li><a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>' .
'<li><a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li></ul>');
new infoBox($info_box_contents);
?>
ich hab das jetzt notdürftig gelöst mit target Blank aber ich wollte halt eine feste grösse ohne Datei ect. anzeige.
hoffe ihr könnt mir helfen "big brother" google konnte mir nicht wirklich weiterhelfen :(
Danke im Vorraus!
Greetz Ceekay