turn off title bar, etc???

JavaScript and client side scripting.

Moderator: General Moderators

Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

turn off title bar, etc???

Post 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-
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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>
;)
Last edited by John Cartwright on Wed Mar 23, 2005 10:43 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

FYI, cross posting isn't cool.
Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Post by Jr »

cross posting? posting in more then one forum? It was an accident...
Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Post 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-
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

that's a floating pane.. typically a div that was hidden previously is shown. Still Javascript stuff though ;)
Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Post by Jr »

um... ok? so how would I do it? Just put something in some <div> tags or something like that?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it's the div object you need to reference.. getElementById() or its siblings can get you the object.
Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Post 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-
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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 :?:
Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Post 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...
Post Reply