User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 373,108 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,646 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 394 | Replies: 1
Reply
Join Date: May 2008
Location: kansas
Posts: 9
Reputation: fluffythebunny is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
fluffythebunny fluffythebunny is offline Offline
Newbie Poster

Css javascript question

  #1  
May 5th, 2008
I have made a mouseover layer menu.
Click on the link to keep it open.
The only way to close the layer is to reload the page.
Is there anyother way to do it.

link to script. http://www.stupidharold.com/dani/clicktokeepopen.htm

Page trying to fix. http://www.stupidharold.com/Harold1/acessScripts.htm

I have another question. I am running ie 5.5. So I don't know if the newer browsers
are able to see my pages.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2006
Location: Noida, India
Posts: 151
Reputation: Luckychap is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 16
Luckychap's Avatar
Luckychap Luckychap is offline Offline
Junior Poster

Re: Css javascript question

  #2  
May 5th, 2008
You can declare a global variable to check weather the link is visible or not.


So that you can toggle the appearance of
links by clicking on above link.

Your function will look like that:

var flag = 0;

function hideShowLinks() {
if(flag == 0) {
//code to show the second link

flag =1;
} else {
//Code to hide the second link

flag =0;

}


}
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 5:22 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC