Pop up window

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Tue Jun 10, 2003 9:47 pm    Post subject: Pop up window Reply with quote

This is probably really easy…but :!:

Using javascript how do I get a window like this to appear :?:

With no buttons or file menus. Also it is not resizable.
Back to top View user's profile Send private message
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Thu Jun 12, 2003 5:25 pm    Post subject: Re: Pop up window Reply with quote

olly86 wrote:
This is probably really easy…but :!:

Using javascript how do I get a window like this to appear :?:

With no buttons or file menus. Also it is not resizable.

I do not really understand what you are trying to ask.
PopUp a windows when going to a site is part of javascript code in the webpage but not a server (Abyss) function / feature.

This covers everything. popwin.resize takes care of resizing. window.focus makes it show up on top every time.


Code:
<html>
<head>
<script>
function popimage(imagesrc,winwidth,winheight,winsb){
var look='width='+winwidth+',height='+winheight+',scro
llbars='+winsb+' ,';
popwin=window.open("","mypop",look);
popwin.document.open();
popwin.resizeTo(winwidth, winheight);
popwin.document.write('<title>Popup</title><body onload="window.focus()" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0><img src="'+imagesrc+'"></body>');
popwin.document.close();
}
</script>
</head>
<body>



<a href="#" onClick="popimage('map.gif',425,511,0);return false">1</a>
<a href="#" onClick="popimage('mapquest.gif',400,400,0);return false">2</a>
<a href="#" onClick="popimage('mapvr1.gif',390,390,0);return false">3</a>
<a href="#" onClick="popimage('bo030611.gif',600,197,0);return false">4</a>

</body>
</html>


If this is not it. Then I am so sorry. Then I can not help you. Maybe someone pass by can help you better.
_________________
CapFusion,...
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Thu Jun 12, 2003 8:48 pm    Post subject: Reply with quote

that's what i needed :idea:
Back to top View user's profile Send private message
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Thu Jun 12, 2003 10:31 pm    Post subject: Reply with quote

olly86 wrote:
that's what i needed :idea:

Glad it help you. Enjoy.
_________________
CapFusion,...
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB phpBB Group