April 8, 2013 at 3:20 pm #21910
1. On this page http://s462107297.onlinehome.us/ and any other page that I load a calculator, the slideshow will not operate properly.
2. Also, I would like to restrict the slideshow to a 3/4 column on the homepage. Is this possible?
Thank you very much.April 9, 2013 at 6:25 am #113531
Please remove following line from your custom script:
- it loads the jquery script a second time and it’s not required.
2) If the page uses the fullwidth layout (no sidebar) it’s not possible to change the slideshow width. (Or basically it would be possible but the links on the right will still appear underneath the slideshow and you can’t add your content to the 1/4 column on the right side of the slideshow – thus this mod doesn’t make much sense).
PeterApril 9, 2013 at 1:39 pm #113532
When I remove <script src=”//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js”></script> from the page, the calculators break. When I add it back in, the slider breaks.
Thanks.April 10, 2013 at 7:38 am #113533
I think the main problem is that you’re loading the calculator code at the top (head section) but the jquery script (which is required for the calculator) at the bottom. Move the jquery script to the top or move the calculator script to footer.php and insert it before the closing html tag.April 10, 2013 at 3:05 pm #113534
I see that now. I had a plug in that moved all of the scripts to the footer. I have now disabled that plug in and jquery is at the top of the page again, before the calculator script. But the script still does now work.
When the script is in a plain html page, the script executes perfectly. Very frustrating!
Thank you for your assistance and any further assistance you may be able to give me on this.April 10, 2013 at 3:22 pm #113535
Our theme uses the jquery.noconflict() mode and thus the $ shortcode won’t work. There’re two solutions -
1) Replace all occurrences of $ in your calculator script with jQuery
2) Wrap your code into function and use $ as an alias inside the function scope – compare the second code snippet below “Examples”: http://api.jquery.com/jQuery.noConflict/April 10, 2013 at 5:56 pm #113536
Thank you, thank you, thank you for both your time and expertise.
I did # 1 above and although I have not tested it across all of the browsers yet, so far it works.
You guys are great, and your support is outstanding.
Thanks.April 12, 2013 at 8:03 am #113537