show hide functionality is not working in IE8 and IE7 Bt its working in all the browser
Here is the HTML code - <div class="navigations">
-
<div class="grid_4 consulting" style="margin-left:50px" ><h1> Consulting</h1></div>
-
<div class="grid_4 push_1 engineering" > <h1> Engineering</h1></div>
-
<div class="grid_4 push_2 solutions"><h1> Solutions</h1></div>
-
</div>
-
-
<div class=" grid_16 consulting_dis" style="display:none" >
-
<ul id="list1">
-
<li> Web Development</li>
-
<li> Web Designing</li>
-
<li>CMS Customization</li>
-
<li> Mobile App Development</li>
-
<img src="img/seperater1.png" />
-
</ul>
-
-
<div class="grid_11 content_discription1">
-
<p>As a developer, you're an extremely creative individual. Getting your websites behave in Internet Explorer is
-
<br /> proof enough... you are creative. Even so, you may not have the time or know-how needed to get the design of
-
<br />your site looking as clean as your code. That's OK. I take design as seriously as you take your markup. Have </p>
-
</div>
-
<div class="grid_16 engineering_dis" style="display:none" >
-
<ul id="list1">
-
<li> Web xxxxxxxxxx</li>
-
<li> Web xxxxxxxxxx</li>
-
<li>CMS xxxxxxxxxxxx</li>
-
<li> Mobile App xxxxxxxxxxx</li>
-
<img src="img/seperater1.png" />
-
</ul>
-
<div class="grid_11 content_discription1">
-
<p>xxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxx
-
<br /> proof enough... you are creative. Even so, you may not have the time or know-how needed to get the design of
-
<br />your site looking as clean as your code. That's OK. I take design as seriously as you take your markup. Have </p>
-
</div>
-
<div class="grid_16 solutions_dis" style="display:none">
-
<ul id="list1">
-
<li> Web yyyyyyyy</li>
-
<li> Web yyyyyyyyy</li>
-
<li>CMS yyyyyyyyyyy</li>
-
<li> Mobile App yyyyyyyy</li>
-
<img src="img/seperater1.png" />
-
</ul>
-
-
<div class="grid_11 content_discription1">
-
<p>yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy
-
<br /> proof enough... you are creative. Even so, you may not have the time or know-how needed to get the design of
-
<br />your site looking as clean as your code. That's OK. I take design as seriously as you take your markup. Have </p>
-
</div>
-
</div>
And here is the jquery code - $(document).ready(function(){
-
$(".consulting").click(function () {$(".consulting_dis").show('fast');
-
$(".engineering_dis,.solutions_dis,.services_dis").hide('fast');});
-
$(".engineering").click(function () {$(".engineering_dis").show('fast');
-
$(".consulting_dis,.solutions_dis,.services_dis").hide('fast');});
-
$(".solutions").click(function () {$(".solutions_dis").show('fast');
-
$(".consulting_dis,.engineering_dis,.services_dis").hide('fast');});
-
$(".services").click(function () {$(".services_dis").show('fast');
-
$(".consulting_dis,.solutions_dis,.engineering_dis").hide('fast');});
-
});
I used plug in called jquery.js and also tried for jquery-1.3.2.min.js its working in all the browser except those two ..
Could u plz help me out to over come this poblem.. if possible plz send me the code.
1 5364
Here is the code: - <div class="navigations">
-
<div class="grid_4 consulting" style="margin-left: 50px">
-
<h1>
-
Consulting</h1>
-
</div>
-
<div class="grid_4 push_1 engineering">
-
<h1>
-
Engineering</h1>
-
</div>
-
<div class="grid_4 push_2 solutions">
-
<h1>
-
Solutions</h1>
-
</div>
-
</div>
-
<div class=" grid_16 consulting_dis" style="display: none">
-
<ul id="list1">
-
<li>Web Development</li>
-
<li>Web Designing</li>
-
<li>CMS Customization</li>
-
<li>Mobile App Development</li>
-
<img src="img/seperater1.png" />
-
</ul>
-
<div class="grid_11 content_discription1">
-
<p>
-
As a developer, you're an extremely creative individual. Getting your websites behave
-
in Internet Explorer is
-
<br />
-
proof enough... you are creative. Even so, you may not have the time or know-how
-
needed to get the design of
-
<br />
-
your site looking as clean as your code. That's OK. I take design as seriously as
-
you take your markup. Have
-
</p>
-
</div>
-
</div>
-
<div class="grid_16 engineering_dis" style="display: none">
-
<ul id="Ul1">
-
<li>Web xxxxxxxxxx</li>
-
<li>Web xxxxxxxxxx</li>
-
<li>CMS xxxxxxxxxxxx</li>
-
<li>Mobile App xxxxxxxxxxx</li>
-
<img src="img/seperater1.png" />
-
</ul>
-
<div class="grid_11 content_discription1">
-
<p>
-
xxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxx
-
<br />
-
proof enough... you are creative. Even so, you may not have the time or know-how
-
needed to get the design of
-
<br />
-
your site looking as clean as your code. That's OK. I take design as seriously as
-
you take your markup. Have
-
</p>
-
</div>
-
</div>
-
<div class="grid_16 solutions_dis" style="display: none">
-
<ul id="list1">
-
<li>Web yyyyyyyy</li>
-
<li>Web yyyyyyyyy</li>
-
<li>CMS yyyyyyyyyyy</li>
-
<li>Mobile App yyyyyyyy</li>
-
<img src="img/seperater1.png" />
-
</ul>
-
<div class="grid_11 content_discription1">
-
<p>
-
yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy yyyyyyyy
-
yyyyyyyy yyyyyyyy
-
<br />
-
proof enough... you are creative. Even so, you may not have the time or know-how
-
needed to get the design of
-
<br />
-
your site looking as clean as your code. That's OK. I take design as seriously as
-
you take your markup. Have
-
</p>
-
</div>
-
</div>
-
As a tip, when I am creating some new awesome html/jQuery code, I always start in a test web page without a master page so I can step through my jQuery code if needed. Also, make use of any available 'Format Selection' options in you html designer and if your designer doesn't have an option like this, get a new designer fast as I believe your issue was simply malformed html. I corrected it assuming what I thought you were doing, but if what I did was incorrect, please reply back to me. Your jQuery shouldn't need to change. Also, given the issue I found, I dont think it was a jQuery version issue but I was using jQuery 1.4.1.
Good luck!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Thomas Abraham |
last post by:
Hi,
The following code to show and hide a row works fine in netscape 7 and
IE 6. But everytime the cell is hidden and displayed in netscape, it
adds a new line inside the cell. Please advise....
|
by: bridgemanusa |
last post by:
Hi All:
I have a very long page of html that I want to take portions and hide
them in divs, then show when a link is clicked. I have the hide show
part working when the link is clicked, however...
|
by: asilverpeach |
last post by:
Hey Guys!
Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out.
First,
In the following code clicking on the headers shows the...
|
by: Liquidtouch |
last post by:
I have been searching on this for awhile and cant find anything and playing around with it got me no where. I will start with what I am after and then explain what I have.
I have a table with 3...
|
by: ryrocks |
last post by:
Hi,
Im making a 'contact us' page. The user click on the div, this then reveals another larger div displaying more information giving the effect of the box expanding or dropping down.
I have 3...
|
by: filch |
last post by:
Hi,
I am new to this forum ... so hello to all!
I am trying to get a script working which will show or hide a table based on a user checking or unchecking a parent checkbox. This is the...
|
by: jmeyer5csc |
last post by:
i am using jquery to display a working... div to show the user that the query is doing something.
to show....
Sys.Application.add_init(function() {
...
|
by: Scott McNeill |
last post by:
I have created a form with show/hide on a couple of fields. However, this hidden info is not posting back when I click submit. Can someone help?
Source code
<?xml version="1.0"...
|
by: apssiva |
last post by:
Hello All,
1. First i select the class name in combo box -> using jQuery reload the page.
2. after reload the page, Student name was display in random. so i add two radio button.
1....
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |