-
Can someone tell me how to specify the size of the browser in a get url action. It's for my portfolio so the url are jpgs.
-
Place the javascript function newWin() inbetween the head tags of the page the swf movie is located in. In the getURL field of the button used to call the window of the swf movie type in javascript:newWin()
This is the code for the html page
<SCRIPT LANGUAGE="JavaScript">
<--
function newWin() {
window.open("yourpicpage.html","anyname","width=40 0,height=300,scrollbars=yes")
}
// -->
</SCRIPT>
You need to insert your pic into a standard html page.
Hope this helps
-
thanx for the reply. I'm not quite sure what you mean by "in the getURL field of the button used to call the window of the swf movie type in javascript:newWin()" where do I specify the file name?
-
you need a button to launch the popup window, right?
so when the user presses this button, youll call the get URL command, which is "javascript.newWin()"
this in turn will call the javascript written in the html page...
this javascript (located in the head of your html page) specifies the file name, in the
window.open("yourpicpage.html","anyname","width=40 0,height=300,scrollbars=yes")
where your file name is "yourpicpage.html"
hope that helps...
-
I'm sorry if I'm being a pain, but what I don't understand is if I have say 20 buttons and each one
has a get url javascript:newWin() how does it associate
with each picture. Does the name go inside the ()'s??
-
Look I'm not too sure if this will work but try it out...
In the javascript function declaration placed into your html page place a variable into the function as a parameter, like this function newWin(page){....
and into your window.open action substitute the page variable for the URL of the page like this
window.open(page,anyname,width=2000.....)
Then in the getURL of your flash movie type in
javascript:newWin(yourpage.html)
Hope this works
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|