Flash buttons and pop ups
Hi,
Can anyone help me with this. I use flash to generate menus for my site, but a limiting factor I have found is that I cant open a popup window when the flash button is clicked. Only a regular browser window, with all the toolbars, menus etc (which I want to hide).
Can anyone help
thanks
The Webmistress posted this at 09:25 — 27th July 2003.
She has: 5,586 posts
Joined: Feb 2001
I'm sure it can be done but as I said on the critique of your site, why do these in falsh? They are just simple rollovers so done with gifs you'd get the same effect but have more control with the linking. Another question - why have everything opening in new windows at all? Pop-ups are annoying and IMO if it's content from your site then it should stay within the main window, unless it is enlargement pictures.
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
TonyMontana posted this at 03:31 — 28th July 2003.
They have: 218 posts
Joined: Apr 2001
You need to create some javascript/actionscript interaction. You can call javascript functions from inside flash. And specify no toolbars etc for the new window.
TonyMontana
electricmountain.com
forwardtrends posted this at 16:44 — 28th July 2003.
He has: 52 posts
Joined: Feb 2003
in the head of the html document:
<script LANGUAGE="javascript">
function newWindow(url,name,features){
var newWin = window.open(url,name,features);
}
</script>
in the actions for the button:
Get URL ("javascript:newWindow('your_html_file.html','newWin','height=***,width=***,toolbar=0,menubar=0,location=0,scrollbars=1,resizable=1')", vars=POST)
Aaron Elliott
forwardtrends.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.