JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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 April 10th, 2001, 10:13 AM
s_ashok s_ashok is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Chicago, IL
Posts: 14 s_ashok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
I wanted to know whether anyone knows how to go about the using Applets with layers. I would like to applet ( chat) to slide down from the top frame using layer/div on clicking beside the name and status displayed on the top frame. Will be glad if some one can help me out.

I already have the chat applet working on left frame.

TIA

Reply With Quote
  #2  
Old April 12th, 2001, 12:53 AM
SavageKid SavageKid is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Chennai,India
Posts: 25 SavageKid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to SavageKid Send a message via Yahoo to SavageKid
Lightbulb Savage here

Hi ashok,

Try this

<html>
<head>
<script>
var d;
function scroll()
{
if(document.all)
{
d=document.all['div1'].style;
d.pixelTop+=1;
}
else if(document.layers)
{
d=document.layers['div1'];
d.top+=1;
}
if(d.pixelTop<100 || d.top<100)setTimeout("scroll()",20)
}
</script>
</head>
<body>

<div id="div1" style="position:absolute; width:500; height:500; top:0; left:0;">
<applet code="chat"></applet>
</div>
<p align="right"><a href="#" onClick="scroll()">Scroll</a> </p>
</body>
</html>

If it doesn't work mail me
All the best.

Savage

Last edited by SavageKid : April 18th, 2001 at 06:52 AM.

Reply With Quote
  #3  
Old May 6th, 2001, 11:58 AM
s_ashok s_ashok is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Chicago, IL
Posts: 14 s_ashok User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks a lot. I checked up after a long time for the reply. hence the delay in mailing a reply. let me try it out and get back to you, incase of any further queries

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Applets using DHTML

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap