Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 08:13:28 AM

Pages: [1]   Go Down
  Print  
Author Topic: small image page Q.  (Read 349 times)
yeahyeah
Space Explorer
***
Offline Offline

Posts: 6


« on: April 21, 2003, 11:07:50 PM »

Hi, do any of u guys know how to create one of those little pages that show nothing (not even the internet explorer bar) but a picture and maybe a "close" option?
you know, like if I want to show a picture that is 320x240 the total size of the page would be 400x300 so it gives me some space for a bg color and like I said a "close" button or even create a slide show with it..
Thanks in advance!!
By the way, I used to live in this forum under the name of Eduardo, now I can't use it anymore, they still got my nickname on db but my password is not there anymore, so I had to register under another nick, weird uh? Very Happy
Logged
yeahyeah
Space Explorer
***
Offline Offline

Posts: 6


« Reply #1 on: April 21, 2003, 11:09:18 PM »

Oh yeah!! I use Dreamwaver MX... in case it helps
Logged
Stephanie®
Master Jedi
*****
Offline Offline

Posts: 1096



« Reply #2 on: April 22, 2003, 12:43:52 AM »

No problem, you need a javascript popup Smile

Try this:
Code:
<A HREF="javascript:void(0)"
ONCLICK="open('http://www.yoursite.com','miniwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=300')">Open A Window</A>


Replace www.yoursite.com with the url of the page you want to open in it.

Ay the bottom of the page you are opening put:
Code:
<DIV ALIGN="center">
<form><input TYPE="button" VALUE="Close" onClick="window.close()"></form></DIV>

This will print a "Close button for you
Logged

Stephanie®
Master Jedi
*****
Offline Offline

Posts: 1096



« Reply #3 on: April 22, 2003, 12:49:25 AM »

BTW, don't copy and paste this directly into a web editor, as the code will be screwed on some clients.

Copy it into notepad 1st, then copy and paste it into your web editor. Smile

Some editors convert forum page code to absolute stuff :
ie: > will become
& gt (No space)
 so it doesn't run.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: