473,396 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hiding a new window

I've written a story that has links to music throughout. I would like to hide windows media player, so that you hear the music but do not see the player. What should I include in the link script?
Aug 6 '08 #1
5 1311
hsriat
1,654 Expert 1GB
There's no way to hide a window, so you may try to open the media player in an iframe, and hide the iframe.
Aug 7 '08 #2
How do i create and iframe and close it?
Aug 7 '08 #3
nitinpatel1117
111 100+
You can have music playing in the background and then use javascript to change the source file, when someone clicks on a link on your page

The HTML code would be something like the below. I haven't checked if the below code works, but you get the idea. Google it for something like 'website background music' and you'll probably get better answers.

[HTML]<embed src="yourmusicfile.mid" autostart="true" hidden="true">
</embed>
<noembed>
<bgsound src="yourmusicfile.mid">
</noembed>[/HTML]
Aug 7 '08 #4
I use the embed script on some pages. I'm looking for a short line of code that would be included in the a href string of a link that would hide the new window so you can just hear the music or perhaps would make the window small.
Aug 7 '08 #5
Death Slaught
1,137 1GB
You can use JavaScript to create the media player on the fly or to make the music play. Also if you simply want the music to play but for your users not to be able to see the player, all you need is a simple line of CSS.

[HTML]<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" style="display:none;">
<param name="FileName" value="Song.mp3" />
</object>[/HTML]

Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
Aug 7 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: LameX | last post by:
Hi people, Do you know how can I hide an external application window (so it will be visible only in the process list) ? I should know how to find TaskID of the application, so I only need to...
7
by: Danielb | last post by:
I want my application to run most of the time as just an notify icon visible in the system tray, with some dialogs windows that open if the user selects an option from the context menu on the tray...
3
by: Javaman59 | last post by:
I've spent the last 3 years programming VC++, and learnt that Windows programming is all about messages. Now I'm doing C#, and there isn't a windows message to be seen! Now, I don't miss those...
8
by: Jho | last post by:
Is it wise to do the following to hide html source and other info. I plan to do a popup window which would close my existing web page and popup a window in its place without toolbar and...
4
by: =?Utf-8?B?SHVleQ==?= | last post by:
I need to hide the new window started from the code below. If I run as is, the window is visible. If I comment out the code that sets a different user, domain, and password the window is hidden...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.