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.

JavaScript Forum


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



Reply
Old 01-23-2007, 10:31 AM Embed Files...
mad_willsy's Avatar
Super Spam Talker

Latest Blog Post:
PC World Placement
Posts: 801
Name: Will Craig
Location: Cheltenham, Gloucestershire, UK
Trades: 0
Can you use javascript to display the text "Downloading video clip..." until the video clip is downloaded to the users PC then switch that for the embed code to display it?
__________________
Wont :P

Please login or register to view this content. Registration is FREE
mad_willsy is offline
Reply With Quote
View Public Profile Visit mad_willsy's homepage!
 
 
Register now for full access!
Old 01-23-2007, 03:24 PM Re: Embed Files...
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Hey, lookit, me again

Well, technically, you can by using an hidden iframe.
You can post your file upload in the iframe, and let the handling be done in the iframe.

Have a javascript function in your main page, that is ready to be called to hide the text, and when the upload finish, on the iframe load, do a call on that javascript function.

I'm talking from memory, but a believe it's something like
Code:
<script type="text/javascript">
top.parent.functionname();
</script>
Of course, replace functioname() with your function.
It could be top.opener, rather than top.parent, I'm not 100% sure, to reach your hidding function.
But this is the road you need to follow if you want to do that.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 01-23-2007, 05:06 PM Re: Embed Files...
mad_willsy's Avatar
Super Spam Talker

Latest Blog Post:
PC World Placement
Posts: 801
Name: Will Craig
Location: Cheltenham, Gloucestershire, UK
Trades: 0
I know little/no js - need snippet!
__________________
Wont :P

Please login or register to view this content. Registration is FREE
mad_willsy is offline
Reply With Quote
View Public Profile Visit mad_willsy's homepage!
 
Old 01-23-2007, 05:51 PM Re: Embed Files...
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
well, there is none.
It's a full page, with all the logic you need.

If you don't feel confident enough, may I suggest you to hire a webdev to do it for you.
Try http://www.getafreelancer.com, you will find someone.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 01-23-2007, 07:14 PM Re: Embed Files...
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
You'll find this on Google and free script sites. I'm completely sure if you spend a few minutes looking for it on any major search engine you'll find it.
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Old 01-24-2007, 11:02 AM Re: Embed Files...
mad_willsy's Avatar
Super Spam Talker

Latest Blog Post:
PC World Placement
Posts: 801
Name: Will Craig
Location: Cheltenham, Gloucestershire, UK
Trades: 0
Had a look - no luck...
__________________
Wont :P

Please login or register to view this content. Registration is FREE
mad_willsy is offline
Reply With Quote
View Public Profile Visit mad_willsy's homepage!
 
Old 01-25-2007, 06:18 AM Re: Embed Files...
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
google ur problem
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to Embed Files...
 

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.66355 seconds with 12 queries