|
i have two div first div upper then the 2nd div . when first div was close or hide 2nd div automatically move up . please help me regarding this problem .
-- modified at 0:44 Friday 7th July, 2006
|
|
|
|
|
Yes, that sounds correct.
Do you feel that there is a problem with this?
---
b { font-weight: normal; }
|
|
|
|
|
i want to develop a site just like my yahoo .
|
|
|
|
|
I am not familiar with that site, so that conveys no information at all to me.
Even if I familiarize myself with that site, it still brings no clarity to whether you have a question or not.
---
b { font-weight: normal; }
|
|
|
|
|
You can use javascript. Copy the following and save it to an html file and try it out:
<html>
<head>
<script>
function ShowHideDivs(){
var cb = document.getElementById("cb")
var divone = document.getElementById("div1")
var divtwo = document.getElementById("div2")
if (cb.checked == true){
divone.style.visibility ="visible";
divone.style.display = "block";
divtwo.style.visibility ="hidden";
divtwo.style.display = "none";
}
else{
divtwo.style.visibility ="visible";
divtwo.style.display = "block";
divone.style.visibility ="hidden";
divone.style.display = "none";
}
}
</script>
</head>
<body>
<input id="cb" type="checkbox" onclick="ShowHideDivs();" />
<div id="div1">
Here is text inside div1.
</div>
<div id="div2">
Here is text inside div2.
</div>
</body>
The key is to what you are looking for is this part .style.display="none" / "block"
NOTE: The div tags won't show here since I used the code tag. Make sure you wrap div tags around the two sentences with ID=1 and ID=2 respectively.
"Half this game is ninety percent mental." - Yogi Berra
If you can read thank a teacher, if you can read in English, thank a Marine.
M y and h don't work so well due to m addiction to caffeine and m in abilit to to set a cup down uprigt.
|
|
|
|
|
How can I pass attributes from one jsp page to another jsp page using jsp?<br />
<br />
I have seen pages like: <!--a href= "test.jsp? myvar='myvar1'"--><br />
<br />
Can I do this, if it works how do i retrieve the variables that would have been sent?<br />
-- modified at 7:40 Thursday 6th July, 2006
|
|
|
|
|
I already replied to this question in the thread you created yesterday.
If you just ignore the replies that you get, don't you think that people will start ignoring you?
---
b { font-weight: normal; }
|
|
|
|
|
Its cool, i just found out. " does work.
Sorry for posting it twice, i thought i wouldnt get a reply.
Thanks anyway.
|
|
|
|
|
If you didn't think that you would get a reply, why did you post at all?
---
b { font-weight: normal; }
|
|
|
|
|
i Want to add and delete child nodes dynamically when selected .
Can anyone help me .
Thanks in advance.
|
|
|
|
|
|
Hi Friends,
Please let me know if anyone knows the code to disable the right click in a web page.
Thanks,
Vipin
|
|
|
|
|
No, anyone doesn't know that code. You, for an example, don't.
If you meant to ask if someone knows the code, I know for certain that someone does. I, for an example, do.
Why would you want to do that? Is there any specific reason why you would want to reduce the functionality of the browser?
---
b { font-weight: normal; }
|
|
|
|
|
|
If you are trying to hide your HTML or javascript don't bother. Anyone that cares to see it knows all they have to do it turn off javascript in their browser..or use the firefox web developer extension.
"Half this game is ninety percent mental." - Yogi Berra
If you can read thank a teacher, if you can read in English, thank a Marine.
M y and h don't work so well due to m addiction to caffeine and m in abilit to to set a cup down uprigt.
|
|
|
|
|
:(i want to move row up and down through javascript pop-up menu . for example each row have a link "move row" . when i click on "move row" link pop-up menu open with the link "move up" or "move down" to solve this problem help me
|
|
|
|
|
I have 3 asp pages - the first is a search page (call it 1.asp), the second a results page (call it 2.asp), the third a view of a particular result clicked on by a user (call it 3.asp).
Using Javascript to go back from the particular result (3.asp) to the results page (2.asp) - eg javascript:history.go(-1); actually throws me back to the original search page (1.asp) so the user has to select their search criteria again.
Can anyone tell me where I'm going wrong? Be gentle, I've just spent a year on maternity leave with baby-brain
A mum and loving it!
|
|
|
|
|
how are you getting from 1 to 2 to 3?
|
|
|
|
|
Try javascript:history.back(1)
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
did you try something as:
window.location = "page.asp";
I hope it helps.
Thanks.
*** Who said nothing is impossible? I have been doing it for a long time ***
|
|
|
|
|
i want to call javascript function on pop-up menu item or link . how shall i do this ??? for example i have a pop-up menu with aboutus and contact us menu item or link . and i calljavascipt function when user click aboutus link . please help me regarding this problem .
|
|
|
|
|
Hi,
I'd like to use a text box in my web form that accepts and returns RTF format,
but i don't want it to be an activeX control
i don't anything to be prompted to the user when he uses the form so
I think it should be an applet,
so what should i do, and how to solve this problem?
thanx in advance
Regards,
Maher Abu Zer
|
|
|
|
|
Could you please give some more information on what it is that you wana do?
Thank you.
Jason Kataropoulos
Excellence is not an act, but a habit! Aristotle
|
|
|
|
|
ok Jason,
i have a web form that contains two text boxes
first one is to be filled by question name
and the second one is to be filled by question details
question details text box will contain data such as:
Please Enter Your Name, and your last name
i want the user to be able to enter the text and format it in RTF,
then i can take the value from this text box as RTF and store it in database
because i have another vb.net desktop application that reads these data from the database
and displays it as RTF data
thanx
Regards,
Maher Abu Zer
-- modified at 5:47 Thursday 6th July, 2006
|
|
|
|
|
I suggest you just store it as plain text... there shouldnt be a problem displaying it as RTF in your desktop app...
Jason Kataropoulos
Excellence is not an act, but a habit! Aristotle
|
|
|
|