Is there a way to have a window open - _blank with a size for the window?
I have a graphic link that I want to link to a new window, but small enough to hold a swf image.
Jim Toal
Is there a way to have a window open - _blank with a size for the window?
I have a graphic link that I want to link to a new window, but small enough to hold a swf image.
Jim Toal
A quick web search turned up this reply...
To my knowledge you cant do that with html alone, but a little bit of javascript will help:
<script type="text/javascript">
function showPopup(url) {
newwindow=window.open(url,'name','height=190,width =520,top=200,left=300,resizable');
if (window.focus) {newwindow.focus()}
}
</script>
Then you code your link like that:
<a href='...' onClick='showPopup(this.href);return(false);'>Info </a>
When javascript is disabled, the link still works the normal way.
You would need to add the first bit of Javascript to a placeholder and the link line you would need to put into the 'Link to Web or Email Adress' link field and uncheck Correct automatically.
I am not a Javascript guru so I'm just guessing that this would work and you might have to play around with it some. Perhaps some of the code gurus here in the forums might be able to help you further.
Eric
I'm never wrong. I thought I was wrong once but it turns out that I was mistaken.
Web Templates. My Beginner Video Tutorials
My Club. My Album.
My Other Album. My Tutorial.
Thanks Eric, I'll give it a go.
Jim
Thanks for the help last night Steve, much appreciated. Got everything working, helps to be on the right layer.
Cheers
Jim
Bookmarks