View Full Version : Continuous Music
Rau J
05-14-2008, 12:48 AM
Hello, I have to design a web page for my class, and I am trying to have the same song play throughout the website. I am using frames, but for some reason, the frameset disappears when I click a link in a drop down menu. How can I fix this? I use Adobe Dreamweaver CS3 if that helps.
The code as it stands is:
<frameset rows="380*,5*" cols="*" frameborder="no">
<frame src="Welcome.html" name="Welcome" scrolling="auto" />
<frame src="background.html" name="bg" frameborder="0" scrolling="no" noresize id="bg" />
</frameset>
Medyman
05-14-2008, 01:29 AM
the frameset disappears when I click a link in a drop down menu.
What's the code to your dropdown menu? Are you setting a target?
I use Adobe Dreamweaver CS3 if that helps.
No, that usually doesn't help. :p
Rau J
05-14-2008, 01:39 AM
<form action="" method="get" name=form1>
<select class=dropdownmenu
onChange="MM_jumpMenu('parent',this,0)" name=menu1>
<option
value=# selected>----------Album Select----------</option>
<option
value="Bobo.html">Honkin on Bobo</option>
<option value="#">-------------------</option>
<option
value="Grip.html">Get a Grip</option>
<option value="#">-------------------</option>
<option
value="Play.html">Just Push Play</option>
<option value="#">-------------------</option>
<option
value="Permanent Vacation.html">Permanent Vacation</option>
<option value="#">-------------------</option>
<option
value="Pump.html">Pump</option>
<option value="#">-------------------</option>
<option
value="Nine Lives.html">Nine Lives</option>
</select>
</form>
and the javascript for it is:
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
Also, I said I was using Dreamweaver incase that was the problem....
Medyman
05-14-2008, 01:48 AM
Please use the [code] tags when adding code to your post.
Read this article (http://www.cs.tut.fi/~jkorpela/forms/navmenu.html#js) for how you should be setting up the select field.
Also, I said I was using Dreamweaver incase that was the problem....
I know...
I was just no-so-subtely stating my opinion on WYSIWYG editors
Rau J
05-14-2008, 01:54 AM
What is "WYSIWYG"? Also, that helps alot!! Thanks so much, I was getting a headache trying to figure it out!
Medyman
05-14-2008, 01:56 AM
What is "WYSIWYG"?
What You See Is What You Get (http://en.wikipedia.org/wiki/WYSIWYG)
Rau J
05-14-2008, 01:59 AM
Ah, I'm still confused as to what you meant, but now I have a new acronym!
Medyman
05-14-2008, 03:03 AM
Ah, I'm still confused as to what you meant, but now I have a new acronym!
lol. WYSIWYG is just the general term for source editors like Dreamweaver. I, personally, don't like them because I think they lead to lazy coding and other compatibility issues. I shouldn't have said anything. Sorry about that.
WYSIWYG have programs, and javascript made ones. You can view one in what your typing to reply to my message. Here is also an example of one:
http://www.dynamicdrive.com/dynamicindex16/openwysiwyg/index.htm
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.