JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignJavaScript Development

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 Dev Shed Forums Sponsor:
  #1  
Old January 21st, 2000, 11:14 AM
btorrey btorrey is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Location: Cambridge, MA 02138
Posts: 2 btorrey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can't figure out if I can call a function inside a layer....it doesn't seem as though I can. What I want to do is open a particular navigation menu inside a layer. It's a Javascript function that opens the menu, and I want to have it open inside a layer that I can turn off or on.... but I can't get the layer to show the function....Here's the situation...

<layer id="layer1" bgcolor="red" visibility="show" width="75" height="188">

<script>
window.showMenu(window.mySubMenu8) </script>

</layer>

Reply With Quote
  #2  
Old February 4th, 2000, 07:42 PM
jmathai jmathai is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Novi, MI, US
Posts: 7 jmathai User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to jmathai
i'm not sure of your exact situation ... but why do you have the javascrpt inside the layer tag? not that there's anything wrong with that ... it's usually good practice to put it in the head.

you can go to my site and look at the script in the source of the center frame. i use layers and visiblity for rollovers.

beware ... the code is pretty ugly.

------------------
Jaisen Mathai
JMathai.com
jaisen@jmathai.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > JavaScript Funcions Inside a Layer


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 4 hosted by Hostway
Stay green...Green IT