Page 1 of 2

turn off title bar, etc???

Posted: Wed Mar 23, 2005 10:37 am
by Jr
Ok, I posted this in the wrong place at first so I'm going to post it here again. I was just wondering if anyone knew (with the new version of IE if you could turn off the title bar, tool bars, etc. Basically all I want is a pop-up to come up and have just an image and then be redirected to another page after a certain amount of time. Does anyone know how to do this? Please Help!!

Jr-

Posted: Wed Mar 23, 2005 10:41 am
by John Cartwright

Code: Select all

<a href=&quote;#&quote; onClick=&quote;MyWindow=window.open('http://www.google.com','MyWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=400, height=400'); return false;&quote;>Popup</a>
;)

Posted: Wed Mar 23, 2005 10:43 am
by feyd
FYI, cross posting isn't cool.

Posted: Wed Mar 23, 2005 11:31 am
by Jr
cross posting? posting in more then one forum? It was an accident...

Posted: Wed Mar 23, 2005 11:45 am
by Jr
Phenom,

Thanks for the help but I think I may have asked my question incorrectly. I am looking to turn off the windows border around it and just show a transparent image (no border, no toolbars, nothing).

Jr-

Posted: Wed Mar 23, 2005 11:51 am
by feyd
that's a floating pane.. typically a div that was hidden previously is shown. Still Javascript stuff though ;)

Posted: Wed Mar 23, 2005 12:16 pm
by Jr
floating pane? whats that? I really know very little about JavaScript. Would that be what I'm looking for where i can show just a transparent bacground image?

Posted: Wed Mar 23, 2005 12:20 pm
by feyd
yes. It doesn't involve creating a new window or pop-up. It's all client-side processing, pretty much. It uses CSS-P (positioning) to place the div and hide it. You use Javascript to trigger the "visibility" of the div when it needs to display then.

Posted: Wed Mar 23, 2005 12:26 pm
by Jr
um... ok? so how would I do it? Just put something in some <div> tags or something like that?

Posted: Wed Mar 23, 2005 12:35 pm
by feyd

Posted: Wed Mar 23, 2005 12:50 pm
by Jr
hmm... ok, well that seems to be 'part' of what I want but where is the "brower object" (or whatever it would be called) so I can make it visible or not?

Posted: Wed Mar 23, 2005 1:21 pm
by feyd
it's the div object you need to reference.. getElementById() or its siblings can get you the object.

Posted: Wed Mar 23, 2005 11:09 pm
by Jr
ok, *sigh*... I'm sure its just my lack of knowledge with JavaScript all together and I have only been working with PHP (pretty much on my own) for about the last year or so. I'm sure I'm not explaining this correctly and I dont even know if its possible but I'm trying to hide ANY kind of browser remanance and ONLY show a table (or something) that would normally be within the browser's borders.

Has anyone even done this? Is there anyway someone could give me a bit of an example code or something about this? Again, I know almost nothing about JavaScript so all the things I find online unfortunately make absolutely no sense. Thanks again for the help.

Jr-

Posted: Thu Mar 24, 2005 4:31 am
by n00b Saibot

Code: Select all

<div id=&quote;MyPic&quote; style=&quote;display:none;&quote;><img src=&quote;ghost.jpg&quote;></div>
<input type=&quote;button&quote; onclick=&quote;document.getElementById('MyPic').style.display = ''&quote; value=&quote;Show Image&quote;>
Does that get you started :?:

Posted: Thu Mar 24, 2005 10:48 am
by Jr
Hmm... I'm sorry... thats not what I'm looking for. I'm looking to hide the BROWSER and show ONLY content (that would be in a table or something). I want to turn off everything BUT the image so the ONLY thing that pops up is the image. Thanks though...