[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

Link to open browser window certain size

<a href="images/RMM-1.jpg" target="RMM" onClick="window.open('','RMM','width='+screen.width+',height='+screen.height)">Recreational Music Making Homepage Comp</a>

This opens up two windows how can I edit this to only open one?
0
vonfranzken
Asked:
vonfranzken
  • 3
  • 2
1 Solution
 
ZvonkoSystems architectCommented:
Perhaps by saying ThankYou in your previous question ;-)
0
 
vonfranzkenAuthor Commented:
Thats right thats why I did that.

See how much I love you.
0
 
ZvonkoSystems architectCommented:
:-)
OK, now to your question. The target itself says that a window with the name "RMM" has to be opened, if not already opened.
If you want the link to open in the same window where the link is located, then the onclick needs the window.resizeTo() call with the upper screen dimensions.

And thanks for the points ;-)

0
 
vonfranzkenAuthor Commented:
Know everything was ok, I had applied it to the body of the page as well.
Im silly like that slapping java scripts everywhere like woody woodpecker.

LOL
Thanks again
0
 
ZvonkoSystems architectCommented:
You are welcome.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now