Old 04-02-2007, 23:18   #1 (permalink)
tschneider
Registered User
 
Join Date: Jan 2007
Posts: 37
Flash Video Question

I'm sorry in advance if this is a totally dumb question. On my site I have a few video demos. I have had them directly on a demo page until now but it makes my page very slow loading. What I would like is to have my demo page have the links to the various videos but then the Flash videos would pop up in their own window. Anybody know where I could start figuring out how to do that?

Thanks as always,

Tee
  Reply With Quote
Old 05-02-2007, 00:41   #2 (permalink)
mattp
Registered User
 
Join Date: Dec 2006
Posts: 73
EDIT: max h is right, you really should just go with the javascript solution.

by the way, going with max's idea, you can get some more info here: (slightly outdated, but still usable, if Im not mistaken, again) http://www.pageresource.com/jscript/jwinopen.htm

*************************
In addition to what he's posted, you could alsoWell, to open up a new window with a link, use something like:
<a href="http://www.pageresource.com/linkus.htm" target="_blank">
Link to us!</a>

With your own words and URL, of course. But this doesnt control the size or appearance of the new window. For that kind of stuff, I think you'll have to delve into some good ol' Javascript.
http://www.pageresource.com/html/newwin.htm
*************************

Last edited by mattp : 05-02-2007 at 05:25.
  Reply With Quote
Old 05-02-2007, 04:59   #3 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
Quote:
Originally Posted by mattp
<a href="http://www.pageresource.com/linkus.htm" target="_blank"> Link to us!</a>

no, no, no! target should be used for frames, not for opening new windows. If you insist on opening a new window you should do it with javascript.

Code:
<a href="link" title="link title" onclick="window.open(this.href,"title_with_no_spaces"); return false;">Link title</a>
__________________
  Reply With Quote
Old 05-02-2007, 10:47   #4 (permalink)
tschneider
Registered User
 
Join Date: Jan 2007
Posts: 37
Thank you for these. Am I getting from you that it would be preferable not to open a new window? The only reason I'm doing that is because with multiple demo's on the page, it doesn't load well so I thought if I just had the links on the page it would load and then the individual videos would load when the viewer specifically chose to watch one of them.
  Reply With Quote
Old 05-02-2007, 19:11   #5 (permalink)
mattp
Registered User
 
Join Date: Dec 2006
Posts: 73
While you should be careful not to overdo it, in your case I think opening up a new window for the flash video is fine, albeit a bit complicated.

One problem on the web is that a lot of sites open up a new window when they take you to a whole new site, because they're scared to lose you. But you're staying within your own site, so I dont see why it cant work, as long as you are willing to spend a bit to code it.
  Reply With Quote
Old 07-02-2007, 19:54   #6 (permalink)
tschneider
Registered User
 
Join Date: Jan 2007
Posts: 37
gotya. thx again.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8