• Post Reply Bookmark Topic Watch Topic
  • New Topic

Manipulate Window Size without JavaScript?

 
bryan nelson
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I'm rather new to the realm of JSP. I'm currently working on a project in which JavaScript is prohibited. However, I need to open up a new window (smaller, without the toolbars, etc.) when a certain link is clicked. Is there a way to do this with JSP? Actually...is there a way to do this not using JavaScript?

Thanks for your time,
b
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65679
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.

Using the target attribute on the link can achieve opening the link in another window, but you have no control over the window size or other properties of the window. For that, you need to use the Javascript window.open() method.

No Javascript == no client-side control. Pure and simple.
 
bryan nelson
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i feared this would be the answer...

thanks for your time though!

b
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!