Flash website.with a bit of dreamweaver help please

  • van_doodle
  • Newbie
  • Newbie
  • No Avatar
  • Joined: May 25, 2007
  • Posts: 9
  • Status: Offline

Post October 11th, 2007, 4:16 am

Hello

I've created a website in flash, transfered it into dreamweaver,

http://www.vanishamistry.co.uk

i want the links in portfolio>interactive menu to open in new browser windows, and even better in the correct sized window.

I know i need to play around with the code in flash, and probably even dreamweaver.... but does anyone have any ideas of how i should do this? I'm tried so many things but it leaves me as confussed as ever.

Thank you for reading and hopefuly helping

Designer is distress
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 11th, 2007, 4:16 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post October 11th, 2007, 8:15 am

You need to use a javascript to do that.

Place this code inside the header tags of your html page
Code: [ Select ]
<script language="JavaScript">
function newWin(url,winName,w,h)
{
window.open(url , winName ,'width='+w+',height='+h+',left=150,top=150,menubar=0,toolbar=0,status=0,resizable=1');
}
</script>
  1. <script language="JavaScript">
  2. function newWin(url,winName,w,h)
  3. {
  4. window.open(url , winName ,'width='+w+',height='+h+',left=150,top=150,menubar=0,toolbar=0,status=0,resizable=1');
  5. }
  6. </script>


This is a javascript function to open a new window with a url, name and height/width that you specify. It will open 150px from the top left of your monitor without a menu bar, tool bar or status bar, but can be resized.

Then in flash you need to call this function

Code: [ Select ]
getURL("javascript:newWin('http://www.somedomain.com','myWindowName', 600,300);");
  • darsh999
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Aug 11, 2007
  • Posts: 8
  • Status: Offline

Post October 12th, 2007, 12:46 pm

You have to use java script or vb script to open a window with specific Url
this will help you a lot getURL("javascript:newWin('http://www.somedomain.com','myWindowName', 600,300);");
  • van_doodle
  • Newbie
  • Newbie
  • No Avatar
  • Joined: May 25, 2007
  • Posts: 9
  • Status: Offline

Post October 16th, 2007, 7:59 am

Thank you for your help,

The getURL code isn't working though, do you have any odeas what might be the problem?
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post October 16th, 2007, 12:55 pm

probably the way your calling it. Can you post your code please?

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 40 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.