473,785 Members | 2,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Jquery Issue

82 New Member
I'm having some trouble with the site I'm developing.

Here is the link: http://www.r2maker.com/r2maker/index2.html

As you can see the fourth image is really buggy and I'm unsure of how to fix it.

Here is the code for that one area only.

Here is my css

Expand|Select|Wrap|Line Numbers
  1. #content{
  2.     width: 922px;
  3.     height: 372px;
  4.     overflow:hidden;
  5.  
  6. }
  7.  
  8.  
  9. #pic1{    
  10.     /* width of space */
  11.     width: 130px;
  12.     height: 370px;
  13.     overflow:hidden;
  14.     float:left;
  15.     border-style:solid;
  16.     border-color: #3e4b5a;
  17.     border-top-width:1px;
  18.     border-right-width:1px;
  19.     border-bottom-width:1px;
  20.     border-left-width:1px;
  21.  
  22. }
  23.  
  24. #pic2{
  25.     /* width of space */
  26.     width: 130px;
  27.     height: 370px;
  28.     overflow:hidden;
  29.     float:left;
  30.     border-style:solid;
  31.     border-color: #3e4b5a;
  32.     border-top-width:1px;
  33.     border-right-width:1px;
  34.     border-bottom-width:1px;
  35.     border-left-width:1px;
  36. }
  37. #pic3
  38. {
  39.     width: 508px;
  40.     height: 370px;
  41.     overflow:hidden;
  42.     float:left;
  43.     border-style:solid;
  44.     border-color: #3e4b5a;
  45.     border-top-width:1px;
  46.     border-right-width:1px;
  47.     border-bottom-width:1px;
  48.     border-left-width:1px;
  49. }
  50. #pic4
  51. {
  52.     width: 130px;
  53.     height: 370px;
  54.     overflow:visible;
  55.     float: right;
  56.     border-style:solid;
  57.     border-color: #3e4b5a;
  58.     border-top-width:1px;
  59.     border-right-width:1px;
  60.     border-bottom-width:1px;
  61.     border-left-width:1px;
  62. }
  63. #picSp1
  64. {
  65.     height:370px;
  66.     overflow:hidden;
  67.     width:5px;
  68.     float:left;
  69.  
  70. }
  71. #picSp2
  72. {
  73.     overflow:hidden;
  74.     height:370px;
  75.     width:5px;
  76.     float:left;
  77. }
  78. #picSp3
  79. {
  80.     overflow: hidden;
  81.     height:370px;
  82.     width:5px;
  83.     float:left;
  84. }
  85. #picSp4
  86. {
  87.     overflow: hidden;
  88.     height:370px;
  89.     width:1px;
  90.     float:left;
  91. }
  92. #menu1{
  93.     /* This is the container for the thumbnails */
  94.     height:45px;
  95.     float: none;
  96.     width: 400px;
  97. }
  98.  
  99.  
and my index.html

Expand|Select|Wrap|Line Numbers
  1.  <div id="content">
  2.     <script type="text/javascript">
  3.     function upSize(){
  4.  
  5.     $("#pic1").animate(      
  6.            {"width": "508px"},          
  7.                  {duration: 500, queue: false}); 
  8.  
  9.     $("#pic2").animate(      
  10.            {"width": "130px"},          
  11.                 {duration: 500, queue: false});
  12.  
  13.      $("#pic3").animate(      
  14.            {"width": "130px"},          
  15.                  {duration: 500, queue: false});
  16.      $("#pic4").animate(      
  17.            {"width": "130px"},          
  18.                  {duration: 500, queue: false});
  19.     }
  20.     function downSize(){
  21.     $("#pic1").animate(      
  22.            {"width": "130px"},          
  23.                  {duration: 500,queue: false});
  24.  
  25.     $("#pic2").animate(      
  26.            {"width": "508px"},          
  27.                 {duration: 500,queue: false});
  28.  
  29.     $("#pic3").animate(      
  30.            {"width": "130px"},          
  31.                 {duration: 500,queue: false});
  32.      $("#pic4").animate(      
  33.            {"width": "130px"},          
  34.                  {duration: 500, queue: false});
  35.     }
  36.     function ThirdSize(){
  37.     $("#pic1").animate(      
  38.            {"width": "130px"},          
  39.                {duration: 500, queue: false});
  40.  
  41.     $("#pic2").animate(      
  42.            {"width": "130px"},          
  43.                 {duration: 500,queue: false});
  44.  
  45.  
  46.     $("#pic3").animate(      
  47.            {"width": "508px"},          
  48.                {duration: 500,queue: false});
  49.  
  50.      $("#pic4").animate(      
  51.            {"width": "130px"},          
  52.                  {duration: 500, queue: false});
  53.     }
  54.  
  55.     function FourthSize(){
  56.  
  57.     $("#pic1").animate(      
  58.            {"width": "130px"},          
  59.                {duration: 500, queue: false});
  60.  
  61.     $("#pic2").animate(      
  62.            {"width": "130px"},          
  63.                 {duration: 500,queue: false});
  64.  
  65.  
  66.     $("#pic3").animate(      
  67.            {"width": "130px"},          
  68.                {duration: 500,queue: false});
  69.  
  70.      $("#pic4").animate(      
  71.            {"width": "508px"},          
  72.                  {duration: 500, specialEasing:{width: "linear"}, queue: false});
  73.  
  74.     }
  75.     </script>
  76.  
  77.  
  78.     <div id="pic1">
  79.         <img src="img/c_left.jpg" height="370" width="508" alt=""  onmouseover="upSize();"  />
  80.         <!-- <img src="img/pic1.jpg" width="720" height="400" alt="" /> -->
  81.      </div>
  82.  
  83.     <div id="picSp1">
  84.     </div>
  85.  
  86.  
  87.     <div id="pic2">
  88.         <img src="img/c_right.jpg" height="370" width="508" alt=""  onmouseover="downSize();"  />
  89.         <!--<img src="img/pic2.jpg" width="720" height="400" alt="" /> -->
  90.     </div>
  91.  
  92.     <div id="picSp2">    
  93.     </div>
  94.  
  95.     <div id="pic3">
  96.     <img src="img/c_center.jpg" height="370" width="508" alt=""  onmouseover="ThirdSize();" />
  97.     <!--<img src="img/pic2.jpg" width="720" height="400" alt="" /> -->
  98.     </div>
  99.  
  100.     <div id="picSp3">
  101.     </div>
  102.  
  103.     <div id="pic4">
  104.     <img src="img/c_4.jpg" height="370" width="508" alt=""  onmouseover="FourthSize();" />
  105.     </div>
  106.     <div id="picSp4"></div>
  107.     </div>
  108.  
Sep 3 '13 #1
3 1436
Dormilich
8,658 Recognized Expert Moderator Expert
I don’t see anything buggy with that image (the dome one).
Sep 3 '13 #2
starlight849
82 New Member
When you hover over the first image on the left and switch back and forth between it and the last image the divs bounce a little and I see that dome picture cut in and out . I'm testing on google chrome and iphone with iOS 6
Sep 4 '13 #3
starlight849
82 New Member
Now I have removed the bounce of the div.. However that fourth image is still blinking when switching back between it and the first image.
Sep 4 '13 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3079
by: poe | last post by:
Hello, I've used the jQuery PNG fix on a website I'm working on, but the PNG images seem to be distorted "only sometimes" in IE6 and IE7. It seems to happen most often when the page is loaded for the first time, i.e., when the browser does not have a cache of the images yet. The website in question is available at http://dev.akeenlabs.com/sharonlaing . Has anyone run into this issue with this particular JavaScript solution or am I just...
1
49885
by: mikeh3275 | last post by:
I'm new to developing in jQuery, so I'm probably doing this wrong. I'm loading a form into a modal dialog box and I'm trying to assign a click event to the button in the form, but I can't seem to get anything to happen. Below is the code. Thanks in advance. jQuery: jQuery(document).ready(function() { jQuery("a").click(function() { jQuery("#dialog").dialog({ modal: true,
53
8418
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script language="javascript" type="text/javascript">
0
2640
by: spoonybard | last post by:
I have an ASP.Net 3.5 VB web application that has a jQuery UI Tab control on it. I am trying to maintain the selected tab through postbacks so I can reselect that tab when the page reloads. In order to maintain the value between postbacks, I am using a Hidden Field. The issue I am running into is that on the first postback, the Hidden Field does not maintain the value I am giving it. However, from the second postback on, it properly manages...
0
2841
by: amskape | last post by:
hi Friends, I need to Upload some files in a Listing , by clicking corresponding Upload link, then a popup window will come with Browse option as Shown in attachment File. My actual need is upload files using that , but I can upload only 1 file there , I need to upload 1 to 5 files at a time based on need . How it can implement. I give my Working code here , in php Help me , if you know any other method to do same that's idea...
2
1593
by: HassanKazmi | last post by:
Hi everyone. I am having an issue with jquery. I have a drag and drop jquery plugin. It works fine when run standalone. but when this drag and drop is called via ajax and being loaded on to the main page it does not work. what could be the reason? I am loading this drag and drop html from jquery function which is given below. function showDD() {
0
1320
by: brixton | last post by:
Hi, I've stumpled upon a very weird issue. The situation is that I'm styling my own file input field, by replacing it with a text field and a button, lying below the original file input, which in turn has been given an opacity of 0. It looks great. However, when a file is selected I want to update my new "fake" text field with the file name. This works, but only when the val() command is preceded by an alert! Code:
5
4900
oranoos3000
by: oranoos3000 | last post by:
hi i read about bind jqeury method general syntax as follow as bind(eventType,data,listener) Establishes a function as the event handler for the specified event type on all elements in the matched set. Parameters
6
2330
by: nataraj jaideep | last post by:
Hi, I am new to jquery, experts please solve this issue and post me a reply. I created a textsizer in css and jquery. The purpose of this is, 1) on webpage there is a link called "textsize", when you click a popup is shown and it contains 3options (increase font, decrease font and reset font). 2) The web page is designed with three column layout, when i click on text sizer only the...
1
3153
by: omar999 | last post by:
hi guys i really dont understand where i am going wrong.I've read countless articles including http://blog.nemikor.com/2009/10/03/using-multiple-versions-of-jquery/ but still having trouble with multiple versions of jquery not working. either the jquery slideshow doesnt work or the jquery ie select width fix doesnt work! rrghhh <head> <link href="/css/styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10329
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10152
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8974
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.