Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no bars no scrolls - how to?

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hello there ,
I'm new to this.
Is it possible to display a br. window without address, scrolls etc. The window have to be opened from a "normal" link, not script?

Or the only way is to open that window using a script?

Thanks for any help!
Oscar
 
Mark the area you want the link on

Click window+ behviours + Plus sign

Select open window

add the features you want.

Done.
 
Thank you for responding, but what I meant was -
is it possible to specify the features (noscrolls, no address etc.) within the new window and not to the script which will open it.

something like:
window.resizeTo(200,200);...but

window.noaddressbar or ???
Is there anything like this?

Any ideas?
thanks
OP
 
It can be done, but its not really a dreamweaver forum thing.

Go here


This forum has a couple of guys who provide free scripting help. Probably the best html forum I've ever been to.
 
Oscar Petti -- do you want the no scrolbars and not url address bar to appear in the new window?? If yes then you can do this:


<a href=&quot;javascript:openwindow('page.html','window1','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=no,width=500,height=500')&quot;>
I have not failed; I merely found 100,000 different ways of not succeding...
 
Guju, i'm not sure how your script will work.

The question is, can a script be written in a html page, so that when it opens, it is of a certain size/no scrollbars etc, WITHOUT using a javascript open window.

Can you provide a script that can be placed in any page that iwll do this without using an openwindow script?



 
So you want the current document itself to open with a certian size/no scroll bars...i'm not sure if that's even possiable, the way i know how to do it is by using the &quot;openwindow&quot; script...why not do that way?? Have the HTML page in question open as an &quot;openwindow&quot; feature...kno wha i'm trying to say??
I mean: when the user clicks a link and the HTML page in question opens up, have it open via the &quot;openwindow&quot; function...this way you can set the size/no scroll bars and et al... I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top