View Full Version : Pop Up with image ?
10-08-2004, 01:16 PM
Can it be possible to make a pop up with image in ?
And can i make a screen before my hompage starts and then fade it in ?
10-08-2004, 02:05 PM
You can have a screen fade in using FrontPage Page Transition Effects.
10-08-2004, 08:55 PM
I cant find out of the page u gave me -.-
U think u can send me the HTML-Code with the image ??
10-09-2004, 05:20 AM
Just make an html file containing this:
<img src="image location.jpg">
Save that as a file, then make the popup open that file.
10-09-2004, 11:16 AM
Can u make me a html code for the pop up....
Then make it open the image...
I cant find how and were to make the Pop up open the HTML i have maked with the picture in ....
Thx anyway Nortion
10-09-2004, 01:13 PM
Its all in the link in my first reply, you can customize it from there.
If I get round to it later I may post an example.
10-09-2004, 02:49 PM
Now i have tried SO many times to make it work out of that link....
But i will not work -.-
Plz post an Example =)
10-09-2004, 05:24 PM
Use this then, I made it earlier.
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.backgroundColor = "white";
oPopupBody.style.border = "solid navy 1px";
oPopupBody.innerHTML = "<img src='your picture.jpg'><br><br><font face='verdana' size='1'>Click outside popup to close.</font>";
// Values are (px from left, px from top, px width, px height)
oPopup.show(300, 80, 200, 50, document.body);
Anything else, just ask :)
10-10-2004, 06:08 AM
Can the pop up get bigger and were do u need to edit to make it bigger ??
10-10-2004, 06:17 AM
I did found out of the problem to make it bigger it was pretty easy :P
But Can i make the Picture to a link in the pop up ??
10-10-2004, 08:19 AM
Yes, but generally people nowadays use popup blockers, so the script wouldn't work.
And it's generally seen as bad practice to use new windows on load.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.