It is currently 19. Aug 2019 06:45  

  User Information

Guest Avatar

Facebook, Google Login

  Hot Links

  Board Categories

Post new topic Reply to topic  [ 1 post ] 
FollowersFollowers: 0
BookmarksBookmarks: 0
Views: 187

 [JAVA] Werbe Popup 
FkP Moderator
User avatar

Joined: 03.2014
Posts: 123
Gender: Male
Highscores: 2
Post [JAVA] Werbe Popup
Der Code öffnet ein Popupfenster, dessen Parameter beliebig einstellbar sind, nach Zeit x und schließt es nach Zeit y.


<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">


<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
closetime = 10; // Fenster schließen, nach welcher Zeit?
// 0 = nicht schließen

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT;
preview =, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);

function doPopup() {
url = "popfenster.html"; // URL + Dateiname des Popupfensters
width = 300; // Breite des Fensters
height = 200; // Höhe des Fensters
delay = 3; // Zeit bevor es aufpoppt
timer = setTimeout("Start(url, width, height)", delay*1000);
// -->

<BODY OnLoad="doPopup();">

Inhalte der Seite...



7. Apr 2014 13:58
Profile Visit website
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
© phpBB® Forum Software | designed by Vjacheslav Trushkin for Free Forums 3 & Free Forums/DivisionCore.
phpBB3 free Forum by | All Rights Reserved.