Closed Thread Icon

Preserved Topic: HOLY S**T!! (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17852" title="Pages that link to Preserved Topic: HOLY S**T!! (Page 1 of 1)" rel="nofollow" >Preserved Topic: HOLY S**T!! <span class="small">(Page 1 of 1)</span>\

 
bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-05-2000 19:33

Oh my I think I just found the holy grail.

This only works in IE right now (actually it will only work in IE until NN supports fullscreen mode) and is in the real eaarly stages but check this out http://www.bitdamaged.com/testpages/noframe.html

notice a window with no chrome!
I just found this and I need to add a bunch of DHTML to get rid of the scroller and if you use it then make sure to add a close button.

Here is how it works, you open a popup window in fullscreen mode and then resize the window.

Using some DHTML you can make the window moveable as well. I'm at work right now so I don't have a full working model I'll do more work when I get home today.

If you play with this make sure you share

mike


Walking the Earth like Kane

[This message has been edited by bitdamaged (edited 05-09-2000).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-05-2000 19:41

Interesting... I know why the scroll bars appeared, too. Change

window.open("resize.html","resize", "fullscreen=1, scrollbars=0");

to

window.open("resize.html","resize", "fullscreen=1,scrollbars=0");

(You can't have the space in there. Actually, I might be completely wrong. But I think that's it.)

Also, you *should* use "yes" and "no" instead of "1" and "0", but I guess it works.

This is very interesting. Too bad it doesnt work in NN.

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 09-05-2000 20:03

wow, that's amost creepy <img border=0 align=absmiddle src="http://www.ozones.com/forum/biggrin.gif">

pretty cool if it can be made to work consistently!

mbridge
Paranoid (IV) Mad Scientist

From:
Insane since: Jun 2000

posted posted 09-05-2000 21:03

hey bit, do you mind if I put that into use with my new site? The site's already got enough bugs, a few more won't hurt it! That's really some revolutionary code. <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif">

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-05-2000 21:16

No feel free, I can't take credit for it myself.




Walking the Earth like Kane

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 09-06-2000 01:12

The effect didn't work using IE5 on the Mac but it definitely looked cool on the PC.

I haven't looked at the code but do you think this is just a bug in IE5 for the PC? If so, then it might not last long enough to expoit. Just a thought.

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 09-06-2000 02:29

Well thanks Bugimus. I was feeling sorta stumped 'cause I wasn't seeing anything outgrageous! Can you describe what I missed?

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-06-2000 02:42

ITs a window swith no chrome.

None its a completely blank window. ready for content


Walking the Earth like Kane

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 09-13-2000 08:24

I was just thinking, shouldn't this post have been entitled, HOLY C*****N!!

Weadah
Maniac (V) Mad Scientist

From: TipToToe
Insane since: Aug 2000

posted posted 09-13-2000 17:00

lol
Holy C*****n.....

*trails off mumbling something about comic strips*




WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 09-18-2000 20:25

Slime, I have been messing with the effect, but have been unable to remove the scroll bars. Could you go into more detail about how to remove them???

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-18-2000 22:16

Well, I might just be completely wrong. Can you link to the page you're trying it on?

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 09-19-2000 01:09

http://129.49.234.15/dhtml/index.html

That is the addres.

I am also wondering about moving the window from the top left corner to the center. But that is something I still have to look into.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-19-2000 01:14

Well, try using "yes" and "no" instead of "1" and "0". But if that doesn't work, then I'm afraid the scrollbars might just be a side effect of using full screen mode for this hack, because my JavaScript book says it should work...

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 09-19-2000 02:48

I guess we are just screwed... the 1,0 are the same as true and false. They are both used as a boolean, and interperated the same.

Oh well, nothing one can do then...

Anyone else who has any ideas on this issue feel free to share them. This is a cool area to work in, but the level of customization is still slightly lacking.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-19-2000 03:14

Shit no there is definately a way I just can't find the page I got this from. I have a package of stuff at work but unfortunately I am on vacation this week.

I'll try to find it


Walking the Earth like Kane

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 09-19-2000 03:16

Try this, try wrapping the window in a frameset like this and then load the content into that:

</head>
<frameset rows="100%,*,*" frameborder="0" border="0" framespacing="0">
<frame name="main" src="main.htm" noresize frameborder="0" scrolling="no" marginwidth="0" marginheight="0">
</frameset>
</html>

It's how I normally get rid of scrollbars on DHTML pages

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 09-19-2000 03:32

good deal, that does work... that being done... for some reason the window.close function does not work...

<a href="#" onClick="window.close()">

I was using this to close the window, but the frame seems to interfear...

I need to go get myself a good book on javascript.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 09-19-2000 04:22

Well I was messing around for a while and came decided that I wanted the window to be centered. This little code should work on all screen sizes. The only problem you might want to address would be to add a condition that would redirect if the display window size is greater than their screen size, which would result in a negitive number. This would possibly put content off screen.

function centerDisplay() {
var y = screen.availHeight;
var x = screen.availWidth;

y = y - [input display height];
x = x - [input display width];
y = y / 2;
x = x / 2;
window.moveTo(x,y);
}

What this function does is:

1. Check the available screensize (screen size minus static objects like tool bars),

2. Subtracts it from the size of the screen you are attempting to display(this needs to be manually placed in the code).

3. Divides result by two, so thay you can get the number you would need to ofset on one side.

4. Moves the window to the center of the screen, nomatter what the screen size.

If you are planning on using this in a page with frames you must run this program from the script. You would simply place this code out in the main area:

centerDisplay();

so it would look like the following:

<script language="JavaScript">
<!--
centerDisplay();

function displayWindow() {
var y = screen.availHeight;
var x = screen.availWidth;
y = y - 300;
x = x - 600;
y = y / 2;
x = x / 2;
window.moveTo(x,y);
}

//-->
</script>

Otherwise you place it in the onload section of the body tag.

<body onload="centerDisplay()">



[This message has been edited by WarMage (edited 19-09-2000).]

« BackwardsOnwards »

Show Forum Drop Down Menu