Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$50
IE slider not sliding
Really it is 2 questions, but I believe they are possibly related due to the problem starting at the same time.
There are zero plugins activated on this site.
#1
http://shawn.theanointedone.com/
Below the main slider, there is a small slider that I use for my photogalleries. This slider was working perfectly in all browsers tested IE7+, FF, Chrome etc.
Now for some reason the slider is not working in IE 7,8,9. Basically nothing happens. The really weird part is I did not touch the js code in any way, and frankly this is the most basic js script used on the site.
#2
IE9beta only
For some reason, at the exact same time my navigation buttons started to show up behind the primary slider when you get to the 3rd level of navigation. This only happens in IE9beta.
The code for the navigation and the top slider once again, was not changed in any way.
Problem #1 happens on every computer I have tried, so I know it is a real problem that needs to be fixed.
Problem #2 I have only seen it on my primary computer as I don't want IE9 on any other comps yet. Can others confirm if there is a bug in the navigation z-index?
thanks guys
more questions coming soon.
p.s.
On one individual computer using the latest FF3 series, when you go to the photogallery single view pages, the thumbnail images in the slider do not show up. This has only happened on one computer out of a dozen or so. Any idea why a single computer would do that? I.E. no thumbs show at all (this is just a supplemental question I am curious about, not required at all)
This question has been answered.
shawn | 11/15/10 at 10:56pm
Edit
Previous versions of this question:
11/15/10 at 11:00pm
| 11/15/10 at 11:00pm
| 11/15/10 at 11:31pm
| 11/15/10 at 11:31pm
| 11/18/10 at 3:40pm
| 11/18/10 at 3:40pm
The experts have suggested, on average, a prize of $35 for this question.
(5) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
11/22/10
9:44pmJermaine Oppong says:Hey Shawn, I dont mind helping you. Any links to the page? what next?
- 11/20/10 8:09am
Jermaine Oppong says:Hey Shawn,
Concerning Problem #2, you can solve this by setting a higher z-index with the parent elements by CSS, in this case the primary-navigation div:
#primary-navigation{
position:relative;
z-index: 9999;
}
Or you can use IE conditional comments in the header.php file by setting this:
<!--[if IE]>
<style type="text/css">
#primary-navigation{
position:relative;
z-index: 9999;
}
</style>
<![endif]-->
If you prefer, you can remove the conditional comments all together.
<style type="text/css">
#primary-navigation{
position:relative;
z-index: 9999;
}
</style>
Learn more about conditional comments on Microsoft's website. - 11/20/10 9:11am
Jermaine Oppong says:Concerning Problem #1, there seems to be jQuery conflictions with IE. Open the scripts.js file in the includes/js directory in your theme folder (http://shawn.theanointedone.com/wp-content/themes/custom-canvas/includes/js/scripts.js) and on the first line, place this line of code:
jQuery.noConflict();
Save then refresh and try again. If this does not solve your issue, then replace the scripts.js with the attachment I have here and refresh and try again. Remember to keep the original somewhere else or rename to scripts--.js to prevent it from being recognised :) - 11/20/10 9:20am
Jermaine Oppong says:Sorry I forgot to add attachment as a .zip file. Here it is.
All the best :) - 11/20/10 9:22am
Jermaine Oppong says:Sorry I forgot to add attachment as a .zip file. Here it is. Simply extract and use!
All the best :) - 11/20/10 9:24am
Jermaine Oppong says:Getting problems with the attachment functionality
- 11/20/10 9:24am
Jermaine Oppong says: - 11/20/10 9:26am
Jermaine Oppong says:Having problems attaching .zip files. Resave or rename the attached .txt file as scripts.js and use.
- 11/22/10 2:19am
shawn says:@Jermaine
I tried both the noconflict, and also replacing my script with yours, but neither work in IE.
I re-ran my scripts through jslint, and there are still no errors. I also have no plugins activated, so there seems to be no errors reported anywhere.
any other ideas? - 11/22/10 2:21am
shawn says:I should also mention, that for some reason, my navigation is now working. I did not make any changes, which is even stranger.
- 11/22/10 2:28am
shawn says:got a hint I think, but can't find it..
let me guess, comma last element in an object? :(
- 11/22/10 8:18am
Jermaine Oppong says:@Shawn
I meant to mention that the CSS problem is for IE 7 and below. I did test it with IE8 and IE9beta and it functions as wanted. If you have tested this with IE7 and does not work as required then set this in your CSS(or any of the CSS above in the relevant places):
#primary-navigation{ position:relative; z-index: 9999; }
Concerning Problem #1, I have discovered what the issue is. Its with the disableCustomButtons(carousel) function in scripts.js from line 25 to line 40. What happens is that when the document loads the visible arrow on the left has an id of #mycarousel-next with a disabled attribute set to false while the invisible arrow on the right with id of #mycarousel-prev has 'disabled' set to true.
In IE both arrows have disabled set to 'false', which should not be so, that is why you are experiencing this problem and its from the disableCustomButtons function from line 25 to 40:
function disableCustomButtons(carousel){
var prev_class = 'jcarousel-prev-disabled jcarousel-prev-disabled-horizontal';
if (carousel.first == 1) {
$('#mycarousel-prev').attr('disabled', 'true').addClass(prev_class);
} else {
$('#mycarousel-prev').attr('disabled', 'false').removeClass(prev_class);
}
var next_class = 'jcarousel-next-disabled jcarousel-next-disabled-horizontal';
if (carousel.last == carousel.size()) {
$('#mycarousel-next').attr('disabled', 'true').addClass(next_class);
} else {
$('#mycarousel-next').attr('disabled', 'false').removeClass(next_class);
}
}
My guess would be to try changing line 28 from if (carousel.first == 1) { to:
if (carousel.first == true) {
- 11/22/10 9:00am
Jermaine Oppong says:Actually do not touch line 28.
Change line 31 to
$('#mycarousel-prev').removeAttr('disabled').removeClass(prev_class);
And change line 38 to
$('#mycarousel-next').removeAttr('disabled').removeClass(next_class);
- 11/22/10 11:21am
Jermaine Oppong says:Do this to your original scripts.js file.
- 11/22/10 4:32pm
shawn says:Made the changes and it seems to work just fine.
The only thing I am noticing now is that when using safari, or IE, if I leave it on the homepage for more than a few minutes, the browser crashes and closes. It only happens on my win7 box, where my vista install never has that problem.
I don't see any bugs or errors reported anywhere. Do you see anything that may be causing this? - 11/22/10 7:01pm
Jermaine Oppong says:Funny you would mention that. I experienced a similar problem with IE9 beta when I first visited your page. That was before I began debugging. This has nothing to do with the solution presented to you.
I've left it on the homepage in the major browsers for some minutes and have no crashes. I think it should be better after a while - Im now not experiencing this issue with IE or any other browser, including safari. - 11/22/10 9:46pm
shawn says:Thanks for checking.
If you happen to find something that might be causing the browser crash, please let me know. The only browser crashing on me is Safari, and that is only on this computer, not my others.
Selected as winner as initial problem is solved.
By any chance do you have any ideas on how I can combine some of my js functions? I was told that I am repeating to many functions that run my admin side, but was not told how to combine them together.
- 11/20/10 8:09am
-

Last edited:
11/18/10
12:45am -

Last edited:
11/18/10
3:54am -
Last edited:
11/19/10
12:28pmLawrence Krubner says:Just a reminder to the experts that all previous versions of the question are available. You see, under the question, this text:
Previous versions of this question: 11/15/10 at 11:00pm | 11/15/10 at 11:00pm | 11/15/10 at 11:31pm | 11/15/10 at 11:31pm | 11/18/10 at 3:40pm | 11/18/10 at 3:40pm
Click on any of those links to see old versions of the question.
As near as I can tell, the asker provided links to the site from the beginning. -

Last edited:
11/20/10
6:06pmjuan manuel incaurgarat says:mmm its not what i though
thanksPrevious versions of this answer: 11/20/10 at 6:06pm
This question has expired.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
