| | |
Css javascript question
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2008
Posts: 9
Reputation:
Solved Threads: 0
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.
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.
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;
}
}
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;
}
}
![]() |
Similar Threads
- vertical alignment question (JavaScript / DHTML / AJAX)
- Question re: education (IT Professionals' Lounge)
- javascript not working for firefox! (JavaScript / DHTML / AJAX)
- Background question (JavaScript / DHTML / AJAX)
- How To Hyperlink Normal HTML page with ASP.NET Page? (ASP.NET)
- HTML form action="env.cgi" question (HTML and CSS)
- The new "haslayout" IE CSS feature - Explained (HTML and CSS)
- Basic hover code question (JavaScript / DHTML / AJAX)
- New Language combines: Asynchronous JavaScript+CSS+DOM+XMLHttpRequest (JavaScript / DHTML / AJAX)
- A CSS Question - Stoping Fonts from Becoming Giants! (HTML and CSS)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: HTML input text size
- Next Thread: how to get result with 3 dropdown multiple selectbox via AJAX and a DB
Views: 633 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxcode ajaxhelp animate api array automatically autoplay beta boarder box bug calendar captcha card cart codes column cookies createrange() css cursor date debugger decimal design developer dom download dropdown element enter error events firefox firehose flash focus form frameworks getselection google gwt html htmlform iframe image() index java javascript javascripts jawascriptruntimeerror jquery jsp listbox maps marquee masterpage menu microsoft mimic mp3 mp4 offline onmouseover parameters php player post problem programming progressbar prototype rating redirect regex safari scale scriptlets search select size sources sql starrating text textarea toggle twitter validation variables w3c web website window windowofwords windowsxp xml xspf





