Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
HTML starts Flash Popup
Old 05-20-2005, 07:02 PM HTML starts Flash Popup
Junior Talker

Posts: 4
Trades: 0
I am using a flash movie as a popup for my site. To get the movie to work I have to combine two commands which would be started by one button. One would be to hide/show the movie : <A onclick="showHide('id2');" href="javascript:"><B>Open Jack's Bio</B></A></FONT> and the other to start it from the first frame: john.TGotoFrame("_level0", "0").

Could someone push me in the right direction? I may be doing things all wrong so I attached the page script.

Thankyou,
Attached Files
File Type: txt popup.txt (3.4 KB, 10 views)
wbrother is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-23-2005, 10:36 AM
danburzo's Avatar
Skilled Talker

Posts: 82
Location: Bistrita RO
Trades: 0
So, i understand you want to start a popup window containing a flash movie.

This can be done like this:

1. insert this script:
Code:
function popUpWindow(location,left,top,width,height)
{
window.open(location, "popUpWin", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbar=no, resizable=no, copyhistory=yes, width="+ width + ", height=" + height + ", left=" + left + ", top=" + top);
}
2. the link should look like this:

Code:
<a href="javascript:popUpWindow('mypage.htm','10','10','200','300')">My bio</a>
the first two numerical values determine the padding of the popup window, and the next to are the width and the height respectively, of the popup window.

3. In "mypage.htm" or whatever, insert your flash movie.

Last edited by danburzo; 05-23-2005 at 10:39 AM..
danburzo is offline
Reply With Quote
View Public Profile
 
Old 05-23-2005, 10:50 AM
danburzo's Avatar
Skilled Talker

Posts: 82
Location: Bistrita RO
Trades: 0
What you're trying to do in your script is to show/hide the flash movies in the page. That is not a popup.

So, what are you trying to do? Can you be more specific?
danburzo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to HTML starts Flash Popup
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25471 seconds with 13 queries