This is the same thread with a different yet related problem, so i didn't want to create a new thread for that..
Basically, i'm creating a main <div> called mholder, with two <div>s inside it (with id's 'slide1' and 'slide2'), which are to be shown/hidden on the click of a button. But what is happening is that in Opera, when I click the button, it doesn't display the 2nd <div>. But when i make a selection around the text there or do something silly sort of, the <div> beneath shows up. It happens only in Opera and it works fine in IE, FF, Mozilla and NN.
The code is here: http://pastebin.com/794061
Here are the screenshots of what is happening: Click here for screenshot
=====The old Problem (Resolved)=====
Basically, i'm creating a main <div> called mholder, with two <div>s inside it (with id's 'slide1' and 'slide2'), which are to be shown/hidden on the click of a button. The problem is that when i set the 'slide1' to hidden (using style="display: none") even 'slide2' dissapears. This is not a JS problem, I think mostly it is a case of mismatched/wrongly nested <div>s.
Please help. Here is the code:
thanks a lot
Last edited by rohan2kool on Mon Sep 25, 2006 4:55 pm; edited 2 times in total
Basically, i'm creating a main <div> called mholder, with two <div>s inside it (with id's 'slide1' and 'slide2'), which are to be shown/hidden on the click of a button. But what is happening is that in Opera, when I click the button, it doesn't display the 2nd <div>. But when i make a selection around the text there or do something silly sort of, the <div> beneath shows up. It happens only in Opera and it works fine in IE, FF, Mozilla and NN.
The code is here: http://pastebin.com/794061
Here are the screenshots of what is happening: Click here for screenshot
=====The old Problem (Resolved)=====
Basically, i'm creating a main <div> called mholder, with two <div>s inside it (with id's 'slide1' and 'slide2'), which are to be shown/hidden on the click of a button. The problem is that when i set the 'slide1' to hidden (using style="display: none") even 'slide2' dissapears. This is not a JS problem, I think mostly it is a case of mismatched/wrongly nested <div>s.
Please help. Here is the code:
| Code: |
|
http://pastebin.com/794053 |
thanks a lot
Last edited by rohan2kool on Mon Sep 25, 2006 4:55 pm; edited 2 times in total
