HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 12th, 2004, 09:48 AM
arif_1947 arif_1947 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 arif_1947 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
z-index and <iframe...> problem

hi,
i m using javascript drop down menu list having z-index 1000. also using <iframe> on the same page. the src attribute of this iframe is another file containing <frameset>.

i set the z-index of <iframe> to -300, of <frameset> to to -500. javascript drop down menu list to 1000 so that menu list must appear on <iframe> .


but the problem is that onMouseover on the mune the appearing menulist is hidden behied the <iframe>.

how can i prevent the menu list from hidden behind the <iframe>.


here is the code:

<td height="254" valign="top" class="td">

<iframe height="100%" width="100%" src="termOfService.html" style="position:absolute;z-index:-300;"></iframe>

</td>

Reply With Quote
  #2  
Old July 12th, 2004, 10:13 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,944 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 10 h 43 m 32 sec
Reputation Power: 98
Hi

Is the menu by any chance created by Response.Write(...) with ASP. If it is, I have experienced problems where dynamically written elements lose there Z-INDEX value all together

MK

Reply With Quote
  #3  
Old July 17th, 2004, 10:50 AM
arif_1947 arif_1947 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 arif_1947 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<iframe> hides javascript menu

hi selwonk,

thanks, but menu is not created by Response.Write()...

the menu is referenced from an external menu.js file. and it's position is absolute.

the z-index value of javascript menu is 1000 so that it can float over/on other html elements but can't float only over/on <iframe>
<frameset>
<frame src="...">
<frame src="...">
</frameset>
</iframe>

please help.
best regards arif.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > z-index and <iframe...> problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT