Java Code to make a Mouse over button link open in Popup
Already have the site designed just ran into a snag where the page would be better loaded if when they clicked the link it would open in a popup.
The link is in a roll over button that I made for the site. What code can I use to make it open in a new window?
Not sure if I understand what you mean. But for a link to open in a new window, all you need is the attribute "target=_blank"... E.g <a href="link" target="_blank">link</a>
Originally Posted by greatkitsune
you should be able to use window.open()
Either add it to the function attached to the rollover event, or do something like this:
of course, replace [n] with the actual number of pixels you want. This should be what you are looking for.
Originally Posted by rAyVoLvEz
This was what I was looking for.. It has been several years since I dealt with this coding, now if I could just remember the code to make it open a certain size window.
Not what I was looking for on this project, but it is what I need for something else to help out so thanks a lot =)
Originally Posted by pthought