Web Design Forum: hide Div tag with javascript - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

hide Div tag with javascript

#1 User is offline   ecomshops 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 16-July 08
  • Reputation: 0
  • Experience:Web Guru
  • Area of Expertise:Web Developer

Posted 10 November 2008 - 04:07 PM

Hi, im trying to hide a div tag using a timeout in javascript not having much luck. Any help would be good.

function visVisible(param){
new menusys(param,'visible');
new setTimeout("menusys(param,'hidden')",5000);
}

Regards
James
0

#2 User is offline   alpha7158 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 20
  • Joined: 05-November 08
  • Reputation: 0
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 10 November 2008 - 06:13 PM

View Postecomshops, on Nov 10 2008, 16:07, said:

Hi, im trying to hide a div tag using a timeout in javascript not having much luck. Any help would be good.

function visVisible(param){
new menusys(param,'visible');
new setTimeout("menusys(param,'hidden')",5000);
}

Regards
James

I recomend a free javascript library named scriptaculous
http://script.aculo.us/

your time function would be able to work alongside it to fade things in and/or out even.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users