Forums
This topic is locked
Javascript dropdown in frames?
Posted 26 May 2006 07:48:45
1
has voted
26 May 2006 07:48:45 Raquel Poh posted:
Well, I created a very wide left frame and now it post as a problem for the information that is in the main frame. By having a smaller main frame, viewers would actually have to scroll alot however, if i were to shorten my left frame in length, there wouldnt be any space for the drop down menu i create in the left frame using dreamweaverMX2004.Questions would be:
1) If i were to take a javascript code for a drop down menu, will it be hiding behind the main frame or will it come out nicely overlapping the main frame?
2) Given the codes to the JS, i was told to paste it in the body tags but when i did it, alll the codes came out LITERALLY!!!
Hellppppppp.....................
Replies
Replied 29 May 2006 11:29:54
29 May 2006 11:29:54 Patrick Woldberg replied:
1) The dropdown will not overlap the main frame, it will probably create a scrollbar in your left frame or it will get hidden behind the main frame. You could probably solve this by using an iframe instead. By playing with the z-index you can let the dropdown overlap the iframe.
2) Do you have the the <script type="text/javascript">//javascript code comes here</script> tags around your code
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Administrator at DMXzone.com, FLzone.net, FWzone.net and DNzone.com
--------------------------------------------------
2) Do you have the the <script type="text/javascript">//javascript code comes here</script> tags around your code
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Administrator at DMXzone.com, FLzone.net, FWzone.net and DNzone.com
--------------------------------------------------