Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mini site IE6&7 jQuery issue

Featured Replies

So I have been putting together a mini site as a test bed for things and also as a place to send people if they ask me what I have done. Since its not much at the moment I thought a small site would be fun.

 

I have an issue though. it works fine (from what I can see) in Firefox, Chrome, Safari and IE8 I even added a PNG alpha transparency fix for IE6. but for some reason IE6&7 wont load the jQuery?? I cant find any reason for this so thought I would post it up and see if any of you kind people would help?? :blush1:

 

I was going to post it in the feedback forum but since all I would get is loads of people telling me it dosent work for them I figured the debut would have to be here!! :pardon:

 

So let me know you thoughts on the design too!

 

Cheers!!

 

www.tobomedia.com

One thing I would suggest:

 

<script type="text/javascript">
$(document).ready(function(){
 $('.nav').localScroll({
    target:'#main',
 duration: 4000,


 });
});
</script>

<script type="text/javascript">$(function(){
		$.Lightbox.construct({
			show_linkback:	false,
			download_link:  false,
			opacity: 0.7,
			show_extended_info: true,
		});
	});
</script>
<script type="text/javascript"> 
   $(document).ready(function(){ 
       $(document).pngFix(); 
   }); 
</script> 

 

Having 3 lots of document.ready() is not going to be helping. Try this:

<script type="text/javascript">
$(document),ready(function() {
$('.nav').localScroll({
    target:'#main',
 duration: 4000,


 });
$.Lightbox.construct({
			show_linkback:	false,
			download_link:  false,
			opacity: 0.7,
			show_extended_info: true,
		});
$(document).pngFix(); 
});
</script>

  • Author

Thanks I had thought there must be another way to call the scripts at once unfortunatly this way of calling them breaks the local scroll plugin?

 

Any more ideas welcome!

 

appreciate the time you took. :good:

Hmm not sure why. Try this:

 

<script type="text/javascript">
$(document).ready(function(){
  $('.nav').localScroll({
     target:'#main',
	 duration: 4000
  });
$.Lightbox.construct({
	show_linkback:	false,
	download_link:  false,
	opacity: 0.7,
	show_extended_info: true,
	});
$(document).pngFix(); 

});
</script>

  • Author

Aha! that worked but still no luck with IE7.

 

Guess it didn't like the extra spaces in the first one?

 

Thanks for the help!

 

Any more suggestions how I can get IE7 to stop throwing up errors??

  • Author

This is getting silly now :( someone must know why IE7 wont work??? I ve tried everything!?

 

Please???

This is getting silly now :( someone must know why IE7 wont work??? I ve tried everything!?

 

Please???

 

It a bit 'jumoy' when i click 'going down', im using firefox. Hope that helps.

On the design: I think its nearly there, bit more work to make it 'pop' - if you know what i mean.

 

gd luck with the issues too!! sorry i cant help on them :p

  • Author

It a bit 'jumoy' when i click 'going down', im using firefox. Hope that helps.

On the design: I think its nearly there, bit more work to make it 'pop' - if you know what i mean.

 

gd luck with the issues too!! sorry i cant help on them :p

 

Thanks Welshhuw. Do you mean Jumpy?? :search:

Thanks Welshhuw. Do you mean Jumpy?? :search:

Yeah sorry - Jumpy!!

 

Is anyone else getting that?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.