Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Floating problem with IE8

ie8

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1 JackomoLight

JackomoLight

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 97 posts

Posted 03 January 2013 - 09:56 AM

Hello guys, I have this website: http://billharvest.co.uk which renders improperly under IE8. Basically the navigation menu appears below the logo in IE8 while it is supposed to appear in the top right corner. I am trying to figure this out and so far \I only know that it's related to how IE8 handles floating elements.


Any help greatly appreciated.

Edited by JackomoLight, 03 January 2013 - 12:17 PM.


#2 Vaielab

Vaielab

    Programming God

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1382 posts

Posted 03 January 2013 - 05:16 PM

The width of byobtshw-header-left and byobtshw-header-left is set to auto.
Change it to a pixel value and it should be working.

You can now stalk me on linkedin: http://ca.linkedin.c...elle/24/b44/88/ !


#3 JackomoLight

JackomoLight

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 97 posts

Posted 04 January 2013 - 02:08 AM

Thanks a lot Vaielab that solved it. However it turns out that I have another problem now. When using IE7 the slideshow on the left-hand side is not being loaded, any idea why that is happening?

#4 Vaielab

Vaielab

    Programming God

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1382 posts

Posted 04 January 2013 - 09:18 AM

Can you tell me what script you are using, and where do you initialise your slideshow (file and line) it will help a lots :P

You can now stalk me on linkedin: http://ca.linkedin.c...elle/24/b44/88/ !


#5 JackomoLight

JackomoLight

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 97 posts

Posted 04 January 2013 - 09:26 AM

Well the slideshow is initialized by the following code:

<script type="text/javascript" defer="defer">
jQuery(document).ready(function(){
jQuery("#ngg-slideshow-2-565-1").nggSlideshow( {id: 2,fx:"fade",width:505,height:474,domain: "http://billharvest.co.uk/",timeout:7000});
});
</script>


and that's the file that manages the main functionality of the slideshow:

http://billharvest.c...min.js?ver=1.06


Thanks

#6 Vaielab

Vaielab

    Programming God

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1382 posts

Posted 04 January 2013 - 11:08 AM

With ie7, I see 3 errors

Expected identifier, string or number scripts.js, Ligne 1403 Caractère 17
Expected identifier, string or number billharvest.co.uk, Ligne 80 Caractère 4
Object expected onload.js, Ligne 5 Caractère 5



The first error:
$.ajax({
			    type: "GET",
			    url: "http://billharvest.co.uk/ajax-api/",
			    data: params,
			    error: function(err) { alert("error: "+err); },
			    timeout: 30000,
			    cache: false,
			    }).done(function( result ) {
					    if ( result.indexOf("success") != -1 ) {}
					    else
							    $('#welcome-screen #todo').prepend("Failed updating settings.");
							    
					    setWelcomeScreenLoading(false);
			    }
	    );    
Can be fixed by removing the comma after cache: false,

The second error, I don't see what it could be.

And the third one, is with the get_parameter_by_name function.
I didn't find where this function was.

But sometime with ie7, just because of a comma, every script will stop working, so try fixing the first one, and with a little bit of luck it will work
If not, try finding the get_parameter_by_name and telling us where this function is and I'll take a look

You can now stalk me on linkedin: http://ca.linkedin.c...elle/24/b44/88/ !


#7 JackomoLight

JackomoLight

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 97 posts

Posted 04 January 2013 - 11:20 AM

You are brilliant mate, removing the comma and wrapping the get_parameter_by_name in try-catch statement did it!! Thanks a lot




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download